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
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
When do go for loop condition in test?
What are parameterizing tests?
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
Generic function to search for the unique link in webtable and click on it
What is QTP and the use of QTP in TD?
How to export quicktest professional results to an .xls file?
Explain in brief about the quicktest professional (qtp) automation object model?
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
how to convert 100 into hundred repees only and viceversa
What are the different types of recording modes?
in a web page How to check and display a particular word from a paragraph?
What is parameter in qtp?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
Hi All, I need code for how to execute qtp scripts from excell sheet