This course will introduce you to Squish, a testing tool for Qt and Java applications. In this course, we will demonstrate Squish on various Qt applications, using Python as the chosen scripting language.
Day 1 requires no development experience - we will be running Squish on example applications that were already built as part of either Squish or Qt, and we will teach you all you need to know of Python in order to make use of the features of Squish.
Day 1 Outline
- Squish IDE Demos and Labs
- Record, playback
- Find, name, inspect objects
- Breakpoint, stepwise execution
- Assertions, verification points
- Squish API
- Object map
- Testing different GUI components
- Menus, Buttons, LineEdits
- Other GUI controls
- More Labs
- Introduction to Python for Squish Development
Day 2 Outline
Day 2 requires building of already-written C++ applications, Python script writing, and will touch upon many different topics of Squish Qt software testing. We will use a C++ compiler for some of the labs on this day.
- Data-Driven Tests
- Reuse of script code
- Lists, Tables, and Trees
- Models and views
- Squish in Batch Mode
- Analyzing test results
- Distributed architecture of Squish
- Client-server configurations
- Already Running Applications
- Start/attach from test case
- Random stress tests
- Property sets
- Custom object name generation
Students are required to bring their own laptop. You can use the OS of your choice (Linux, Mac, or Windows). If you are using Windows, we recommend using the commercial editions of Qt and Microsoft Visual C++. If you are using either of the other platforms, you can use the open source editions of Qt and gcc.
- Python 2.5 or 2.6
- Your Favorite Python Editor (whatever it may be)
- gcc (mac/linux) or msvc (windows)
- Qt 4.4 or later for the same os/compiler
- Squish 3.4.4 or later (evaluation copies will be arranged)
Please install the required software on your laptop before day 1 of the course.