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 happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?
What is the syntax for how to call one script from another?
is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
What are the various versions of QTP that have been released so far? Please also mention the year of release for each version
How u call functions in QTP Function to calculate the length of characters in a word -
what is the abbrivation of .mtr in action reposirtory?
How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????
How to find RAM size by using QTP?
What ate the Technologies supported by QTP?
Explain the difference between smart identification and object identification withn clear example. please it is very urgent
Why we load add-ins in qtp?