write a qtp script to enter user name & password for flight
reservation login page from excel sheet
Answer Posted / mudaseer
Set xl=createobject("excel.application")
Set wb=xl.workbooks.open("C:\hello.xls")
Set ws=wb.worksheets(1)
un=ws.cells(1,1)
pwd=ws.cells(1,2)
wb.close
xl.quit
systemutil.Run "C:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe"
With dialog("login")
.WinEdit("Agent Name:").Set un
.Winedit("Password:").Set pwd
.WinButton("OK").Click
End With
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
can u please explain what is the exact difference between qtp8.2 and 9.0
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
How to export quicktest professional (qtp) results to an .xls file?
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
Connect to QC using AOM.
What are metrics and matrix?
How will you test a keyboard?
What is quicktest professional (qtp window?
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
In qtp, how you can get the last character from a string?
Explain hybrid framework with advantages and disadvantages?
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
how to post xml data from QTP scripts to any application?
How to use the object spy in quicktest professional 8.0 version?
What are the major/ important methods, functions in QTP we use realtime testing