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
what are the limitations of smart identification in qtp 9.0
Tell me about your project? please help me how to tell about insurance project
How to remove the associated function library?
How to open a new test using quicktest professional (qtp)?
What is the differences between image check point and bit map check point?
How many types of recording modes are there?
What is action split and the purpose of using this in qtp?
How to create scenario selector
Have you used xml check point in your project?
What is the registration process and examination fees?
How many types of recording facility are available in quicktest professional?
How to define array in qtp?
what is the frame work in J-meter?
how to test use the quality control .how to verify the image verification
Which environments are supported by hp qtp?