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
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
When do go for loop condition in test?
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
How will you handle java tree in qtp?
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
Explain the differences between table and db checkpoints?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
Which recording modes need more memory?
Why is Client side image is preferred over server side image?
How will you test a keyboard?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
what QTP Options do you know?
Does quicktest professional (qtp) is unicode compatible?