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,sheetid)
pwd=Datatable.value(rowid2,sheetid)
Browser().page().webedit().set username
Browser().page().webedit().set pwd
Browser().page().webbutton.click
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the Test design techniques you uses in ur project?
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
Where can I find and view run-time data table?
How we can import data from database?
Tell me one scenario, the complex functionality you have automated in your project?
How many tabs are available to view your test in a test pane and what are they?
wht type of User defined functions or Java Releated functions do we write in VB scripting
What is the Difference between test object and run time object?
How u will do versioning in QTP?
Explain about the test fusion report of quicktest professional (qtp)?
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
Explain advantages and disadvantages kdf?
What is ObjectParamater?
What is the difference between byref and byval in qtp?
can anyone tell me from where i can download qtp demo or crack version