What conditions are needed to use the activity coverage feature?

Hi! I’m a RPA Developer new to test suite.
I created a Project with test automation, ran some Test Case with 【debug file with data variation】mode, and still nothing showed up in the activity coverage panel. I could not figure out why.

What are the denominator and numerator of the coverage percentage display, e.g., 75%? I would like to know how it is calculated behind the scenes.

Thank you very much.
image


Hi @111962,

Code Coverage is an RPA Testing feature and it is not available for Test Automation projects. If you created the project with Test Automation template you can’t use this feature.

For RPA Testing projects you can check here:

Thank you for your answer.

I’m still a little confused.
If I create a test case in a process project instead of a test automation project, will I be able to use activity coverage?

I know that the difference between a test automation project and a process project is the testing activity, but from the activity coverage feature, I’m not sure how to differentiate between these two types of PJs. Is it possible to create a test case xaml file with a regular process project?
image

Yes, when you use Process template for your project and create test case you can see the activity coverage. Just right click on the sequence you want to test and click Create Test Case. Here an example of my project created with Process template. I can create test case for Main and TimeSpan workflows.

When I debug the TestCase the activity coverage shows the result:
image

1 Like

I see. Thank you for your answer.
I’ll give it a try right after this.
Thank you very much.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.