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 |
How you will rate urself in QTP in the range of 0 to 5
What are the types of data tables in qtp?
what is main diff of qtp8.2 and qtp9.0?
for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
what is smart identification in qtp? pls any give details? thanks in advance
How can you pass value one action to another action?
1. In build1 there is a page with two check boxes and a submit button. You have prepared a script for that page and its working fine. In Build 2 the developers have added two checkboxes in the page. Will the script prepared for Build 1 work for Build 2 or not. If yes, why and if No, why. Remember the developers have not touched the object properties of the textboxes in the page.
How to import a test case present in ".xls" file to TD under a Test set?
What is the entry criteria and exit criteria for your test automation
what is the difference between seat and concerent licenses.
how can i replace any text from the qtp script with some anothere text
HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?