Label: script

Content with label script in Knowledge Base
Related Labels: error, object, loop, if_else, qt, python, example, test_vp, tooltip, if_then, not_found

Page: Basic Scripting in Squish (if else condition)
Verifying and Reporting using an if else condition Below is an example that shows a simple {{if}} {{else}} statement, and also two of Squish's test functions ({{test.pass()}} http://www.froglogic.com/download/book4/rgscriptapi.html#test.passfunction and {{test.fail()}} http://www.froglogic.com/download/book4/rgscriptapi.html#test.failfunction ...
Other labels: if_then, test_vp, example, loop, if_else
Page: Dealing with "Object '....' not found" script errors
Table of Contents Symptoms Synchronization functions like waitForObject() or action functions like mouseClick() error out with a script error like this: Object '<name>' not found. Here, <name> is the argument passed to the function. The error may seem to occur randomly or it might ...
Other labels: object, error, not_found
Page: Example - Getting A Tooltip (Qt)
Table of Contents How to use the Qt API via Squish to get a tooltip text It is easy to use the Qt API to access tooltips or other application object properties. Qt 4 and higher You can directly check an object's ...
Other labels: qt, tooltip, python, example