I'm trying to create a simple login script. Every time I use the Record feature to create the Macro, I get this same script that is created. When I run, the script, however, I receive the following error: RuntimeError: element INPUT specified by ID:Username was not found, line 6 (Error code: -921). Having looked through the forums, I've also tried to change the script so that it only looks at input, rather than INPUT:TEXT and tried various other Tag combinations to no avail. Any help with this is greatly appreciated.
I've tried this using Firefox 40.0.3 and Google Chrome 45.0.2454.85 m on Windows 7 and get the same error for both.
The website where I'm trying to login is: http://www.princetonreview.com/. Then click Sign In, and then enter values for username and password. It doesn't seem to be able to find the username field box for some reason when rerunning the macro...
The script created from running "Record" is:
Code: Select all
VERSION BUILD=8920312 RECORDER=FX TAB T=1 URL GOTO=http://www.princetonreview.com/ TAG POS=1 TYPE=SPAN ATTR=TXT:Sign<SP>In FRAME F=3 TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/account/signin?modal=1 ATTR=ID:Username CONTENT=testval SET !ENCRYPTION NO TAG POS=1 TYPE=INPUT:PASSWORD FORM=ACTION:/account/signin?modal=1 ATTR=ID:Password CONTENT=testval2
Again, any help is greatly appreciated. Thank you.