Test your Bot

Once you have designed your Bot, you can test it. The Bot then performs the Steps you have specified.

RPA Studio only keeps the results of the Bot's last test run. It discards the old results as soon as one of the following occurs:

  • You change anything about your Bot

  • You test the Bot again

  • You close RPA Studio

Tricentis recommends that you test your Bots exclusively in test environments.

To test a particular Bot, select it and click on Run in the RPA menu, or press F6.

Alternatively, you can click on the Start icon in the Flowchart tab.

You can also select multiple Bots by holding CTRL. In this case, pay attention to the order in which you select your Bots. RPA Studio runs them in the order in which you select them.

View test results

After the run has finished, RPA Studio displays the result in the Flowchart tab. The Flowchart shows the result of each Step as well as the actual Bot flow at run-time.

  • Green check marks indicate successful Steps.

  • Red crosses indicate unsuccessful Steps.

The columns in the Results tab contain detailed information on the Bot run. If you test a Bot that contains another Bot, the result also contains the test result of the other Bot.

Bot result with one failed Step

If you added clean-up procedures to your Bot, an Exception icon next to the Bot name indicates whether a Step in your Bot triggered error handling procedures.

You are now in Results mode, which means that you can't modify your Bot. RPA Studio remembers the state. If you switch Bots, RPA Studio stays in the state that you last chose for this Bot.

If you want to modify your Bot, you need to switch back to Design mode.

To switch back to Design mode, double-click into empty space in the Flowchart tab.

Alternatively, you can click on Design mode in the RPA menu.

Limit the test run

If a Bot is complex, you might want to test individual elements before you run the entire Bot.

RPA Studio offers the following options:

  • Run individual elements, such as Logic elements

  • Exclude individual elements

Run individual Steps

Run a specific element by selecting it in the Flowchart and pressing F6, or click on Run selected in the RPA menu.

You can also select multiple Steps at once. In this case, pay attention to the order in which you select your Steps. The Bot runs them in the order in which you select them.

Alternatively, use the button Run from here in the RPA menu if you want to run parts of your Bot in sequence, but don't want to start with the first Step in the Flowchart.

You can also select Steps or Step Values in the Details tab and click Run selected or Run from here. If you select a Step Value, RPA Studio runs the Step that contains the selected Step Value.

If you click Run selected or Run from here and you have specified clean-up procedures for your Bot, the Bot stops after performing the clean-up Steps. It does not run again, even if you have specified Restart the Bot.

Exclude individual Steps

Sometimes a Bot contains more Steps that you want to test than elements that you don't want to test. You can exclude the Steps that you don't want to test.

To do so, right-click the element in the Flowchart and select Disable from the context menu, or press F7.

RPA Studio grays out disabled objects.

Disabled Step Convert Decimal

To enable disabled objects, right-click the object in the Flowchart and select Enable from the context menu, or press F7 again.

What's next

Congratulations, you have a workable Bot! It's time to publish your Bot, i.e. move it into production.

Was this information helpful?

Tricentis RPA Studio Manual 2020.2 © Tricentis GmbH