Export the data next next page?


in this website multiple pages there i need one by one page data will be export using while loop how to work kindly share workflow

Hi @domsmgtmeet22

Give a try with the below steps,
→ Take an assign activity and create a variable called Bool_Next which is boolean datatype.

- Assign -> Bool_Next = True

→ After Assign activity use the while activity and give below expression,

- While -> Bool_Next = True

→ Inside the while activity insert the Get activities to scrap all the data.
→ After Get Text activity use the Element exist activity and indicate the Next page button which is like this in your image >. Pass the Bool_Next variable to the output of Element exist activity.
→ After Element exist insert the If activity to check the below condition,

- Condition -> Bool_Next = True

→ Inside then block insert the Click actitivity and indicate the Next page button.

By following the above steps, the bot will scrap the data in every page and If next button exist it will click and continue with the next page. At last bot enters to last page no next button exist then it will come out of while loop.

Hope it helps!!

kindly share example workflow i am in new to this field

How can I do the workflow… @domsmgtmeet22

This is the web application with out accessing the web application how can I indicate and develop the workflow. Try to do it with your own by following the above steps. If not possible then share the web application URL it was public.

Hope you understand!!


i need this kind of sample template

@domsmgtmeet22,

Use Check app state activity to determine if the next button is still enabled. If enabled or clickable, continue executing the loop by clicking on the next button.

Thanks,
Ashok :slight_smile:

Okay sure… @domsmgtmeet22

Check the below workflow image for better understanding,

Hope you understand!!

its working good finally end page how to woking

I hope you find the solution for your query, If yes Make my post Mark as solution to close the loop… @domsmgtmeet22

Happy Automation!!


finally showing this error

working over through all the process it was showing in the last page… @domsmgtmeet22

Can you share your workflow.



Don’t indicate the Anchors for the Click activity which you are using to click the next page… @domsmgtmeet22

Just indicate the next page as Target.

not working this last page

where it was throwing error at the starting page only or at the last page… @domsmgtmeet22