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

Explain Descriptive Programming Types with Examples?

921


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

1634


How to write business scripts using object repository with different scenarios

1384


i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)

1551


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1540






what is the difference betn QTP 8.0 AND PREVIOUS VERSION

1949


Where to use function or action?

667


Explain in brief about the qtp automation object model (aom).

559


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

1760


what r the main attributes of test automation?

1474


How to test fly out menu in qtp?

517


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1412


what is clean sweep?

1881


Explain xml checkpoints.

595


What are the steps involved in recovery scenario wizard?

521