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 Help Members By Posting Answers For Below Questions

how can we preform retesting(DATA driven test) using function please gine the code for loginpage

2276


In Remote acess server how u run a test?

1288


Can you brief the hurdles you faced during Automation testing?

577


hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u

1333


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 ?

1474






how can we compare descriptive programing with a regular expression

1925


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1547


How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

1811


What is parameter in qtp?

680


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1393


what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com

2317


What is checkpoints for quicktest professional?

551


What are the views available in quicktest professional?

563


How to create a standard checkpoint ?

559


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1502