Tom's Hardware > Forum > Applications > Programming > Is this possible?(script related?)

Is this possible?(script related?)

Forum Applications : Programming - Is this possible?(script related?)

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

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.

What do you guys think? Is this possible?

Sponsored Links
Register or log in to remove.

Should be, but sounds like your trying to launch a DoS attack...

Reply to surrealdeal

No, no attack or anything like that. It's just something that would be useful and save me some time doing the same thing over and over again.

Reply to DrSatan316

HTML parser? output to perl / what have you?

Reply to surrealdeal

Could you give me some on what to use?
I haven't ever used scripts before, but have done quite a bit of coding in java, vb, c++, and c#

Reply to DrSatan316
Tom's Hardware > Forum > Applications > Programming > Is this possible?(script related?)
Go to:

There are 1304 identified and unidentified users. To see the list of identified users, Click here.

Please mind

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.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them