Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write a qtp script to enter user name & password for flight
reservation login page from excel sheet



write a qtp script to enter user name & password for flight reservation login page from excel ..

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

Post New Answer

More QTP Interview Questions

What is the advantage of associating a procedure with a test object?

1 Answers  


Explain in brief about the QTP Automation Object Model.

0 Answers   Crea,


what r the send key commands in QTP why they r used

1 Answers  


Did you use flatfiles in your projects?At what situation you used it?How can you upload flatfiles?

1 Answers  


how do close the task manager through QTP?

2 Answers  


can u please explain what is the exact difference between qtp8.2 and 9.0

0 Answers  


what is defination of regression testing?

3 Answers  


How to handle Dynamically changing Objects in QTP?

4 Answers  


How to call a test from another test?

0 Answers  


What is DOM

2 Answers  


How can we use the "CreateObject ("Scripting.FileSystemObject")" in QTP and what is the definition and purpose of it?

2 Answers  


What test cases can you automate using QTP?

0 Answers  


Categories