Encountered this error:
Whenever i do a Find Children activity on a webpage and filter for uielements found in a list (i.e. the elements i want to find are in <li> tags), the selector generated by the activity for the 1st element is always incorrect.
For example, i set up this webpage, https://www.w3spaces-preview.com/findchildrentest/index.html
And tried to filter for all the <a> elements using the Find Children activity.
The selectors generated in the Find Children activity output are:
<html app=‘chrome.exe’ title=‘Blank template’ /><webctrl tag=‘A’ />
<html app=‘chrome.exe’ title=‘Blank template’ /><webctrl aaname=‘Tea’ tag=‘A’ />
<html app=‘chrome.exe’ title=‘Blank template’ /><webctrl aaname=‘Milk’ tag=‘A’ />
The selector of the link in the first li is not generated correctly - the aaname is missing.
I think the issue lies with the li tags and not the a tags cos even for a list without links, the selector generated for the first li item is different.
This happens to all the webpages i tried my automation on.
I dunno, i think it’s a bug.
The properties of my FIND CHILDREN activity:
You can find the studio files here:
Hope someone can enlighten me on this. Thanks!