Before you begin creating tests, you need to explore the sample application and see what user actions it has and what processes support the application flow.
As you navigate and use the application, consider the questions posed in the previous lesson. Use these questions to guide your thinking about how you could create a test or tests from the application.
Open the flight reservation application.
Open both the Book Flights (GUI) layer and the Flights API (service) layer:
The Book Flights layer is available at Start > All Programs > HPE Software > HPE Unified Functional Testing Help Center > Sample Applications > Flight GUI.
The Flights API layer is available at Start > All Programs > HPE Software > HPE Unified Functional Testing Help Center > Sample Applications > Flight API.
For details on accessing UFT and UFT tools and files in Windows 8.X or higher and Windows Server 2012, see Accessing UFT in Windows 8.X or Higher Operating Systems.
Log in to the Book Flights application.
In the Book Flights application start page, enter John for the user name and hp for the password.
Note: The Flights API layer requires no login information.
After logging in successfully, the application layer display should look like this:
Book Flights (GUI layer)
Flights API layer
Explore the application layers.
For Book Flights layer...
Enter the requested information or selections on each page to follow the reservation process.
As you navigate through the application, consider what user actions you might want to test, and which objects you would need to create to set up your test.
For Flights API layer...
Click the Help button to see a description of the methods included in the application.
As you explore the list of methods included in the application, note the property details provided for each method. You can use this data later when designing a test to provide property values for these methods.
Exit your application browsing session.
For the Book Flights layer: After the flight reservation order details are displayed in the Order Details window, click New Search to return the application to the start.
For Flights API layer: Minimize the Flights API window. Do not close this window, as this will stop the service.
You are now ready to use these applications to create tests for each layer of the application. Continue with Create a solution to create a solution for the tests you will use in the course of this tutorial.