I have a table like this on web page
I want to click the respective arrow in the left column on the basis the second column text contains MILEM
According to the screenshot first 5 arrows should be click one by one as the right hand side respective column contains MILEM text in it.
Hi,
To click on arrow next to given text Anchor Base activity should be helpful
To detect all rows with MILEM you can use find children activity
@Ishan_Shelke ,
You can scrap the table , so that you will get the datatable, loop the datatable using for each row in datatable activity,
Then check if currentrow(“NonFG ID”).tostring.contains(“MILEM”)
if yes , then give a click activity with respect to the loop index, pass the index variable to the selector of click activity. there will be "idx " give idx=“Index”
HI @Ishan_Shelke
Another workaround
You have a search option above right
so what you can do is
Method 1
Data scrapp the table you shown there
Loop through the rows
If Condition CurrentRow(0).Tostring.Contains(“MILEM”)
True means Type that String “MILEM014493”
Then make a click on the arrow , you can keep the selectors to click the first one
False leave it empty
Or Method 2
in the filter option
Check if you have anything to filter like MILEM in a dropbox or something
After filtering Data scrapp the table filtered there
Loop through the rows
Clcik on one by one and this requires dynamic selector with the idx attribute
Studio - Dynamic Selectors .
Hello Everyone,
Checkout this tutorial for knowing about a Dynamic Selector.
What is a Dynamic Selector?
Here are the Steps
In this example i am using a dynamic selector with the text attribute , you can use what ever the attributes based on your project needs
Step1:
Add Assign Activity and use the text in which you need to use in your dynamic selector
[image]
Step2:
Open UI Explorer in Click Activity or any that represents a action in the ui element and indicate on screen and check…
Hope this Helps
Regards
Sudharsan
system
(system)
Closed
October 20, 2022, 12:01pm
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.