Unplanned
Last Updated: 23 Oct 2018 10:43 by ADMIN
ADMIN
Elena
Created on: 04 Oct 2018 11:30
Type: Feature Request
0
Custom application disregards the Find Logic attribute order and records TagIndexes only
A specific customer application disregards TextContent, id, name, etc., attributes and records elements only using TagIndexes. Any slight change in the structure of the page causes the tests to fail. 

Details shared internally! 
1 comment
ADMIN
Ivaylo
Posted on: 23 Oct 2018 10:43
Please note that when a chained find expression is recorded this is how the find logic is formed: It records the parent element and the child element is always recorded by TagIndex. The order in Project Settings -> Find Logic (html) is disregarded. We have added a slight ability to tweak this. If you add InnerText attribute and move it before the TagIndex in the list, it will record the child element by its InnerText, however if you have multiple elements with the same InnerText this will always locate the first element and in order to make the find logic robust enough it should be edited manually.

Thank you for your understanding.