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
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 |
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 |
what is the smart identification techniqu?what r the different mechanisums used in it?
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.
WHAT IS SMATR IDENTIFICATION? plz EXPLAIN BRIEFLY? IS IT POSSIBLE in QTP? HOW AND WHEn THE SITUATION U R USING EXPLAIN WITH EXAMPLE?
What are the differences between qtp and winrunner?
What kind of errors can b handled in QTP in real time scenario?
how to test power point using QTP 8.2 ? What are different methods to retrieve value from Application during runtime ?
waht is puirpose of accesbility Check point? waht is the use of Page and XML check points?
how to test Web application using QTP software
What is creation time property and how does it work?
What are the key points to create a framework in QTP for oracle forms?
There is web page with the webtable,this contains some data, how do you manipulate the data.
How to start recording using quicktest professional (qtp)?