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


I have a login page like username, password and login. I
have to pass the 50 user names and 50 passwords but
how can i test this page with out using parameters?

Answers were Sorted based on User's Feedback



I have a login page like username, password and login. I have to pass the 50 user names and 50 pass..

Answer / dinesh1433

UserName="user1,user2,,,,,,user50"
Password="pass1,pass2,,,,,,pass50"

arrUserName=Split(UserName,",")
arrPassword=Split("password,",")

For i=0 to 50

systemutil.run "iexplore.exe","gmail.com"

Browser("index:=0").page("index:=0").WebEdit("name:=username").set arrUserName(i)

Browser("index:=0").page("index:=0").WebEdit("name:=password").set arrPassword(i)

Browser("index:=0").page("index:=0").Webbutton("name:=login").click

Browser("index:=0").page("index:=0").close

Next

Is This Answer Correct ?    0 Yes 0 No

I have a login page like username, password and login. I have to pass the 50 user names and 50 pass..

Answer / venkat qtp

window(login).winedit("agent name").set datatable("username",1)
window("login").wineidt("password").set datatable("password",1)
window("login").winbutton("ok").click


here

edit on datatable name

username password

venkat mercury
sita mercury
lakshmi mercury
rani mercury
ramu mercury
krishna mercury
ravi mercury
..........

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More QTP Interview Questions

what is the smart identification techniqu?what r the different mechanisums used in it?

2 Answers   Accenture,


Hi friends, I have heard that it is required to have an application hosted in the same machine where we use QTP. Otherwise QTP may identify the objects incorrectly. Please clear me is it true.

3 Answers  


WHAT IS SMATR IDENTIFICATION? plz EXPLAIN BRIEFLY? IS IT POSSIBLE in QTP? HOW AND WHEn THE SITUATION U R USING EXPLAIN WITH EXAMPLE?

3 Answers  


What are the differences between qtp and winrunner?

0 Answers  


What kind of errors can b handled in QTP in real time scenario?

2 Answers   AZTEC,


how to test power point using QTP 8.2 ? What are different methods to retrieve value from Application during runtime ?

3 Answers   HCL,


waht is puirpose of accesbility Check point? waht is the use of Page and XML check points?

1 Answers  


how to test Web application using QTP software

0 Answers   Google,


What is creation time property and how does it work?

1 Answers  


What are the key points to create a framework in QTP for oracle forms?

0 Answers  


There is web page with the webtable,this contains some data, how do you manipulate the data.

2 Answers   Tech Mahindra,


How to start recording using quicktest professional (qtp)?

0 Answers  


Categories