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
Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know
assume i have few url link how will i dynamically call then using descriptive programming?
Where we can use the analog mode and where we can use the low – level mode?
How many types of status are there?
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
wt is the use of multiple questions in QTP
your coming from electrical backgroung..but y ur coming to software side?
how to test Web application using QTP software
What is the difference between analog and low level recording?
Who uses qtp tool?
Explain how you can replace string in qtp?
How to analyzing the checpoint results?
What is use of object spy?
What is checkpoints for quicktest professional (qtp)?
How do I get the QTP scripts result in xml format by using vb script function?