Properties Library
Answers to yours questions / Exceptions
Property Name | Property Value | When to use | How it works |
---|---|---|---|
byValue | TRUE / FALSE |
| It finds the web element matching the with the attribute value == given test data Note : Works only for select tags |
byIndex | TRUE / FALSE |
| 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. |
|
| 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. |
Note : When configuring the tagName, contains, Custom -> Main locator should be configured to match the main click and tagName should match the value.
Last updated