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
Testing web services
16.1  Browser send HTTP GET
16.2  GET response
17
Data-driven testing
17.1  A simple data-driven test
17.2  'Data table' example
17.3  Run-log of a data-driven test
17.4  Data-driven test with nested loops
17.5  Second data table example
17.6  Run-log of a data-driven test with nested loops
18
Reports and test documentation
18.1  Example report
19
Test execution
19.1  Dialog to re-run test-cases
20
Distributed test development
20.1  Result of analyzing references
3.0+
21
Automated Creation of Basic Procedures
21.1  Recorded procedures
21.2  The Procedure Builder definition file
3.0+
22
Interaction with Test Management Tools
22.1  Integration with ALM - QualityCenter
22.2  QF-Test VAPI-XP-TEST test-case in HP ALM - QualityCenter
22.3  In Test plan create new Test-set
22.4  Create new test of type VAPI-XP-TEST
22.5  HP VAPI-XP Wizard
22.6  Test details
22.7  Copy template content to script text area
22.8  New test-set in Test lab section
22.9  Add test to execution grid
22.10  Run the test
22.11  Test result
22.12  Uploaded run-log
22.13  Script debug run
22.14  QF-Test run-log in QMetry
23
Integration with Development Tools
23.1  Eclipse plugin configuration - tab 'Main'
23.2  Eclipse plugin configuration - Tab 'Settings'
23.3  Eclipse plugin configuration - Tab 'Initial Settings'
23.4  Jenkins after start-up.
23.5  Install QF-Test Plugin.
23.6  Set custom workspace.
23.7  Add build step to run QF-Test
23.8  Configure build step advanced options.
23.9  Configure post build steps.
24
Keyword-driven testing with QF-Test
24.1  Excel file business-related keywords
24.2  Test-suite business-related keywords
24.3  Procedure fillDialog
24.4  Excel file of generic components
24.5  Test-suite for generic components
24.6  Test-suite Behavior-driven testing technical
24.7  Test-suite Behavior-driven testing from business perspective
24.8  Excel file as scenario file
24.9  Test-suite scenario file
25
Performing GUI-based load tests
25.1  Load testing scenario
25.2  Overview load testing project
25.3  Sample test-suite daemonController_twoPhases.qft
25.4  Call of rc.syncThreads in demo test-suite
3.0+
26
Executing Manual Tests in QF-Test
26.1  Example for a ManualStepDialog
27
Controlling and testing native Windows applications
27.1  UI Automation procedures in the standard library
27.2  The WPF demo application
27.3  Help menu
27.4  Failed Image check in the run-log
30
Organizing test-suites
30.1  Structure of multiple test-suites
30.2  Including test-suites of level 1
30.3  Structure of different test-suites with roles
32
How to achieve robust component recognition
32.1  Default configuration for component recording
32.2  Default configuration for component recognition
32.3  'Name overrides everything' configuration for component recording
32.4  'Name overrides everything' configuration for component recognition
32.5  Using a regular expression in the 'Feature' attribute
32.6  Option to configure recording of system classes only
35
Options
35.1  Options tree
35.2  General options
35.3  Projects
35.4  Editing
35.5  Bookmarks
35.6  External tools options
35.7  Backup file options
35.8  Library path option
35.9  License options
35.10  Update options
35.11  Recording options
35.12  Options for events to record
35.13  Options for events to pack
35.14  Dragging to a sub-menu
35.15  Options for recording components
35.16  Popup menu for recording components
35.17  Options for recording sub-items
35.18  Procedure Builder options
35.19  Replay options
35.20  Client options
35.21  Terminal options
35.22  Event handling options
35.23  Component recognition options
35.24  Delay options
35.25  Timeout options
35.26  Options for replay backward compatibility
35.27  Web options
35.28  Options for HTTP Requests
35.29  Options for web backward compatibility
35.30  Debugger options
35.31  General run-log options
35.32  Options determining run-log content
35.33  Options for mapping between directories with test-suites
35.34  Variable options
36
Elements of a test-suite
36.1  'Test-suite' attributes
36.2  'Test-case' attributes
36.3  'Test-set' attributes
36.4  'Test call' Attributes
36.5  'Sequence' attributes
36.6  'Test-step' attributes
36.7  'Sequence with time limit' attributes
36.8  'Extras' attributes
36.9  'Dependency' attributes
36.10  'Dependency reference' attributes
36.11  'Setup' attributes
36.12  'Cleanup' attributes
36.13  'Error handler' attributes
36.14  'Data driver' attributes
36.15  'Data table' attributes
36.16  'Database' attributes
36.17  'Excel data file' attributes
36.18  'CSV data file' attributes
36.19  'Data loop' attributes
36.20  'Procedure' Attributes
36.21  'Procedure call' Attributes
36.22  'Return' Attributes
36.23  'Package' Attributes
36.24  'Procedures' Attributes
36.25  'Loop' attributes
36.26  'While' attributes
36.27  'Break' attributes
36.28  'If' attributes
36.29  'Elseif' attributes
36.30  'Else' attributes
36.31  'Try' attributes
36.32  'Catch' attributes
36.33  'Finally' attributes
36.34  'Throw' attributes
36.35  'Rethrow' attributes
36.36  'Server script' attributes
36.37  'SUT script' attributes
36.38  'Start Java SUT client' attributes
36.39  'Start SUT client' attributes
36.40  'Start process' attributes
36.41  'Start web engine' attributes
36.42  'Open browser window' attributes
36.43  'Execute shell command' attributes
36.44  'Start PDF client' attributes
36.45  'Wait for client to connect' attributes
36.46  'Stop client' attributes
36.47  'Wait for process to terminate' attributes
36.48  'Mouse event' attributes
36.49  'Key event' attributes
36.50  'Text input' attributes
36.51  'Window event' attributes
36.52  'Component event' attributes
36.53  'Selection' attributes
36.54  'File selection' attributes
36.55  'Check text' attributes
36.56  'Boolean check' attributes
36.57  'Check items' attributes
36.58  'Check selectable items' attributes
36.59  'Check image' attributes
36.60  'Check geometry' attributes
36.61  'Fetch text' attributes
36.62  'Fetch index' attributes
36.63  'Fetch geometry' attributes
36.64  'Set variable' attributes
36.65  'Wait for component to appear' attributes
36.66  'Wait for document to load' attributes
36.67  'Wait for download to finish' attributes
36.68  'Load resources' attributes
36.69  'Load properties' attributes
36.70  'Unit test' server attributes
36.71  'Unit test' client attributes
36.72  'Server HTTP request' Attribute
36.73  'Browser HTTP request' Attribute
36.74  'Window' attributes
36.75  'Web page' attributes
36.76  'Component' attributes
36.77  'Item' attributes
36.78  'Window group' attributes
36.79  'Component group' attributes
36.80  'Windows and components' attributes
36.81  'Test' attributes
40
Running an application from QF-Test
40.1  Starting the SUT from a script or executable
40.2  Starting the SUT through Java WebStart
40.3  Starting the SUT as an applet in a web browser
40.4  Starting the SUT from a jar archive
40.5  Starting the SUT via the main class
40.6  Starting a web-based SUT in a browser
40.7  Opening a PDF Document
41
JDK and SWT instrumentation
41.1  Dialog for JDK instrumentation
44
Special features for web applications
44.1  HTML code inspection in Firefox
44.2  Reduction of complexity for WebCarConfigurator demo
44.3  WebCarConfigurator
44.4  Simplification due to simple class mapping
44.5  Recording of '-5%' button in WebCarConfigurator
44.6  Recording with genericClasses in WebCarConfigurator
44.7  Simplification due to advanced class mapping
44.8  Recording of SPAN textfields
44.9  Recording TextFields in WebCarConfigurator
44.10  Simplification for complex components
44.11  Recording of table in WebCarConfigurator
44.12  Recording of resolved table item in WebCarConfigurator
44.13  Simplification of WebCarConfigurator demo
3.3+
50
Details about the algorithm for image comparison
50.1  Original image
50.2  Classic image check
50.3  Pixel-based identity check
50.4  Pixel-based similarity check
50.5  Block-based identity check
50.6  Block-based similarity check
50.7  Histogram
50.8  Analysis with Discrete Cosine Transformation
50.9  Block-based analysis with Discrete Cosine Transformation
50.10  Bilinear Filter
50.11  Image-in-image search: Expected image
50.12  Image-in-image search: Got image
3.2+
51
Result lists
51.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