Tips
April 9, 2024

Tip of the Day 3

Tip 3

Usage of _resource() API

How to Do This

1. Use _resource() API in the script/scenario while, while doing a distributed run.

2. While doing a distributed run, only the script/scenario in a suite will be zipped and sent to the nodes.

3. Other files(.csv,.sah, etc) that take a part in the script/scenario need to be included explicitly using _resource() API, otherwise, it will show an error.

4. Use a relative path instead of a full path, as the Sahi installation path changes from node to node.

5. Do not use variables in the _resource() API.

Download this Tip as a PDF

Continue reading

Tip of the Day 9