Chapter 15. User Guide
Table of Contents
15.1. How to Write Test Scripts
15.1.1. How to Identify and Access Objects
15.1.2. How to Use the Qt API
15.1.3. How to Use the Tk API
15.1.4. How to Use the XView API
15.1.5. How to Use the Web API
15.1.6. How to Use the
Java
™ API
15.1.7. How to Use Test Statements
15.1.8. How to Use Event Handlers
15.1.9. How to Create and Use Synchronization Points
15.1.10. How to Test Multiple AUTs from a Single Test Script, Using ApplicationContext
15.1.11. How to Test Qt Widgets
15.1.12. How to Test non-Qt Widgets in Qt Applications
15.1.13. How to Test Tk Widgets
15.1.14. How to Test Web Elements
15.1.15. How to Automate Native Browser Dialogs, Java Applets, Flash/Flex, ActiveX, and more
15.1.16. How to Test
Java
™ Applications
15.1.17. How to Create Semi-Automatic Tests that Query for User Input
15.1.18. How to Create Automatic Screenshots on Test Failures and Errors
15.1.19. How to Interact With Files and With the Environment in Test Scripts
15.1.20. How to Access Databases from Squish Test Scripts
15.1.21. How to Handle Exceptions Raised in Test Scripts
15.1.22. How to Modify
Squish
Functions
15.2. How to Edit and Debug Test Scripts
15.2.1. How to Use the Script Debugger
15.2.2. How to Record After a Breakpoint
15.2.3. How to Use the Spy
15.3. How to Create and Use Verification Points
15.3.1. How to Create and Use Object Property Verifications
15.3.2. How to Do Screenshot Verifications
15.3.3. How to Create and Use Verification Points in Test Scripts
15.4. How to Create and Use Shared Data and Shared Scripts
15.4.1. How to Store and Locate Shared Scripts and Shared Data Files
15.4.2. How to Do Data-Driven Testing
15.4.3. How to Use Test Data in the AUT
15.5. How to Do Automated Batch Testing
15.5.1. Processing Test Results
15.5.2. Automatically Running Tests
15.5.3. Conclusion
15.6. How to Do Automatic Stress Testing on Qt
15.6.1. Starting the Monkey
15.6.2. Processing the Monkey Log
15.6.3. How the Monkey Does Its Work
15.7. How to Create and Access Application Bindings
15.7.1. Instrumenting and Wrapping
15.7.2. Creating a Test Using the Wrapper Library
15.7.3. How to Explore Wrapper Libraries
15.8. How to Use the JavaScript Extension API
15.8.1. Concepts and Setup
15.8.2. How to set up Support for Simple Widgets
15.8.3. How to Extend the Name Generator and Identification
15.8.4. How to set up Support for Complex Widgets
15.9. How to Use the Java Extension API for Custom Widgets
15.9.1. Introduction
15.9.2. Custom canvas Example
15.9.3. Extension API documentation
15.10. How to Do Data-driven Web Application Testing
15.10.1. Starting with an Ordinary Test Script
15.10.2. Setting up the Test Data
15.10.3. Making a Test Script Data Driven
15.11. How to Do Web Application Load Testing
15.11.1. Recording system information
15.11.2. Generating the load
15.11.3. Postprocessing
The Squish User's Guide explains all aspects and features of
Squish
in detail.