Example Scripts

testgrinder service will be discontinued on January 31, 2025

We've prepared a suite of example scripts that are designed to provide a step by step introduction to testgrinder script writing and give you several real world examples of what you can do with testgrinder. The example scripts are provided as a project that you can add to your account.

Adding the Example Scripts project to your account

If your account was created fairly recently, you should already see the Example Scripts project in your project list. If it is not there, you can add the Example Scripts project by clicking the + Example Scripts button at the bottom of the project list.

Click on the Example Scripts project to open it. Expand the folders on the left and click on any of the scripts to open them.

Updating the Example Scripts project

From time to time, the testgrinder team will make changes to the example scripts (please let us know how we can improve them). The example scripts are published to the testgrinder Example Scripts github repository (https://github.com/testgrinder/example-scripts). When you add the Example Scripts project to your testgrinder account, the project is automatically linked to the repository. If you want to reset your project to the latest version of the published example scripts, click on the project's root folder (Example Scripts) and then select the External Repository tab. Once there, click the Revert button and the project will reset to the current version in github. Note that if you made any changes to any of the scripts in the project, they will be lost. If you want to see how your current project differs from what's in the github repository, click the Compare button before reverting.

Last updated