ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How can i open 5 multiple browser at once through QTP VB 
script and i want to login with 5 different credentials i 
already tried with this code but its entering credentials 
only for first browser and am using datatable to 
parameterize
 Question Submitted By :: Shweta
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can i open 5 multiple browser at once through QTP VB script and i want to login with 5 different credentials i already tried with this code but its entering credentials only for first browser and am using datatable to parameterize
Answer
# 1
Using Data parameterization, we can do that or in other 
purpose also

Method1:
var_RowCount = DataTable.GetSheet("Action1").GetRowCount
For i = 1 to var_RowCount
 DataTable.SetCurrentRow(i)
 SystemUtil.Run "iexplore","www.abcd.com"
 uname = DataTable("Username",dtLocatSheet)
 psd = DataTable("Password",dtLocatSheet)
 Browser("index:=0").Page("title:=.*").WebEdit
("name:=Usname").Set uname
 Browser("index:=0").Page("title:=.*").WebEdit
("name:=Pwd").Set psd
 Browser("index:=0").Page("title:=.*").WebButton
("name:=Go").Click
Next 

Method2:
For i = 1 to 5
 SystemUtil.Run "iexplore","www.abcd.com"
Next
For i = 1 to 5
 Browser("index:=" & i).Page("title:=.*").WebEdit
("name:=Usname").Set uname
 Browser("index:=" & i).Page("title:=.*").WebEdit
("name:=Pwd").Set psd
 Browser("index:=" & i).Page("title:=.*").WebButton
("name:=Go").Click
Next
 
Is This Answer Correct ?    0 Yes 1 No
Amarendra Kothuru
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Hi i want to export the data from applicatioon to excel and later i want to import and use it for my scripts hoe can i do this?  1
Is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?  1
Check point what is how many types of checkpoint and explain Accenture2
What is log file? what is the use of Log fine. How to create? what are the contents and the main advantages of log files. plz do help me in this concepts as i have an interivew on qtp in a couple of days. plz do help me.. thanks in Advance.  1
How do you do batch testing in QTP, if so explain?  2
write progamming connecting QTP to database sql? this is question asked by interview? please give sql, pl/sql related answer?pls any answer this? IBM2
What exactly a frame Work means?what are the different type of frameworks done in QTP?why the caption for QTP given as advanced keyword driven? Satyam4
How to get line numbers in your editor in expert view?  2
What is the difference between "call" and "callclose" Polaris1
Hi all, what is the latest version of QTP? CTS8
how you will do cookie testing using QTP?  2
hi all, I have installed QTP successfully on windows vista. I am able to record and run on windows applications, but facing problem with web applications. While recording, I am able to open the web application, but when I click on any object or give login name and password, the events are not getting recorded in QTP. Could anyone solve the problem. Any settings to be done for web applications other than selecting web-addin? Waiting for replies. Thanks in advance.  2
what will be there in keyword view and expert view?  1
hi gavasker i want how to merg OR's in QTP 8.2 by QTP Plus  1
I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loop,my checkpoint is going to fail sometimes.That failed results only I have to log in a file.How it's possible...pls give the solution for this? Wipro5
What are the recording modes and executing modes avialble in QTP? Polaris3
What is the exact difference bet function and action in QTP Anybody can explain it in detail..Thanks in advance.. Wipro9
Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). Pls anyone, very urgent  1
what is the long form of QTP ?  2
What is the Limitations of Testing ? TCS3
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com