Label: function

Content with label function in Knowledge Base
Related Labels: property, refactor, scripting, share, enhance, improve, callable, robust, python, optimize

Page: Article - Modularizing your recorded scripts for reuse (refactoring)
Overview Typically a group of steps performed in one recorded test script are steps that one wants to use again in other test cases. There are several methods to turn recorded commands into reusable script pieces. Several possibilities exist: Variant 1 ...
Other labels: refactor, optimize, enhance, scripting, robust, share, improve
Page: Property Problems (Qt)
Suppose you have an AUT that has a QStackedWidget and you want to verify how many widgets are in the stack. def main(): # ... # This is the QStackedWidget we are interested in contactsPane = waitForObject(":ContactsStackedFrame") count = contactsPane.count() # Error test.verify(count == 5) Unfortunately, this doesn't ...
Other labels: property, python, callable