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 Posted / ruby

For i = 1 to 5
SystemUtil.Run "iexplore","www.gmail.com"
Next
For i = 0 to 4
Browser("title:=Google","Creationtime:=" & i).Page("title:=Google").WebEdit("name:=Usname").Set Datatable("Username")
Browser("Title:=Google","Creationtime:=" & i).Page("title:=.*").WebEdit("name:=Pwd").Set Datatable("Password")
Browser("Creationtime:=" & i).Page("title:=.*").WebButton
("name:=Submit").Click
Next

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between IE & Netscape in web testing on a log in page

1792


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1407


How to check bitmap output value?

629


www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

1502


What is the pros and cons between QTP and Rational Robot

3284






What are the different recording modes and how do they work?

618


Explain the types of properties that quick test learns while recording?

560


If u r using library files (Instead of Check Points) , How do u do bitmap check ?

1455


What are the views available in qtp?

590


Can we run multiple QTP scripts one after the other without manual intervention? How?

598


Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........

1579


What are the features of quick test pro(qtp)?

536


What is expert view and keyword view?

625


What are the features supported by UFT?

671


Hi ,Can any one pleas explain how to test splash objects using QTP?

1907