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 |
How i can use Regular expression in QTP?give detailed steps for it.
What are the main attributes of test automation?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
Hello friends can anybody tell me about the architecture of QTP with diagram of it.this architecture is same for any domain like ERP/Banking/CRM/Healthcare or it's different then please tell me.thanks
Can you give me the code to calculate the total number of Links using the child object in the web page..? is there any other way to calculate number of links with out using the Child objects.??
2 Answers DST Global Solutions,
desribe a situation where u faced a stressful situation and how did u cope with it
Hi. GetRoProperty and OUTPUT Value Both are same purpose or not? plz explain in deatil with example?
In qtp, how you can get the last character from a string?
What is the difference between run time object and test object?
What is the current version of QTP?
what is run-time data?
How we can add actions in the test using QTP?