Go to Robotic Automation version 22.1 documentation

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:

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.

 

OpenSpan data classification label