Current time: 09-23-2020, 08:01 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Test subsequent pages after login page
08-24-2013, 06:42 AM
Post: #1
Test subsequent pages after login page
Can someone tell me if I'm doing something wrong?

What I want is
1) Login from the login page
2) go to a page and start testing


logData 0
navigate http://fake.com/login

setValue name=username fake
setValue name=password fake
submitForm id=login


logData 1
navigate http://fake.com/profile
waitForComplete
Find all posts by this user
Quote this message in a reply
08-24-2013, 08:27 AM
Post: #2
RE: Test subsequent pages after login page
A navigate command has an implicit wait - you shouldn't be using the waitForComplete code at all.

You can try getting rid of the logdata 0/1 commands and starting with a combinesteps command and enable video recording if you want to see what the script is doing for the "hidden" part before re-enabling the logging toggle.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-29-2013, 08:27 AM
Post: #3
RE: Test subsequent pages after login page
Thanks Patrick,

I tried to use the combinesteps, looks like it is combining everything into one view. What should I do if I do not want to include the login page, but the page I 'navigate' afterwards?
Find all posts by this user
Quote this message in a reply
08-30-2013, 04:11 AM
Post: #4
RE: Test subsequent pages after login page
Yes, sorry - combinesteps was just so you could see everything that was going on. Once you get it working the way you want, remove the combinesteps command and put the logdata 0/1 block back in.

There was a problem with the navigate command on the production system that I just fixed which may have been causing the script issues you were seeing.
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: 3 Guest(s)