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
How to customize qtp?
How to use the object spy in quicktest professional 8.0 version?
Your roles and responsibilities and daily tasks? (As automation tester)
can the activities of test case design be automated?
How QTP support all types of applications (platforms)?
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
what is stepin & stepout?
Explain the checkpoint in qtp?
Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...
what r the main attributes of test automation?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
whow much strong on VB and C?
What is the diff between image and bitmap check point?