I'm looking for something that could click a button associated with a piece of text located directly above or below it, then wait until the page loads, click a link, and repeat a specified number of times then click a different button and repeat.
In case it wasn't clear, this is on a web page. More detailed:
I'd say it could be accomplished with 2 loops: The outer one just loooping the inner one a specified number of times, the inner to do everything else a given amount of times.
The inner one has to do the following:
Click a button among a set of 3 buttons which move.
Example: Text1 Text2 button1
button2 button 3 Text3
Or any rotation of that. Buttons 1-3 have the exact same text on them, but I want to click the button associated with text1 each time (where text1 is directly above or below the button I want to click)
Then after the button is clicked, wait for the page to load, check to see if a given string is found on the page
if the string was found, click a link with a certain text, and repeat.
After the inner loop finishes all its itterations, I would just like the outer loop to click a button that has a unique text on it, and repeat the inner one.
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.