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
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
tell me abt a time when u had to go above &beyind the call of duty to get the job done
What is Port testing. Whhen will you perform?
What are the different types of functions available in qtp and explain ?
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
What is the difference between the keyword view and expert view?
How do we analyze the checkpoint results?
is there any addin for remedy user application
What are the advantages of a Hybrid framework?
What is the difference between local and shared object repository in qtp?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
What is action?
What is synchronization point in QTP?