Scripting for authenticated pages
|
09-02-2015, 12:30 PM
(This post was last modified: 09-03-2015 12:29 AM by Uday13.)
Post: #1
|
|||
|
|||
![]()
I am trying to create a script to test the authenticated pages. While using the DOM Elements/attributes for clicking the submit/continue buttons we ran into some code issues. Wondering if there is a way to mimic the enter key feature from the keyboard using the script. We need this for Chrome browser. Below is the script with dummy values:
logData 0 // bring up the login screen navigate https://www.test.com logData 1 // log in setValue name=publicUserId test1234 clickAndWait btn_continue |
|||
09-03-2015, 10:01 PM
Post: #2
|
|||
|
|||
RE: Scripting for authenticated pages
Your best bet is to use javascript and the execAndWait command (instead of clickAndWait). That way you can get it working locally in a browser console and do your debugging there before submitting.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)