Widget Plugins¶
Squish for Java supports an extension API allowing to implement dedicated support for complex Java custom controls. Here you can find a list of ready-made extensions and we encourage Squish users to share extensions they have created here as well.
To publish your own extension here please contact us at https://www.qt.io/contact-us.
More about the Java Extension API .
KTable (SWT)¶
This extension adds dedicated support for the KTable control. This means Squish recognizes the cells of the table as objects and offers dedicated APIs and properties to interact and verify KTable controls.
More about KTable at https://sourceforge.net/projects/ktable
Installation instructions:
Download the file squishextktable.zip .
Unzip the file
squishextktable.zip
into the Squish installation directoryThe file
squish_dir/javawrapper_user_descriptors.xml
needs to be copied tosquish_dir/etc
. If you already have asquish_dir/etc/javawrapper_user_descriptors.xml
file, then you must merge the two.To enable the extension for a test suite, the file
squish_dir/etc/ext/squishextktable.ini
has to be registered for the particular AUT (Application Under Test) which you set in the test suite settingsApplication:
field. To do that: Open a command prompt (cmd.exe
) or command shell and change tobin
under the Squish installation directory and execute this:(Replace NAME_OF_AUT and PATH_TO_SQUISH accordingly.)
Now you are done and will notice that you can e.g. pick cells of a KTable in the Squish Spy.