Create your first automation in just a few minutes.Try Studio Web →
by Internal Labs
0
Solution
138
Summary
Summary
Generate HTML report for test case execution.
Overview
Overview
There are many scenarios in which a test execution report needs to be archived or stored for future audit or documentation. While it is possible to generate reports using the test management tools, it might be required to also generate one as part of the test case.
This is a set of components, which can be reused and easily adapted for various requests. Everything is based on existing UiPath automation capabilities, not creating additional dependencies.
The information of the asserts are stored in a datatable, which is then being used to generate the HTML. A folder is created, using the name of the test case and a timestamp, where the screenshots are copied and the HTML file is generated.
Most of the components are used in execution and test case templates, which allows developers to easily create test cases with these features, and only focus on the asserts. In a test case, they only need to assign a name to the test case (argument TestCaseName) and add the verification information using the sequence AddVerificationToReport.
Following customizations are easy to implement using standard UiPath functionality:
Features
Features
Additional Information
Additional Information
Dependencies
UiPath.System.Activities UiPath.Testing.Activities UiPath.UIAutomation.Activities
Code Language
Visual Basic
Technical
Version
1.1.0Updated
September 6, 2022Works with
Studio: 21.10 - 22.10
Certification
Silver Certified
Support
UiPath Community Support