1.

What’s The Difference Between “source” And “import”?

Answer»

Source tells Squish which other files to USE when looking for other shared script files either in the Test Case Resources or Global Script views. All FUNCTIONS (or similar) within the source call are then available just as STANDARD Squish API and Toolkit-specific API functions are available. Import is used for importing MODULES in your selected scripting LANGUAGE’s standard libraries.

Source tells Squish which other files to use when looking for other shared script files either in the Test Case Resources or Global Script views. All functions (or similar) within the source call are then available just as standard Squish API and Toolkit-specific API functions are available. Import is used for importing modules in your selected scripting language’s standard libraries.



Discussion

No Comment Found