Properties Library
Answers to yours questions / Exceptions
Last updated
Answers to yours questions / Exceptions
Last updated
Property Name | Property Value | When to use | How it works |
---|---|---|---|
Note : When configuring the tagName, contains, Custom -> Main locator should be configured to match the main click and tagName should match the value.
byValue
TRUE / FALSE
When the user required value is saved in the attribute "value"
When the value was saved in the hidden attribute
It finds the web element matching the with the attribute value == given test data Note : Works only for select tags
byIndex
TRUE / FALSE
When the user required value is in maintained in a fixed index all the time
It finds the web element matching with the given index number in the tets data Note : Works only for select tags
byname
TRUE / FALSE
When the user required value is saved in the attribute "name"
It finds the web element matching the with the attribute value == given test data Note : Works only for select tags
tagName
YOUR TAG NAME
It is a special property when the dropdown is not authentic. Here user has to provied the tagName value. Ex : dropdown has values in "li" tags. Then we have to configure as tagName : li
QATTS frames the XPATH locator internally with the test data given. Finds and clicks the element.
Contains
tagName
TRUE / FALSE
YOUR TAG NAME
This works same as above. The only difference is. When we have the partial text provided in the test data. This will work
QATTS frames the XPATH locator internally with the test data given. Finds and clicks the element.
custom
YOUR_XPATH
When we have to write a complex XPATH and then replace a value inside it using parameterization ${} in the given locator
QATTS evaluates the given XPATH. Finds and clicks the element.