Selenium
The folder TBox Automation Tools->Selenium in the Standard subset contains the Module Run Selenium Scripts.
It allows you to start Selenium TestCases directly from Tosca Commander.
Supported unit testing frameworks
Tricentis Tosca supports the following frameworks:
-
NUnit 2 or NUnit 3 TestCases
-
JUnit 4 or JUnit 5 TestCases
Run Selenium Scripts
This Module starts Selenium scripts. After execution, you can view the result in the Loginfo column of the ExecutionEntry.
The Module has the following ModuleAttributes:
ModuleAttribute |
Description |
---|---|
Path |
Path to the DLL or JAR file that contains the TestMethods you want to execute. |
TestClass |
Class from the DLL or JAR file where the TestMethods are located. |
TestMethod |
TestMethods that you want to execute. |
Report Directory |
Location to store the test results. You only have to specify this for NUnit scripts. |
To run all tests within your DLL or JAR file, leave TestClass and TestMethod empty.
![]() |
This example shows how to run a Selenium script. The TestStep specifies the following:
Run a Selenium script |