Handbuch

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 Items 'Text as items (whole page)'
15.5  Check Items 'Text positioned as items (whole page)'
15.6  Check text 'Text (whole page)'
15.7  Check text 'Text positioned (whole page)'
15.8  Check Image 'default' recording of a Text object
15.9  Check Image 'default' recording of an Image object
15.10  Check Image 'unscaled' recording of an Image object
15.11  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
31
Organizing test-suites
31.1  Structure of multiple test-suites
31.2  Including test-suites of level 1
31.3  Structure of different test-suites with roles
33
How to achieve robust component recognition
33.1  Default configuration for component recording
33.2  Default configuration for component recognition
33.3  'Name overrides everything' configuration for component recording
33.4  'Name overrides everything' configuration for component recognition
33.5  Using a regular expression in the 'Feature' attribute
33.6  Option to configure recording of system classes only
36
Options
36.1  Options tree
36.2  General options
36.3  Projects
36.4  Editing
36.5  Bookmarks
36.6  External tools options
36.7  Backup file options
36.8  Library path option
36.9  License options
36.10  Update options
36.11  Recording options
36.12  Options for events to record
36.13  Options for events to pack
36.14  Dragging to a sub-menu
36.15  Options for recording components
36.16  Popup menu for recording components
36.17  Options for recording sub-items
36.18  Procedure Builder options
36.19  Replay options
36.20  Client options
36.21  Terminal options
36.22  Event handling options
36.23  Component recognition options
36.24  Delay options
36.25  Timeout options
36.26  Options for replay backward compatibility
36.27  Web options
36.28  Options for HTTP Requests
36.29  Options for web backward compatibility
36.30  Debugger options
36.31  General run-log options
36.32  Options determining run-log content
36.33  Options for mapping between directories with test-suites
36.34  Variable options
37
Elements of a test-suite
37.1  'Test-suite' attributes
37.2  'Test-case' attributes
37.3  'Test-set' attributes
37.4  'Test call' Attributes
37.5  'Sequence' attributes
37.6  'Test-step' attributes
37.7  'Sequence with time limit' attributes
37.8  'Extras' attributes
37.9  'Dependency' attributes
37.10  'Dependency reference' attributes
37.11  'Setup' attributes
37.12  'Cleanup' attributes
37.13  'Error handler' attributes
37.14  'Data driver' attributes
37.15  'Data table' attributes
37.16  'Database' attributes
37.17  'Excel data file' attributes
37.18  'CSV data file' attributes
37.19  'Data loop' attributes
37.20  'Procedure' Attributes
37.21  'Procedure call' Attributes
37.22  'Return' Attributes
37.23  'Package' Attributes
37.24  'Procedures' Attributes
37.25  'Loop' attributes
37.26  'While' attributes
37.27  'Break' attributes
37.28  'If' attributes
37.29  'Elseif' attributes
37.30  'Else' attributes
37.31  'Try' attributes
37.32  'Catch' attributes
37.33  'Finally' attributes
37.34  'Throw' attributes
37.35  'Rethrow' attributes
37.36  'Server script' attributes
37.37  'SUT script' attributes
37.38  'Start Java SUT client' attributes
37.39  'Start SUT client' attributes
37.40  'Start process' attributes
37.41  'Start web engine' attributes
37.42  'Open browser window' attributes
37.43  'Execute shell command' attributes
37.44  'Start PDF client' attributes
37.45  'Wait for client to connect' attributes
37.46  'Stop client' attributes
37.47  'Wait for process to terminate' attributes
37.48  'Mouse event' attributes
37.49  'Key event' attributes
37.50  'Text input' attributes
37.51  'Window event' attributes
37.52  'Component event' attributes
37.53  'Selection' attributes
37.54  'File selection' attributes
37.55  'Check text' attributes
37.56  'Boolean check' attributes
37.57  'Check items' attributes
37.58  'Check selectable items' attributes
37.59  'Check image' attributes
37.60  'Check geometry' attributes
37.61  'Fetch text' attributes
37.62  'Fetch index' attributes
37.63  'Fetch geometry' attributes
37.64  'Set variable' attributes
37.65  'Wait for component to appear' attributes
37.66  'Wait for document to load' attributes
37.67  'Wait for download to finish' attributes
37.68  'Load resources' attributes
37.69  'Load properties' attributes
37.70  'Unit test' server attributes
37.71  'Unit test' client attributes
37.72  'Server HTTP request' Attribute
37.73  'Browser HTTP request' Attribute
37.74  'Window' attributes
37.75  'Web page' attributes
37.76  'Component' attributes
37.77  'Item' attributes
37.78  'Window group' attributes
37.79  'Component group' attributes
37.80  'Windows and components' attributes
37.81  'Test' attributes
41
Running an application from QF-Test
41.1  Starting the SUT from a script or executable
41.2  Starting the SUT through Java WebStart
41.3  Starting the SUT as an applet in a web browser
41.4  Starting the SUT from a jar archive
41.5  Starting the SUT via the main class
41.6  Starting a web-based SUT in a browser
41.7  Opening a PDF Document
42
JDK and SWT instrumentation
42.1  Dialog for JDK instrumentation
45
Special features for web applications
45.1  HTML code inspection in Firefox
45.2  Reduction of complexity for WebCarConfigurator demo
45.3  WebCarConfigurator
45.4  Simplification due to simple class mapping
45.5  Recording of '-5%' button in WebCarConfigurator
45.6  Recording with genericClasses in WebCarConfigurator
45.7  Simplification due to advanced class mapping
45.8  Recording of SPAN textfields
45.9  Recording TextFields in WebCarConfigurator
45.10  Simplification for complex components
45.11  Recording of table in WebCarConfigurator
45.12  Recording of resolved table item in WebCarConfigurator
45.13  Simplification of WebCarConfigurator demo
3.3+
51
Details about the algorithm for image comparison
51.1  Original image
51.2  Classic image check
51.3  Pixel-based identity check
51.4  Pixel-based similarity check
51.5  Block-based identity check
51.6  Block-based similarity check
51.7  Histogram
51.8  Analysis with Discrete Cosine Transformation
51.9  Block-based analysis with Discrete Cosine Transformation
51.10  Bilinear Filter
51.11  Image-in-image search: Expected image
51.12  Image-in-image search: Got image
3.2+
52
Result lists
52.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