I recorded a Web based Application running on JAVA and when
I went to play them back a week later they didn't run. I
noticed that the Browser was putting in a (Underscore and a
Number) for each line so i re-recorded and noticed the
Underscore line wasn't the same as what i recorded last
week so any script I record today will not work next week
because the browser settings or how QTP recognizes it keeps
changing.
This is the new line
Browser("Bureau of Labor Statistics_4").Page("Bureau of
Labor Statistics").JavaApplet("SurveyApplet").JavaList
("Select an Area").Select "U.S. city average"
This is the old line
'Browser("Bureau of Labor Statistics_3").Page("Bureau of
Labor Statistics").JavaApplet("SurveyApplet").JavaList
("Select an Area").Select "U.S. city average"
Notice the Burearu of Labor Statistics_3 adn Burearu of
Labor Statistics_4. Why does it change and how do I prevent
it from changing.
Answer Posted / bharathi
It will work you just record the whole script once and save
the Object repository. i am also using the record playback
method if u change anything in middle also it is working
for me.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How you are developing the script? Using record and play back or manual?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
What is the purpose of loading qtp add-ins?
Explain quicktest professional (qtp) testing process?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
i can done the project with QTP in that time i can say how many members in my team size?
Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
Describe how Smart Identification is used
What is the quicktest professional (qtp) testing process?
What are the differences between table and db checkpoints?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible