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...

How to work with multiple browsers when opened in the window,
write the script for it

Answer Posted / nilanjan saha

Hi all,

We can handle the Multiple Browsers with the Creation Time
property of the Browser.

For the Browser we have Creation Time ordinal identifier.
First browser that opened after opening QTP by default gets
Creation Time:=0, next populates with 1,2 and so on...

We can also manipulate this value from Test Object property
window.

e.g:

Let 3 separate browsers are open. To work on the 2nd one we
can come up with following code:

Browser("CreationTime:=1").page("micclass:=page").Image("micclas:=Image","alt:=Continue
to Login").Click
wait(2)
Browser("CreationTime:=1").close

Please let me know if you found anything I missed.

Regards,
Nilanjan

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you test a keyboard?

1105


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

1329


How many types of parameters are available in quicktest professional (qtp)?

1042


What are the common defects found in your project? (in qtp interview)

2067


what is meant by Implicit and explicit requirements?

4106


How the exception handling can be done using quicktest professional (qtp)?

1119


what is the mail use of frame work(with detail). architecture for keyword driven frame work

1894


How to create a standard checkpoint ?

1086


Is it possible to call win runner script in qtp?

1082


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

2317


iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?

2090


What is the meaning Work bench?

2225


Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)

1884


What are the key elements available in test result window?

1194


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1925