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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How many ways we can parameterize data in quicktest professional?

553


What is a reusable action?

574


How you will rate urself in QTP in the range of 0 to 5

1743


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

1573


Explain the qtp test phases.

614






Dis advantages of XML checkpoint ?

1575


Explain how qtp identifies object?

605


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1358


When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2487


What is TOM in QTP?

1804


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1636


Explain the check points in quicktest professional?

537


How can i check items sorted or not in a weblist ? Give me the script for this...

1571


QTP script is not working on other's machine..

1531


Name the properties you would use for identifying a browser and page when using descriptive programming?

520