I have to search for an element dynamically from this list as shown in the picture and click on it. Suppose that the name of the element to be clicked is stored in a string variable. I have to search each page for the element by clicking on next page every time till I find the element.
How do I automate this?
- Make a do while loop
- Insert a element exists activity, searching for your text
- If it’s not found, click on next page and simultanously use that condition to continue the loop
- If it’s found, insert a click activity
That should do the trick, but there might be better ways You do need to add another condition to end the loop at the last page, btw.