Sie sind auf Seite 1von 29

Preparing to Record

EDUCATION SERVICES

Objectives
After completing this chapter, you will be able to: Understand functional testing. Document the user steps of a business transaction. Identify the application under test and its environment. Understand the QuickTest Professional user interface. Prepare the test environment to utilize QuickTest Professional effectively.

Understanding Functional Testing


Functional testing, which is also known as black box testing, is a quality assurance process. You use functional testing to verify the functionality of the application under test (AUT). Functional testing enables you to verify the following features of AUT: Accuracy Reliability Predictability Security

Approaches for Functional testing


You use the following approaches for functional testing: Manual testing Automated testing

Benefits of Automated Testing


Automated testing offers the following advantages that are not offered by manual testing: Reusability

Consistency
Productivity

Overall QuickTest Workflow

Prepare To Record

Application Under Test

Use Case: Create a Flight Reservation Order


Test Requirements
1. Create a new order. 2. Verify that the Insert done. message appears, confirming that the new order was successfully generated. 3. Document the order number in the test results. 4. Verify that multiple new orders can be created using different departure and arrival cities.

Test Environment Requirements


Check for stability in the application under test. Ensure that the test and tester have permissions to access the Database Host systems Input/output data. Execute the test case steps manually to determine the expected results.

10

Determine the Data to be Used


Interview the Subject Matter Expert (SME) to determine what is valid and what is invalid data for your AUT. Determine the extreme ranges of input data. Decide what should happen when an invalid data is given as input to the application.

11

Prepare to Automate a Test


Determine the initial and end conditions of the test. Standardize naming conventions for tests.

12

Plan Initial and End Conditions

13

Ensure You Are Prepared


Check for the stability of the AUT. Identify the testers who will create tests and test the AUT. Execute the test case steps manually. Check your data. Determine the initial and end conditions of the test. Standardize naming conventions.

14

Launch QuickTest Professional


1. Select the required add-ins. 2. Set the QuickTest Professional options. 3. Establish the record and run settings.

15

Add-in Manager

16

User Interface

17

Missing Resources, Information, and Debug Viewer Panes

18

QuickTest Professional Toolbars

19

QuickTest Professional Options - General

20

QuickTest Professional Options - Active Screen

21

QuickTest Professional Options - Run

22

Record and Run Settings - Windows

23

Launch and Record on a Specified Application

24

Summary
In this chapter, you learned how to: Understand functional testing. Document the user steps of a business transaction. Identify the application under test and its environment. Understand the QuickTest Professional user interface. Prepare the test environment to utilize QuickTest Professional effectively.

25

Review Questions
Now answer these review questions.
1. What is the purpose of loading an add-in? a) To help the performance of QuickTest Professional when it runs. b) To restore the layout of the QuickTest window so that it displays the panes in their default sizes and positions.

c) To enable QuickTest Professional to recognize objects in an AUTs development environment.


d) Both b and c.

26

Review Questions
2. What is the most appropriate Record and Run setting when you expect that the Windows application will be already running on the desktop when the test is starts? a) Record and Run test on any open Windowsbased application. b) Record and Run on these applications (opened on session start). c) Record and Run on applications opened via the desktop (by the Windows shell). d) None of the above.

27

Review Questions
3. What access permissions do the test and tester need to have?
a) Database. b) Host systems. c) Input/Output data. d) All of the above. 4. As a best practice, why should you not select any addin the Add-In Manager? 5. Why do you select Allow Other Mercury Products To Run Tests And Components?
28

Exercise: Preparing the Test Environment

Part 1: Launch QuickTest Professional 9.0 Part 2: Set QuickTest test options

29

Das könnte Ihnen auch gefallen