write a qtp script to enter user name & password for flight
reservation login page from excel sheet
Answer / 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 |
What is the advantage of associating a procedure with a test object?
Explain in brief about the QTP Automation Object Model.
what r the send key commands in QTP why they r used
Did you use flatfiles in your projects?At what situation you used it?How can you upload flatfiles?
how do close the task manager through QTP?
can u please explain what is the exact difference between qtp8.2 and 9.0
what is defination of regression testing?
How to handle Dynamically changing Objects in QTP?
How to call a test from another test?
What is DOM
How can we use the "CreateObject ("Scripting.FileSystemObject")" in QTP and what is the definition and purpose of it?
What test cases can you automate using QTP?