Click on web page with datatable

Hello friends
@rkelchuri, @Ninett_Panfir, @Rammohan91, @balupad14, @Florent_Salendres, @vvaidya, @Palaniyappan, @loginerror, @MAHESH1
I need to extract all the rows from the datatable in the web page.
I have inserted the selector Nextlink selector webctrl aaname=‘Vai alla pagina seguente’ parentid=‘regonline-richiesteutente-result-table’ tag=‘A’ /> to scroll all the pages.

At the end of the data extraction the focus is on the last page.
I need to click then on a flog (the italian flag) which cn be located in a page different from the last one.
How to navigate to that page?
Can you please share a xaml?
Cami :slight_smile:

1 Like

Hi cami
kindly use retry scope
where in the condition part use image exists actiivty choosing italy image and get the output with a variable of type boolean named bool_exists
and in the do part use use a try catch activity where in the try block
–use a IF condition and validate the boolean output of the image exists
bool_exists = True
if its true it will go to THEN part where we can use a click activity to click onthe italy image
or it will go to ELSE part where we can use Click activity to click on the next page arrow
–in the catch block use a log message like “exception occured”

hope this would help you

Cheers @CamiCat

Thank you @Palaniyappan,
how to extract the number of pages?