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
How to export quicktest professional results to an .xls file?
Why we load add-ins in qtp?
How can we conduct U-I Testing by using QTP??????
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
Is it possible to call win runner script in qtp?
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
What is a recovery scenario?
How to creating an output value using quicktest professional?
what is the diffrence bw qtp architectute and qtp framework?
What is the basic concept of quicktest professional (qtp)?
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
In qtp, how you can remove the spaces from string?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))