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 save your test using quicktest professional?
How to get popup error message.
What is checkpoint in qtp?
Explain the features and benefits of quick test pro(qtp)?
How many ways is to parameterize the value?
How will internal and external links be validated and updated? how often?
Is it possible to merge two object repository files in qtp?
Explain in brief about the qtp automation object model (aom).
Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
How to use parameterization in qtp?
What are the different types of action?
How to find operating system information using the qtp script?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
can the activities of test case design be automated?