Table of contents
Table of contents
List of figures
I
Java testing with QF-Test
1
Introduction [5 min]
Feedback
2
Working with a Sample Test-suite [30-45 min]
2.1Before you start
2.2Starting QF-Test and Loading the Test-suite
2.3Starting the Application
2.4Clickstream Test-case
2.5A Few Tips
2.6Text Check
2.7Checking a Radio Button
2.8Stopping the Application
2.9The Complete Test
2.10Report Generation
3
Creating a Test-suite [45-60 min]
3.1Introduction
3.2Starting the Application
3.3Adding a Clickstream Test
3.4Building a Test-suite
3.5Adding a Text-Check
3.6Checking Business Logic
4
Using the Debugger [30-45 min]
4.1Introduction
4.2Starting the Debugger
4.3The Debugger Window
4.4The Current Node versus the Selected Node
4.5Stepping Through a Test or Sequence
4.6Skipping Execution of Nodes
4.7Setting Breakpoints
4.8Resolving Run-Time Problems
4.9Jump to Run Log
5
Writing a Procedure [30-45 min]
5.1Getting Started with a New Suite
5.2Create the Procedure
5.3Add a Check Node
5.4About Components
5.5The Try/Catch Mechanism
5.6Complete the Selection Logic
5.7Making the Procedure More Usable
5.8Calling the Procedure
6
Creating a Generalized Procedure [30-45 min]
6.1Creating a Package
6.2Move the Procedure
6.3Create the Deselect Procedure
6.4Call the Procedures
6.5Creating an All-Purpose Procedure
6.6Setting a Default
6.7The If/Else Construct
6.8Calling the All-Purpose Procedure
6.9Documenting the Procedure
6.10Saving your Test-suite
7
Modularization [30-45 min]
7.1Creating the Driver Suite
7.2What Belongs Where
7.3Creating a Test Sequence
7.4Calling a Procedure in the Utility Suite
7.5Adding an Include
7.6Modularization for Multiple SUTs
8
The Standard Library [30-45 min]
8.1The SUT For Testing
8.2The Standard Library
8.3Selected Packages and Procedures
8.3.1The Checkbox Package
8.3.2The Combobox/Combo Packages
8.3.3The General Packages
8.3.4The List Packages
8.3.5The Menu Package
8.3.6The Popup Menu Package
8.3.7The SWT/Sash Package
8.3.8The Table Package
8.3.9The Table/Selection Package
8.3.10The Tabbedpane/CTabfolder Package
8.3.11The Text Package
8.3.12The Tree Package
8.3.13The Cleanup Package
8.3.14The Swing/Filechooser Utility Package
8.3.15The Swing/Optionpane Utility Package
8.3.16The SWT/FileDialog Package
8.3.17The SWT/ColorDialog Package
8.3.18The SWT/DirectoryDialog Package
8.3.19The SWT/Instrument Package
8.3.20The AWT/Menu Package
8.3.21The Run-log Package
8.3.22The Run-log.Screenshots Package
8.3.23The Shellutils Package
8.3.24The Utils Package
8.3.25The Database Package
8.3.26The Check Package
8.3.27The Databinder Package
8.3.28The Web Package
9
Managing Complex GUI Components [30-45 min]
9.1The SUT For Testing
9.2One-Dimensional Complex Components
9.3Two-Dimensional Complex Components
9.4Item Nodes versus Syntax
9.5The Importance of Uniqueness
9.6Trees
10
It's time to start your own Application [5min]
II
Web testing with QF-Test
11
Introduction [5 min]
Feedback
12
Working with a Sample Test-suite [30-45 min]
12.1Starting QF-Test and Loading the Test-suite
12.2Starting the browser
12.3Clickstream Test-case
12.4A Few Tips
12.5Text Check
12.6Checking a Radio Button
12.7Stopping the Browser
12.8The Complete Test
12.9Report Generation
13
Creating a Test-suite [45-60 min]
13.1Introduction
13.2Starting the Application
13.3Adding a Clickstream Test
13.4Building a Test-suite
13.5Adding a Text Check
14
Further reading [5 min]
III
Advanced features of QF-Test
15
Introduction [5 min]
16
The Demo Application [5 min]
17
Data driven Testing: Running one 'Test-case' with different test data [30-45 min]
17.1Situation
17.2Traditional way of implementing data driven testing
17.3Data driver concept
17.4Summary
18
Dependencies: Automatically ensuring correct prerequisites for each 'Test-case' [60 min]
18.1General
18.2Ensuring prerequisites
18.3Combining dependencies
18.4Error and exception handling
18.4.1Error handling
18.4.2Exception handling
18.4.3Summary
18.5More about dependencies
19
Automated creation of basic procedures [60 min]
19.1General
19.2Automated creation of procedures
19.3Configuration of the automated creation
19.3.1Introduction
19.3.2First example
19.3.3Using the current text for checking
19.3.4Creating container procedures
19.3.5Using the current value of child components
19.3.6More configuration capabilities