satin-python is simple UI matcher and driver library, built on top of hamcrest and PyQt
Finding specific widget
To find a specific widget, use function widget:
sub_widget = widget(dialog,
Where dialog is Qt object to examine and matcher is hamcrest matcher capable
of detecting specific widget.
To check that a widget has label with text 'Title':
To start event loop, use @satin_suite class decorator. This will modify your
test class to start QApplication behind the scenes in order to have the event
loop running. When the test method completes, QApplication is automatically
satin-python is copyrighted by Tuukka Turto and is placed under
GNU General Public License. For more information, please refer to license.txt
found in the main folder.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.