Table of contents

Table of contents
Preface
QF-Test
Tutorial
Feedback
I
Java UI testing with QF-Test
1
Working with a Sample Test suite (Java)
1.1Loading the Test suite
1.2Starting the Application
1.3First Test case
1.4Second Test case - with Error
1.5The Run log for Error Diagnosis
1.6Getting Help
1.7Stopping the Application
1.8A full Test Run
1.9Report Generation
2
Creating your own test suite (Java)
2.1Starting the Application
2.2Recording Actions
2.3Recording Checks
2.4Setting up a test suite
2.5Stopping the Demo
2.6Running the whole test suite
3
Writing a Procedure (Java)
3.1Identifying reusable parts
3.2Manual creation of procedures
3.3Transforming nodes into procedures
4
Components (Java)
4.1Addressing subitems of tables, lists and trees
4.2Windows and components Section
4.3SmartIDs - Addressing components directly
5
Using the Debugger (Java)
5.1Setting a Breakpoint
5.2Stepping Through a Test or Sequence
5.3Skipping Execution of Nodes
5.4Error or Exception triggering Debugging Mode
5.5Resolving Errors directly from the Run log
5.6Pause Execution
6
Variables and Procedure Parameters (Java)
6.1Procedure using a variable
6.2The Variable Bindings table
6.3Advanced debugging of variable bindings
6.4Setting Variables
6.5Variable binding levels
7
The Standard Library (Java)
7.1Inspecting the Standard Library
7.2Selected Packages and Procedures
7.2.1The Checkbox Packages
7.2.2The Combobox/Combo Packages
7.2.3The General Packages
7.2.4The List Packages
7.2.5The Menu Packages
7.2.6The Table Packages
7.2.7The Tree Packages
7.2.8The Cleanup Packages
7.2.9The Run log Package
7.2.10The Run log.Screenshots Package
7.2.11The Shellutils Package
7.2.12The Utils Package
7.2.13The Database Package
7.2.14The Check Package
7.2.15The Databinder Package
8
Control structures (Java)
8.1If - else
8.2Loops
9
It's time to start your own Application (Java)
II
Web UI testing with QF-Test
10
Working with a Sample Test suite (Web)
10.1Loading the Test suite
10.2Starting the Browser
10.3First Test case
10.4Second Test case - with Error
10.5The Run log for Error Diagnosis
10.6Getting Help
10.7Stopping the Application
10.8A full Test Run
10.9Report Generation
11
Creating your own test suite (Web)
11.1Creating the Setup Sequence
11.2Recording Actions
11.3Recording Checks
11.4Setting up a test suite
11.5Stopping the Demo
11.6Running the whole test suite
12
Writing a Procedure (Web)
12.1Identifying reusable parts
12.2Manual creation of procedures
12.3Transforming nodes into procedures
13
Components (Web)
13.1Addressing subitems of tables, lists and trees
13.2Web Component Recognition
13.3Windows and components Section
13.4SmartIDs - Addressing components directly
14
Using the Debugger (Web)
14.1Setting a Breakpoint
14.2Stepping Through a Test or Sequence
14.3Skipping Execution of Nodes
14.4Error or Exception triggering Debugging Mode
14.5Resolving Errors directly from the Run log
14.6Pause Execution
15
Variables and Procedure Parameters (Web)
15.1Procedure using a variable
15.2The Variable Bindings table
15.3Advanced debugging of variable bindings
15.4Setting Variables
15.5Variable binding levels
16
The Standard Library (Web)
16.1Inspecting the Standard Library
16.2Selected Packages and Procedures
16.2.1The Checkbox Package
16.2.2The Select Package
16.2.3The General Package
16.2.4The Table Package
16.2.5The Run log Package
16.2.6The Run log.Screenshots Package
16.2.7The Shellutils Package
16.2.8The Utils Package
16.2.9The Database Package
16.2.10The Check Package
16.2.11The Databinder Package
17
Control structures (Web)
17.1If - else
17.2Loops
18
It's time to start your own Application (Web)
III
Native Windows UI testing with QF-Test
19
Working with a Sample Test suite (Win)
19.1Loading the Test suite
19.2Starting the Application
19.3First Test case
19.4Second Test case - with Error
19.5The Run log for Error Diagnosis
19.6Getting Help
19.7Stopping the Application
19.8A full Test Run
19.9Report Generation
20
Creating your own test suite (Win)
20.1Starting the Application
20.2Recording Actions
20.3Recording Checks
20.4Setting up a test suite
20.5Stopping the Demo
20.6Running the whole test suite
21
Writing a Procedure (Win)
21.1Identifying reusable parts
21.2Manual creation of procedures
21.3Transforming nodes into procedures
22
Components (Win)
22.1Addressing subitems of tables, lists and trees
23
Using the Debugger (Win)
23.1Setting a Breakpoint
23.2Stepping Through a Test or Sequence
23.3Skipping Execution of Nodes
23.4Error or Exception triggering Debugging Mode
23.5Resolving Errors directly from the Run log
23.6Pause Execution
24
Variables and Procedure Parameters (Win)
24.1Procedure using a variable
24.2The Variable Bindings table
24.3Advanced debugging of variable bindings
24.4Setting Variables
24.5Variable binding levels
25
The Standard Library (Win)
25.1Inspecting the Standard Library
25.2Selected Packages and Procedures
25.2.1The Run log Package
25.2.2The Run log.Screenshots Package
25.2.3The Shellutils Package
25.2.4The Utils Package
25.2.5The Database Package
25.2.6The Check Package
25.2.7The Databinder Package
26
Control structures (Win)
26.1If - else
26.2Loops
27
It's time to start your own Application (Win)
IV
Mobile Apps testing with QF-Test
28
Working with a Sample Test suite (Mobile)
28.1Loading the Test suite
28.2Starting and Connecting the Device
28.3First test case
28.4Second Test case - with Error
28.5The Run log for Error Diagnosis
28.6Getting Help
28.7Stopping the Application
28.8A full Test Run
28.9Report Generation
29
Creating your own test suite (Mobile)
29.1Starting the Application
29.2Recording Actions
29.3Recording Checks
29.4Setting up a test suite
30
Create a procedure (Mobile)
30.1Identify reusable parts
30.2Manual creation of procedures
30.3Convert node to procedure
31
Components (Mobile)
31.1Addressing subitems of tables and lists
31.2SmartIDs – direct component addressing
32
Using the Debugger (Mobile)
32.1Setting a Breakpoint
32.2Stepping through Execution
32.3Skipping nodes
32.4Activating debugger mode on error or exception
32.5Resolving problems from the run log
32.6Pausing test execution
33
Variables and Procedure Parameters (Mobile)
33.1Procedure with a Variable
33.2The "Variable Bindings" Table
33.3Advanced Debugging Using the "Variable bindings" Table
33.4Setting Variables
33.5Levels for Variable Definitions
34
The Standard Library (Mobile)
34.1Exploring the Standard Library
34.2Selected Packages and Procedures
34.2.1The Android Package
34.2.2The Utils Package
34.2.3The Check Package
34.2.4The Databinder Package
35
Control structures (Mobile)
35.1If - else
35.2Loops
36
Now it is time to start your own application (Mobile)
V
Advanced features of QF-Test
37
Data-driven Testing: Running one Test case with different test data
37.1Situation
37.2Traditional way of implementing data-driven testing
37.3Data driver concept
37.4Summary
38
Dependencies: Automatically ensuring correct prerequisites for each Test case
38.1General
38.2Ensuring prerequisites
38.3Combining dependencies
38.4Error and exception handling
38.4.1Error handling
38.4.2Exception handling
38.4.3Summary
38.5More about dependencies
39
Automated creation of basic procedures
39.1General
39.2Automated creation of procedures
39.3Configuration of the automated creation
39.3.1Introduction
39.3.2First example
39.3.3Using the current text for checking
39.3.4Creating container procedures
39.3.5Using the current value of child components
39.3.6More configuration capabilities
List of figures