Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What exactly I should do in QTP when questions Randomly changes.
#1
Not Solved
Hi
I have a scenario to test. I am recording an script for Forgot password in my application. the situation is that while creating an account I have provided three questions and in Forgot Password screen only two questions have been asked and they change randomly each time we visit forgot password screen. now my script has question 1 and Question 2 but when I run the script questions changed as Question3 and question1 but my recorded answers are as per recording. in this scenario what should I do? Can you please help me???

Thanks in Advance
- QA
Reply
#2
Not Solved
Hi,

Instead of going for record and play approach use the Object identifications to add the questions in OR based on the properties of objects.
Use conditions like if to check which question is displayed this time and proceed with respective answers.

Let me know if some more help is required.

Regards,
Sankalp
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Randomly changing numbers mahadevan.swamy 5 4,144 03-29-2009, 08:25 AM
Last Post: sreekanth chilam

Forum Jump:


Users browsing this thread: 1 Guest(s)