Video: Creating Reusable Test Functions Through Shared Script Libraries

Video: 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).

For more reading, check out a previous Tip of the Week where we talk about the how-to for turning recorded scripts into compact function calls, here.

Some useful documentation:

How to Create and Use Shared Data and Shared Scripts
source Function Documentation
findFile Function Documentation
Script Modulariziation




0 Kommentare

Eine Antwort hinterlassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

*