how can i parameterize a login page by using database
parameterization i fetch the username and password from
database and put this on login page and click on ok button.
so how can we write script for that code please let me know
asap
thanks
Answer Posted / pravati
Rowcount=Datatable.Getsheet(shtid).getrowcount
for i=1 to rowcount
Datatable.Getsheet(shtid).setcurrentrow(i)
username=Datatable.value(rowid1,shtid)
pwd=Datatable.value(rowid2,shtid)
Browser().page().webedit().set username
Browser().page().webedit().set pwd
Browser().page().webbutton.click
next
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
What is the syntax to call one action in another?
What is qtpro?
How does quicktest professional identifies the object in the application?
How to explain a banking project in interview as a test engineer???
In what occasion we can specify global sheet and action sheet?
How many types of recording modes in qtp?
How to customize qtp?
Hi All, I need code for how to execute qtp scripts from excell sheet
What is test object?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
How can you give wait up to 10 seconds in qtp?
What are the Disadvantages of shared object repository?
Hi,All How to create a link in excel sheet using qtp
how can i pass a "cript"as a parameter in to a function