Hello , How to click on the first link that appear with regex formula because the title of the first link always change depend on the search , i need steps to pick up the first link and and navigate to
If you are using match activity then you will get only the first result by default…if you are using matches then from the output
Ienummatches(0).Value will give the first matched value
Then we can use open browser or navigate url activities to open the required url
Cheers
Hi @aya.lajili ,
- Try to extract the data into a data table consisting of 3 columns (Link name, Information, URL) with the help of ‘Data scrapping’.
- Once this is done, You can use the ‘filter data table’ activity. With that only keep those rows in which the ‘Information’ column contains your search syntax.
- Now get the URL of first row in your datatable by using below syntax,
URL_var = YourDatatable.Rows(0)(“URL”)
- Use the “navigate to” activity and open that URL.
Let me know if this works for you.
Regards,
Ashutosh Gupta
But data scrapping not working on this site so ?
Could you please share the selector of that link? If possible please open the same in UiExplorer.
Try clicking on this icon and check if it is generating any selector which contains a rowindex or something? If its there then maybe we can use that as an anchor.
Also check if its possible to open that link by clicking on that document icon.
Is ui automation or dedault framework is not identifying the elemnets…
I see you are using active accessibility framework
Cheers
no we can not click on this icon document