Current time: 03-01-2021, 05:48 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Re : Login Script
07-01-2014, 03:30 PM
Post: #1
Re : Login Script

In performance testing we would like to include login scenario also, hence have gone through the scripting document and tried the below script;

Ex :

setValue name=Email some username
setValue name=Passwd some password
submitForm name=signIn

Result :

Login was not successful, sometimes i can able to view the data entered in the input field[i.e; in username & password]. But login will not happening.

Hence could you please assist me with this asap. Can we have any interactive session? so that i can clarify further doubts too.

Thanks in Advance,
Find all posts by this user
Quote this message in a reply
07-02-2014, 04:45 AM
Post: #2
RE: Re : Login Script
Your best bet would be to do the form filling and submit with javascript and use the exec and execAndWait commands. That way you can get the script working in a local dev console before submitting.

Odds are that there is some javascript that needs to run as part of the login form submission so the submitForm command isn't triggering the actual login.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)