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
when will you do debug your script? and explain that process?
How will you report the bug and explain the defect tracking sheet you handled?
I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.
What is checkpoint in qtp?
Explain qtp(quick test professional)?
How to use conditional loops in qtp ?
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
Can the user toggle between using Local OR and shared OR for the same action?
Can we record using all the modes in a single script? Explanation with example is appreciated
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
can any one say that where we can download the QTP trail version ??????????
how to explain a claims and insurance project?
Explain different types of checkpoints?
How to interact tool & application build in QTP?
what is profile tool?