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 extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
What are the 3 main stages involved in testing with qtp?
Can the user toggle between using Local OR and shared OR for the same action?
can any one say that where we can download the QTP trail version ??????????
What are the steps involved in recovery scenario wizard?
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
What is the parameterization? Give one example?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
what is the difference between development and testing
What is the use of ordinal identifier in qtp?
Can we create user defined functions in qtp?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page