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
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
What is action?
Differences between text and test area checkpoints?
what is run-time data?
What is optional step in qtp? How you can add optional step in qtp?
Explain object spy in qtp.
how to find that tools work well with your existing system?
How to handle dynamic objects in quicktest professional (qtp)?
Through array we can execute the testcase how ? give me example
Name the different types of recording modes?
whow much strong on VB and C?
What is Test Fusion Report in QTP?
please post the interview questions for QA position in FACTSET
after click on compose mail how can we attached a file in qtp with vbscript code
Analyzing the checpoint results?