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 / shaveta
rc=datatable.GetSheet("Global").GetRowCount
For i=1 to rc
datatable.GetSheet("Global").SetCurrentRow(i)
systemutil.Run"C:Program FilesHPQuickTest Professionalsamplesflightappflight4a.exe"
With dialog("Login")
.Activate
.WinEdit("AgentName:").Set(datatable.Value("UID","Global"))
.WinEdit("Password:").Set(datatable.Value("password","Global"))
.WinButton("OK").Click
End With
window("Flight Reservation").Close
Next
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to open a new test using quicktest professional (qtp)?
What is keyword view?
Is it possible to switch between recording modes during a test creation?
Explain different recording modes?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
Which functionalities of QTP used in banking project?
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
What is Associate Repository in QTP 9.2 ?
Is it possible to call win runner script in qtp?
How many types of Automation frameworks are there in UFT? Describe them.
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
What is the purpose of loading qtp add-ins?
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????
What are the different types of functions available in qtp and explain ?