Manual

List of figures
2
The user interface
2.1  Structure of a test-suite
2.2  Insertion marker
2.3  Example table
2.4  The simple search dialog
2.5  The advanced search dialog
2.6  Result list for 'Locate references'
2.7  Incremental search
2.8  The replace dialog
2.9  The replace query dialog
3
Quickstart your application
3.1  Quickstart Wizard
3.2  Startup sequence created by the Quickstart Wizard
3.3  GUI technology information
4
Capture and replay
4.1  Disabled and enabled Record button
5
Components
5.1  Components of a GUI
5.2  Component hierarchy of a Swing SUT
5.3  Pseudo class hierarchy for web elements
5.4  Update components dialog
6
Sub-items of complex GUI components
6.1  An 'Item' for a table cell
6.2  Extra Feature attributes for x-path or css-selector component recognition.
7
Variables
7.1  Direct and fallback bindings
7.2  System variables
7.3  Variable example
7.4  Variable bindings example
8
Problem analysis and debugging
8.1  A simple test and its run-log
8.2  Error states in a run-log
9
Organizing the test-suite
9.1  Test-suite structure
9.2  Test structure with simple 'Setup' and 'Cleanup'
9.3  Test execution with simple 'Setup' and 'Cleanup'
9.4  'Packages' and 'Procedures'
9.5  Dependency stack A-B-C
9.6  Good practice 'Setup' node
9.7  Dependency stack A-B-D-E
9.8  'Dependency' with 'Characteristic variables'
9.9  Exception in forced cleanup sequence of C causes B to clean up
9.10  Typical 'Cleanup' node
9.11  Example 'Test-set' for name spaces
9.12  Dependency handling for test-case 'Data entry by User A'
9.13  Dependency handling for test-case 'Offer processing by User C'
9.14  Dependency handling for test-case 'Check offer 1 in DMS'
9.15  Dependency handling for test-case 'Data entry by User B'
9.16  Dependency handling for test-case 'Offer processing by User D'
9.17  Dependency handling for test-case 'Check offer 2 in DMS'
3.5+
10
Projects
10.1  The project view
11
The standard library
11.1  Standard library qfs.qft
12
Scripting
12.1  Detail view of a 'Server script' with help window for rc methods
12.2  Overview of the types of variables in QF-Test
13
Unit Tests
13.1  Unit Test node with Java classes
13.2  Example Unit Test node with Injections
13.3  Example Unit Test node with Injections
13.4  Unit Test Report
15
Testing PDF documents
15.1  PDF Client main window with PDF document
15.2  Check text 'default'
15.3  Check text 'Text positioned'
15.4  Check Image 'default' recording of a Text object
15.5  Check Image 'default' recording of an Image object
15.6  Check Image 'unscaled' recording of an Image object
15.7  Check Image 'scaled' recording of an Image object
16
Data-driven testing
16.1  A simple data-driven test
16.2  'Data table' example
16.3  Run-log of a data-driven test
16.4  Data-driven test with nested loops
16.5  Second data table example
16.6  Run-log of a data-driven test with nested loops
17
Reports and test documentation
17.1  Example report
18
Test execution
18.1  Dialog to re-run test-cases
19
Distributed test development
19.1  Result of analyzing references
3.0+
20
Automated Creation of Basic Procedures
20.1  Recorded procedures
20.2  The Procedure Builder definition file
3.0+
21
Interaction with Test Management Tools
21.1  Integration with ALM - QualityCenter
21.2  QF-Test VAPI-XP-TEST test-case in HP ALM - QualityCenter
21.3  In Test plan create new Test-set
21.4  Create new test of type VAPI-XP-TEST
21.5  HP VAPI-XP Wizard
21.6  Test details
21.7  Copy template content to script text area
21.8  New test-set in Test lab section
21.9  Add test to execution grid
21.10  Run the test
21.11  Test result
21.12  Uploaded run-log
21.13  Script debug run
21.14  QF-Test run-log in QMetry
22
Integration with Development Tools
22.1  Eclipse plugin configuration - tab 'Main'
22.2  Eclipse plugin configuration - Tab 'Settings'
22.3  Eclipse plugin configuration - Tab 'Initial Settings'
22.4  Jenkins after start-up.
22.5  Install QF-Test Plugin.
22.6  Set custom workspace.
22.7  Add build step to run QF-Test
22.8  Configure build step advanced options.
22.9  Configure post build steps.
23
Keyword-driven testing with QF-Test
23.1  Excel file business-related keywords
23.2  Test-suite business-related keywords
23.3  Procedure fillDialog
23.4  Excel file of generic components
23.5  Test-suite for generic components
23.6  Test-suite Behavior-driven testing technical
23.7  Test-suite Behavior-driven testing from business perspective
23.8  Excel file as scenario file
23.9  Test-suite scenario file
24
Performing GUI-based load tests
24.1  Load testing scenario
24.2  Overview load testing project
24.3  Sample test-suite daemonController_twoPhases.qft
24.4  Call of rc.syncThreads in demo test-suite
3.0+
25
Executing Manual Tests in QF-Test
25.1  Example for a ManualStepDialog
26
Controlling and testing native Windows applications
26.1  UI Automation procedures in the standard library
26.2  The WPF demo application
26.3  Help menu
26.4  Failed Image check in the run-log
29
Organizing test-suites
29.1  Structure of multiple test-suites
29.2  Including test-suites of level 1
29.3  Structure of different test-suites with roles
31
How to achieve robust component recognition
31.1  Default configuration for component recording
31.2  Default configuration for component recognition
31.3  'Name overrides everything' configuration for component recording
31.4  'Name overrides everything' configuration for component recognition
31.5  Using a regular expression in the 'Feature' attribute
31.6  Option to configure recording of system classes only
34
Options
34.1  Options tree
34.2  General options
34.3  Projects
34.4  Editing
34.5  Bookmarks
34.6  External tools options
34.7  Backup file options
34.8  Library path option
34.9  License options
34.10  Recording options
34.11  Options for events to record
34.12  Options for events to pack
34.13  Dragging to a sub-menu
34.14  Options for recording components
34.15  Popup menu for recording components
34.16  Options for recording sub-items
34.17  Procedure Builder options
34.18  Replay options
34.19  Client options
34.20  Terminal options
34.21  Event handling options
34.22  Component recognition options
34.23  Delay options
34.24  Timeout options
34.25  Options for replay backward compatibility
34.26  Web options
34.27  Options for HTTP Requests
34.28  Options for web backward compatibility
34.29  Debugger options
34.30  General run-log options
34.31  Options determining run-log content
34.32  Options for mapping between directories with test-suites
34.33  Variable options
35
Elements of a test-suite
35.1  'Test-suite' attributes
35.2  'Test-case' attributes
35.3  'Test-set' attributes
35.4  'Test call' Attributes
35.5  'Sequence' attributes
35.6  'Test-step' attributes
35.7  'Sequence with time limit' attributes
35.8  'Extras' attributes
35.9  'Dependency' attributes
35.10  'Dependency reference' attributes
35.11  'Setup' attributes
35.12  'Cleanup' attributes
35.13  'Error handler' attributes
35.14  'Data driver' attributes
35.15  'Data table' attributes
35.16  'Database' attributes
35.17  'Excel data file' attributes
35.18  'CSV data file' attributes
35.19  'Data loop' attributes
35.20  'Procedure' Attributes
35.21  'Procedure call' Attributes
35.22  'Return' Attributes
35.23  'Package' Attributes
35.24  'Procedures' Attributes
35.25  'Loop' attributes
35.26  'While' attributes
35.27  'Break' attributes
35.28  'If' attributes
35.29  'Elseif' attributes
35.30  'Else' attributes
35.31  'Try' attributes
35.32  'Catch' attributes
35.33  'Finally' attributes
35.34  'Throw' attributes
35.35  'Rethrow' attributes
35.36  'Server script' attributes
35.37  'SUT script' attributes
35.38  'Start Java SUT client' attributes
35.39  'Start SUT client' attributes
35.40  'Start process' attributes
35.41  'Start web engine' attributes
35.42  'Open browser window' attributes
35.43  'Execute shell command' attributes
35.44  'Start PDF client' attributes
35.45  'Wait for client to connect' attributes
35.46  'Stop client' attributes
35.47  'Wait for process to terminate' attributes
35.48  'Mouse event' attributes
35.49  'Key event' attributes
35.50  'Text input' attributes
35.51  'Window event' attributes
35.52  'Component event' attributes
35.53  'Selection' attributes
35.54  'File selection' attributes
35.55  'Check text' attributes
35.56  'Boolean check' attributes
35.57  'Check items' attributes
35.58  'Check selectable items' attributes
35.59  'Check image' attributes
35.60  'Check geometry' attributes
35.61  'Fetch text' attributes
35.62  'Fetch index' attributes
35.63  'Fetch geometry' attributes
35.64  'Set variable' attributes
35.65  'Wait for component to appear' attributes
35.66  'Wait for document to load' attributes
35.67  'Wait for download to finish' attributes
35.68  'Load resources' attributes
35.69  'Load properties' attributes
35.70  'Unit test' server attributes
35.71  'Unit test' client attributes
35.72  'Server HTTP request' Attribute
35.73  'Browser HTTP request' Attribute
35.74  'Window' attributes
35.75  'Web page' attributes
35.76  'Component' attributes
35.77  'Item' attributes
35.78  'Window group' attributes
35.79  'Component group' attributes
35.80  'Windows and components' attributes
35.81  'Test' attributes
39
Running an application from QF-Test
39.1  Starting the SUT from a script or executable
39.2  Starting the SUT through Java WebStart
39.3  Starting the SUT as an applet in a web browser
39.4  Starting the SUT from a jar archive
39.5  Starting the SUT via the main class
39.6  Starting a web-based SUT in a browser
39.7  Opening a PDF Document
40
JDK and SWT instrumentation
40.1  Dialog for JDK instrumentation
43
Special features for web applications
43.1  HTML code inspection in Firefox
43.2  Reduction of complexity for WebCarConfigurator demo
43.3  WebCarConfigurator
43.4  Simplification due to simple class mapping
43.5  Recording of '-5%' button in WebCarConfigurator
43.6  Recording with genericClasses in WebCarConfigurator
43.7  Simplification due to advanced class mapping
43.8  Recording of SPAN textfields
43.9  Recording TextFields in WebCarConfigurator
43.10  Simplification for complex components
43.11  Recording of table in WebCarConfigurator
43.12  Recording of resolved table item in WebCarConfigurator
43.13  Simplification of WebCarConfigurator demo
3.3+
49
Details about the algorithm for image comparison
49.1  Original image
49.2  Classic image check
49.3  Pixel-based identity check
49.4  Pixel-based similarity check
49.5  Block-based identity check
49.6  Block-based similarity check
49.7  Histogram
49.8  Analysis with Discrete Cosine Transformation
49.9  Block-based analysis with Discrete Cosine Transformation
49.10  Bilinear Filter
49.11  Image-in-image search: Expected image
49.12  Image-in-image search: Got image
3.2+
50
Result lists
50.1  Sample result list for 'Locate references'
A
FAQ - Frequently Asked Questions
A.1  Set browser maximum memory
C
Keyboard shortcuts
C.1  Keyboard helper