Ok I'm sure I'm missing something obvious....I've tried various things which didn't work so finally just going to ask.....the following code goes to a site and clicks the first link that matches the wildcard then submits a form...it then stops.....what it should do is loop back to the original page and process the next link in the loop. What am I missing?
- Code: Select all
VERSION BUILD=8601111 RECORDER=FX
TAB T=1
URL GOTO=http://www.somesite.com/
SET !LOOP 1
TAG POS={{!LOOP}} TYPE=A ATTR=HREF:http://www.somesite.com/entry.cgi?id=*
SET !VAR1 {{!URLCURRENT}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://www.somesite.com/submit.cgi ATTR=NAME:username CONTENT=someone@somewhere.com
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://www.somesite.com/submit.cgi ATTR=NAME:realname CONTENT=Someone<SP>Somewhere
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:http://www.somesite.com/submit.cgi ATTR=*
WAIT SECONDS=10
SAVEAS TYPE=PNG FOLDER=* FILE="{{!VAR1}}.png"