05-28-2010, 08:57 AM
I am a beginner of QTP, I want to test login redirect function on http://www.youplayoff.com/
step 1, open page A (use Data Table "pre_login_page" to test multiple pages)
step 2, click on the [Sign in] button (same position and similar properties(only redirect link is different) on different pages As)
step 3, call an existing log in action
step 4, use a checkpoint to check the current page link is A (use Data Table "pre_login_page")
Questions:
How can I make step 2 and step 4?
For step 2, each iteration will use different page A, then how can I click on [Sign in] from different pages?
For step 4, since step 3 is a call of existing action, and they will return to different pages. How can I get the value of page links for these different return pages?
Thanks a lot! This is my very first QTP test case.
step 1, open page A (use Data Table "pre_login_page" to test multiple pages)
step 2, click on the [Sign in] button (same position and similar properties(only redirect link is different) on different pages As)
step 3, call an existing log in action
step 4, use a checkpoint to check the current page link is A (use Data Table "pre_login_page")
Questions:
How can I make step 2 and step 4?
For step 2, each iteration will use different page A, then how can I click on [Sign in] from different pages?
For step 4, since step 3 is a call of existing action, and they will return to different pages. How can I get the value of page links for these different return pages?
Thanks a lot! This is my very first QTP test case.