Table of Contents
QImage
ObjectScreen
ObjectToplevelWindow
Objectsquishinfo
ObjecttestInteraction
FunctionstestSettings
ObjectRemoteSystem
Objectsquishtest
: Module for embedding Squish in Python Applications Step
Given
/When
/Then
From
KeywordThis chapter documents the script APIs which can be used by Squish test scripts. See the Tutorials and the User Guide's User Guide (Chapter 5) section for complete examples that make use of all the main features that Squish's API offers. (Note that extension APIs are documented in the User Guide: QML Extension API (Section 6.4.2) (Qt), JavaScript Extension API (Section 6.10.44) (Web), and Java Extension API for Custom Widgets (Section 6.7.4) (Java).)
![]() | Convenience Function Parameters |
---|---|
Those functions that take an |
In this chapter we begin by looking at the special functions that testers create to make their tests usable by Squish. Then we will look at the differences between the supported scripting languages, then Squish's API is covered, then the GUI toolkit-specific convenience APIs are covered, and finally some scripting language-specific issues are dealt with. Last but not least, the script API specific to behavior-driven tests is discussed.