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 / karunesh
For the above problem use the Dscripive programming
with Regular expression
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is meant by Implicit and explicit requirements?
Can we run test with out adding object in object repository? How it is possible?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
What contains Data Driven Framework document in qtp?
How to test results for qtp ?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
Is it possible to change the property value at runtime? How it is possible?
terminal services client
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
Explain runtime dynamic settings?
How do you check ticket cost and ticket number in flight application?
Is any limitation to xml checkpoints?
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
Output values? i want a practical example
What do you to script when objects are removed from application?