Skip to main content

Creating Reusable Test Functions through Shared Script Libraries

Learn how to create test script modules or test frameworks to make your GUI tests maintainable. Squish supports you in doing this through the concept of Shared Scripts and Global Scripts. While Shared Scripts group together test code within a Test Case or Test Suite, Global Scripts can be used to share code with a number of Test Suites. As for all Squish API functions, the import of these scripts is available in all Squish scripting languages (Python, JavaScript, Perl, Tcl and Ruby).