Testuff with Selenium

Does Testuff have an automation API?

Yep! It allows your automation to update test results in Testuff. Automation can also be used to automatically export your data.

How does it work?

Via HTTP POST over SSL. Your Testuff login details are used for identification. Each test has a unique ID. Test results are POSTed to the relevant API URL and include – as parameters – the test ID, lab name, and test result. Following the request, Testuff updates the test result accordingly. Read more about the automation URL on the automation page.

Selenium Integration

There are several ways to integrate Selenium with Testuff. Our own preferred method is to export the Selenium script into Python or Perl, and then use the code on our automation help page to update Testuff.

In addition, if you need to integrate Testuff directly from the IDE, or export HTML scripts, we created a Selenium user extension for Testuff, which allows you to update Testuff with Selenium commands.

Load it into the IDE. Go to the Selenium options screen and then browse for the call_testuff.js file you saved. Make sure to load it as Selenium Core Extension

Close the IDE and open it again.

You should now have a number of additional commands, for example, resetTestuffParameters, addTestuffParameter, etc.

To update Testuff directly from your Selenium script, you will need to provide the correct API URL, test ID, etc. Make sure to read our automation help page before you start. Use the following commands in order: