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


If 2 gmail browsers are opened in our system, how to enter
the mail id and password into second browser by using
discriptive program?

Answers were Sorted based on User's Feedback



If 2 gmail browsers are opened in our system, how to enter the mail id and password into second br..

Answer / manas

hi samrat..

i think the creation time should be 1 not 2.
why because creation Time starts from 0. (Please refer QTP
user manual )

Browser("creationtime:=1","name:=Gmail").Page
("title:=Gmail").WebEdit("name:=Login").set "hihi"

pls rectify me if i'm wrong.

Is This Answer Correct ?    14 Yes 0 No

If 2 gmail browsers are opened in our system, how to enter the mail id and password into second br..

Answer / samrat

user creationtime
Browser("creationtime:=2","name:=Gmail").Page
("title:=Gmail").WebEdit("name:=Login").set "hihi"

Is This Answer Correct ?    7 Yes 1 No

If 2 gmail browsers are opened in our system, how to enter the mail id and password into second br..

Answer / manjukypa

Hi Samrat,

Pls let me know how to identify the creation time in gmail
web browser?Pls let me know?

Is This Answer Correct ?    1 Yes 1 No

If 2 gmail browsers are opened in our system, how to enter the mail id and password into second br..

Answer / niranjan chandramouli reddy

As the browser with same name is opened later it will be
visible at the top.Hence the index of that browser forms
0.As per the above explanation use the following code:



Browser("index:=0","name:=Gmail").Page
("title:=Gmail").WebEdit("name:=Login").set "hihi"

Is This Answer Correct ?    1 Yes 2 No

If 2 gmail browsers are opened in our system, how to enter the mail id and password into second br..

Answer / nag

your qustn is wrong,your question shuld be like this 2 gmail windows in 1 browser
we can use creation time and micclass hare creation time starts with 0 so for 2nd windoe creation time will be 1
with Browser("creation:=o").page("micclass:=0")
.webedit("name:=login").set "abc"
.webedit("name:=passwd").set "1234"
.webbutton("name:=sign in").click
end with

Is This Answer Correct ?    0 Yes 2 No

If 2 gmail browsers are opened in our system, how to enter the mail id and password into second br..

Answer / samrat

If the object is not unique...QTP will automatically give
the index of the object if using OR...
Else
Use object collecion of a particular type and the u will
get the index... u cant use getroproperty for index..
try to add that object into OR and u will get to know the
index and use that index prop in ur desc prog ..

correct me if iam wrong...

Is This Answer Correct ?    0 Yes 3 No

If 2 gmail browsers are opened in our system, how to enter the mail id and password into second br..

Answer / nag

sorry der is mistake in my above code
your qustn is wrong,your question shuld be like this 2 gmail windows in 1 browser
we can use creation time and micclass hare creation time starts with 0 so for 2nd windoe creation time will be 1
with Browser("creation:=o").page("micclass:=page")
.webedit("name:=login").set "abc"
.webedit("name:=passwd").set "1234"
.webbutton("name:=sign in").click
end with

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More QTP Interview Questions

what is the use of VIRTUAL OBJECTS? explain ?

4 Answers  


In QTP while testing 3 tier application, It is Java Based Application developed using Java, servelets and JDBC etc... and It is a Web based Application.. which Add-In do we need to select while testing ...Java or Web Add-In

6 Answers  


What are the challenges you faced during you entire life automation ?

0 Answers   Tech Mahindra,


How to apporach while starting the automation testing?

3 Answers   Patni,


What are the details steps to connect a remote mysql database in QTP

1 Answers   Verizon,


It is given in the help of QTP 9.2 that we cant debug the scripts. Is there any other way to VIEW, PAUSE and make modifications in the scripts during execution???

0 Answers  


How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words

5 Answers   iGate, Livetek,


How to Analyze the Checpoint results by Checking Bitmaps?

1 Answers  


Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that...

4 Answers   EDS,


QTP supports both client server and Web applications. Does it support Plug-in?

0 Answers  


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

0 Answers  


pls tell me different type of automation frame works in QTP and which one need to select in client server application

7 Answers   Syntel,


Categories