can i login a page by giving username and password and click
on ok button through database parameterization.and if its
yes then please write the code of that
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
Next
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Differences between quicktest professional (qtp) and winrunner?
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
How many tabs are available in debug viewer pane?
In qtp, explain what is qrs file?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
How smart identification works in qtp ?
How many types of parameters are available in quicktest professional?
How to find the name of the machine where you are running your automation scripts in qtp?
Is it possible to switch between recording modes during a test creation?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
What are the ordinal identifiers in web page?
what is the difference btn risks & Therads in the Test plan documentation?
How to customize checkpoints with parameters?
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak