Unit testing
Use the Unit Testing feature of Robot Studio to run project automation logic and return either Passed or Failed results. For example, you could use an automation as a unit test to check whether a particular control is matched.
You can execute the unit tests several ways:
From Robot Studio, by choosing the Project > Run Unit Tests option which launches the TestRunner application (OpenSpan.TestRunner.exe).
From Robot Studio, by clicking the Run Unit Tests icon on the toolbar.
Using the stand-alone TestRunner application. This application is installed in located in the Robot Studio installation folder. You can typically find it here:
C:\Program Files\Pegasystems\Pega Robot Studio\OpenSpan.ConsoleTestRunner.exe
When you start the TestRunner application from the command-line, you can run tests directly from the command line or from a batch file. Use a batch file to run multiple tests.
Note: When using the ConsoleTestRunner.exe program, do not include spaces in the path to the .openspan file or in the name of the .openspan file. If you include spaces, you will get a ‘not connected to server’ error message.
Related information
Privacy | Trademarks | Terms of Use | Feedback
Updated: 01 July 2024
© 2016 - 2024 Pegasystems Inc. Cambridge, MA All rights reserved.