Hi Team,
I am working on web application, It has a list with Many Parent items(dynamic but known names) and expand button beside each of it. I want bot to click on that, after that has to identify which child and grandchild (unknown names) has expand button, based on that it has to click on expand button. If not found in that page, it has to click on Next.
These parent and child names are dynamic.
I am successful for Parent item in using Find children → For Each->Split excel data-> click on expand.[aaname is dynamic, get data from excel]
How to do it for children items as the name beside expand button is unknown? Is there a better method?
I Read thru similar topic Not able to click item in expandable tree menu
in my case need to expand child items or
in short click on expand where ever it finds expand button in the list.
Hi @ddrdushy1, Thanks for the reply.
In parent item i gave aaname (if name similar to excel) it will click on expand button. But in child item I dont know the name of the item beside which there is expand button. So how do i use this?
Pls elaborate
Using Find Descendents
it expanded parent item then got error
Bcoz, the given input in Excel is stored as variable andexpanding only that variable(Parent item), how to give name of unknown child item as variable?
There is only 1 selector for parent item and child item i.e selector of find children.
Find children output is given to for each.
In For each I split the parent names of Excel.
For Each Parent name , Click on expand button.
This click activity selector has aaname
As i know the parent name I have given as aaname in selector. and it is expanding accordingly.
aaname =‘“+Parentname.tostring+”’