you written some code in qtp for opening google.com browser
and entered some text inthe search text box and clicked
search button. this is ur script..
before running this script i have already opened two
google.com browsers.
now am running the script what will happen?
script will run or what??
Thanks...
Nani
Answer Posted / maniram
I Guess this depends on how u have recorded the script.
Case1:
if u have recorded the script with many google
pages(windows) open, as there are many windows open, QTP
identifies the ordinal identifier and stores it in the
repository.
So if we run the script, in this case you will not encounter
any problem even if there are hundreds of such windows.
Case2:
If u have recorded the script with only one google window,
QTP will not store the Ordinal Identifier as it can clearly
identify the window we have specified.
So if we run the script, after opening many google windows,
QTP cannot identify the window in which it has to perform
the operations. so it returns an error.
Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
How the exception handling can be done using quicktest professional?
What are the views available in quicktest professional?
What is an expert view and keyword view?
What are advantages of test automation?
how to write xml output check point bu useing descriptive programing .means without useing output check point
Whether qtp 9.0 supports Test director8.0
How many number of actions possible in qtp?
how to convert 100 into hundred repees only and viceversa
What is the script for database check point, bitmapchek point, regular expression ?
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
Both static and dynamic arrays are handled by the vb script. Is it true?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
Is it possible to call win runner script in qtp?