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 email@example.com.
More about the Java extension API.
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 http://sourceforge.net/projects/ktable
Download the file
Unzip the file
squishextktable.zipinto the Squish installation directory
squish_dir/javawrapper_user_descriptors.xmlneeds to be copied to
If you already have a
squish_dir/etc/javawrapper_user_descriptors.xmlfile, then you must merge the two.
To enable the extension for a test suite, the file
squish_dir/etc/ext/squishextktable.inihas to be registered for the particular AUT (Application Under Test) which you set in the test suite settings
Application:field. To do that: Open a command prompt (
cmd.exe) or command shell and change to
binunder 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.