Skip to content

Verify attribute

gcvfi edited this page Feb 1, 2020 · 2 revisions

Back to Verify | AIQ Commands | Home


Note: Draft content, work in progress, not yet reviewed or verified.


Statment

Verify name/placeholder/data-toggle/value/class/type/any-attr of {xpath: "xpath"} is "some value"

Test Steps

Test Steps Data
open website https://public.internal.autonomiq.ai/
verify name of {xpath: "//input[@id='username']"} is "username"
verify name of {xpath: "//input[@id='username']"} is "test"
... ...
... ...
... ...
Test Step Test Data
open website https://login.salesforce.com/
verify class {"xpath": "//*[@id='username']"} is "input r4 wide mb16 mt8 username"
verify name {"xpath": "//*[@id='username']"} is username
verify type {"xpath": "//*[@id='username']"} is email
verify value {"xpath": "//*[@id='Login']"} is "Log In"
verify {"for": "//*[@id='login_form']/div[3]/label"} is "rememberUn"
... ...
... ...
... ...

Clone this wiki locally