Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
flight reservation application in qtp download free
#1

flight reservation application in qtp download free

Home Testing
Manual Testing
QTP
Selenium
Mobile Testing
Cucumber
Agile Testing
SoapUI
JUnit
Test Management
Quality Center (ALM)
Test Management Tutorials
TestLink
qTest
TestLodge
Performance Testing
Jmeter
LoadRunner Tutorial
Enterprise Testing
ETL Testing
SAP Testing
Database Testing
Defect Tools
JIRA
BugZilla
Mantis
SAP
SAP - Beginner
SAP - ABAP
SAP - HR
SAP - FICO
SAP - Basis
SAP - SD
SAP - CRM
SAP - MM
SAP - CO
SAP - Payroll
SAP BI
SAP - PP
SAP - QM
SAP HANA
Web
Java
SQL
PL/SQL
VBScript
Python
Perl
Linux
JavaScript
Apache
PHP
AngularJS
Node.js
JSP
SQLite
Must Learn!
Excel Tutorials
Accounting
Ethical Hacking
Cloud Computing
Photoshop
BigData
Digital Marketing
Business Analyst
Project Management
Informatica
HBase
MongoDB
Hive
Cassandra
PMP
MIS
VBA
Live Projects
Live Testing Project
Live Testing 2
Live Selenium Project
Live Selenium 2
Live Security Testing
Live UFT/QTP Testing
Live Mobile Testing
Live Agile Testing
Live HP ALM Exercise
Live PHP Project
Blog
Flight Reservation Application:QTP Tutorial 2

Details
Last Updated: Tuesday, 01 December 2015 16:00


This tutorial introduces Flight Reservation Application which will be used for hands-on for the rest of the tutorials.



Please be patient. The Video will load in some time. If you still face issue viewing video click here
Notes:

Flight Reservation Application comes pre-installed with QTP
Using Flight Reservation , you can book a flight between two cities, even modify or delete and existing booking.
You may also fax a booking to a customer with your custom signature.
Flight Reservation has a Reports and Graphs section which helps analyze the ticket selling trends.
A small number of bookings is pre-populated for any new agent , so that you do not have to create test data.
The application has been designed to help learn all the features provided by QTP.At times , you may find this application buggy but your focus should not be technical accuracy of the application, but on its use as a tool, to learn various features of QTP.

'Script to invoke the Flight Reservation Application
'Checking whether a login screen is opened

If Not Dialog("Login").Exist(0) Then
App_Path = "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"
InvokeApplication App_Path
End If

'Script to login in to the Application

Dialog("Login").Activate
Dialog("Login").WinEdit("Agent Name:").Set "Testuser"
Dialog("Login").WinEdit("Password:").Set "mercury"
Dialog("Login").WinButton("OK").Click

'Script to insert an order and print the Order Number

Window("Flight Reservation").Activate
Window("Flight Reservation").WinButton("New").Click
Window("Flight Reservation").WinObject("Date of Flight:").Type "121212"
Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt"
Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles"
Window("Flight Reservation").WinButton("FLIGHT").Click
Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click
Window("Flight Reservation").WinEdit("Name:").Set "Test user"
Window("Flight Reservation").WinButton("Insert Order").Click
Wait 8
Ord_Num = Window("Flight Reservation").WinEdit("Order No:").GetRoProperty("text")
Msgbox "The Order Number is: "&Ord_Num

'Script to Open an Existing Order
'Here we will assume that the order is already inserted

Window("Flight Reservation").Activate
Window("Flight Reservation").WinButton("Open Button").Click
Window("Flight Reservation").Dialog( "Open Order").WinCheckBox("Check order").Set "ON"
Window("Flight Reservation").Dialog("Open Order").WinEdit("Order Number").Set Ord_Num
Window("Flight Reservation").Dialog("Open Order").WinButton("OK").Click

'Script to update an existing order

Window("Flight Reservation").Activate
Window("Flight Reservation").WinObject("Date of Flight:").Type "111111"
Window("Flight Reservation").WinComboBox("Fly From:").Select "Los Angeles"
Window("Flight Reservation").WinComboBox("Fly To:").Select "Frankfurt"
Window("Flight Reservation").WinButton("FLIGHT").Click
Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click
Window("Flight Reservation").WinEdit("Name:").Set "Test User 1"
Window("Flight Reservation").WinButton("Update Order").Click

'Script to close the Application

Window("Flight Reservation").Close
Reply

#2
hi sir/madam

i need flight reservation download ,

thanks & regards
[size=medium[/size]
Reply

#3
Need flight reservation application to work on QTP
Please let me know on installing flight reservation application.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 iAndrew & Melroy van den Berg.