Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



you written some code in qtp for opening google.com browser and entered some text inthe search tex..

Answer / 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

you written some code in qtp for opening google.com browser and entered some text inthe search tex..

Answer / rajendra prasad reddy

Yes Nani even if u opend google the browser,if run another
script,script will open another web page and performs
wat ever u wrote in that script.

For example i am providing a script for opening a
google.co.in web page and seraching for 'search' on goolge.
Code:

Set IE = CreateObject("InternetExplorer.Application")
IE.Navigate "http://www.google.co.in"
IE.Visible = True
Wscript.Sleep 8000
IE.Document.All.Item("q").Value = "serach"
IE.Document.All.Item("f").submit()

Copy above code in notepad abd save it serach.vbs on desk
top.

then click on file after saving it desk top.

this scripts runs and opens goog.co.in web page.
if u click once again it will open again a web page.

If u have any doubt please mail me

byee
Rajendra Prasad Reddy
rajendra_penumalli@yahoo.com
Test engineer
Hyderabad

Is This Answer Correct ?    6 Yes 2 No

you written some code in qtp for opening google.com browser and entered some text inthe search tex..

Answer / kishore

Google Browser does get opened and the script execution
stops there

Is This Answer Correct ?    1 Yes 3 No

you written some code in qtp for opening google.com browser and entered some text inthe search tex..

Answer / priya

For example if 2 google browsers are open, QTP considers
the first opened google browser during test run and
completes the test successfully

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More QTP Interview Questions

What is the use of Accessibility check point?

3 Answers  


Whenever we r keeping mouse pointer under the image we r getting image name. In qtp how can we do this thing.weather that name is coming or not?

5 Answers  


My Project is HOSPITAL CONTROL SYSTEM. In this MY testing modules are In-patient and Out-patient. plz explain those modules. i.e. How explain to Interviewer. with full details also . Waht types of bugs we can fond ? NOTE : IT is a web project plz urgent.

2 Answers  


How to do Laod testing for web based Application?

1 Answers  


With what extension you can save the list of tests in a file to run in test batch runner?

0 Answers  


Explain types of exception handling and script for that?

2 Answers  


I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?

0 Answers  


In Manual testing , can u prpare bug report in TD?

1 Answers   TCS,


how to test use the quality control .how to verify the image verification

0 Answers   Wells Fargo,


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

0 Answers   Livetek,


When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)

3 Answers  


What is the function of Filter in QC . give with a real time example.

1 Answers   TCS,


Categories