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
Is QTP supports Unix. If yes, then how the test automation is done?
How to get Traceability matrix from TD?
Your roles and responsibilities and daily tasks? (As automation tester)
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
Who uses qtp tool?
What is the keyword view and expert view in qtp?
What is expert view in qtp?
Hai anyone please "Explain about Framework in QTP?"
we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?
How QTP identify the system time that's changes every seconds?
How do you create new test sets in td?
How can you write the scripts that operate on different objects depending on run-time information?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
What is the use of ordinal identifier in qtp?
How is UFT 11.5 version different from UFT 12.0?