Creating Pre and Post Execution Report

Creating Pre and Post Execution Reports 

Execution reports are crucial for validating test execution and conducting analysis.  

Opkey now includes a new advanced feature: Pre & Post Test Execution Report. This feature enables the export of both Pre and Post execution reports for Test Cases and Suites.  


Getting Started with the Pre-Execution Report 


Login to Opkey Web and switch to the Opkey Admin Panel, by clicking the Profile button and selecting Settings from the options. 



Go to Project Management. 




Click on Report Management from the options. 




Click on the Upload Template icon to upload a new report template if you have an existing one. 




Select the template and click on Open. Only a single template can be uploaded in one go. 




Otherwise, you can download a sample Validation report by clicking on the Download sample template icon. 




You can download sample templates either in Doc or in Excel format. 




You can update, export, and delete uploaded templates, as required. 




Within your project, establish custom field tags under the "Custom Fields" tab. Upon saving these tags, their linked field names will be automatically standardized. Subsequently, employ these custom fields to access test data in exported or post-execution reports. 



Note: Map the System Fields (e.g., Test Script ID, Test Script Name, etc.) in the Test Procedures table of the uploaded sample template to insert test data into the exported report. 

Click on the Add Tags icon to add a new tag. 





The Critical Parameter feature creates a detailed Excel Execution Report for Test Cases, showing parameter information from Function Libraries, including names, values, test case description, status, and timing. 


Select the crucial parameters for inclusion in the report. In the XML file, specify the names of both Input and Output Parameters to be uploaded to the Critical Parameter tab. 

Uploading data again will replace and update existing data in the tab, removing the old information. 


Creating Pre-Execution Report 


To generate a Pre-execution report for a Test Case, open the Test Case, click "Run Now," and then choose the "Generate Documents" option. 




Fill in the required fields of Test Case Name, Report Name, Agent, Report Template, Steps Hierarchy, Format, and Report Logo. and click Next. Make sure that your Opkey Agent is online. 


You can choose Step Hierarchy (One Level or Two Level). 





Note: Step Hierarchy controls parent-child artifact organization. Choose "One Level" for only parent artifacts in the report, or "Two Levels" for both parent and child artifacts. 


A new window opens up. Add Session Tags here (Key & Value). 


Click Finish to start creating the Pre-Execution Report. 




Navigate to the Test Case Document tab under the Details section to download the generated document. 




Open the Test Document tab and Click on the Download Report icon to download the generated report. 



The Pre-Execution Report will download as below. 






‍Creating Post-Execution Report 


To generate a Pre-execution report for a Test Case, open the Test Case, and then click "Execute" under the "Run Now" button. 




Fill all required fields of Session Name, Choose or Create Build, Execution Agent Name, Generic Plugin in the Local Execution Wizard. 




Check the Show Advanced Settings checkbox and click Next. 


From here, you can apply Plugin Settings. Click Next to proceed. 




On the next window, check the checkbox of Validation Report and click Next. 




Enter details of the Validation Report, such as Template Name, Report Name, Snapshot, Steps Hierarchy, and Report Logo. Click on Next to proceed. 



From here, you can add Session Tags. Click Next to proceed. 



From this step, you can choose a Global Variable and apply it.  




Click Finish.  

After successful test execution, navigate to the Execution Result tab of your project and click the "Export Report," arrow.  




In the pop-up window, pick a Report Name, select "Validation Report" from the dropdown, choose a logo for your report, specify the preferred download format, and then proceed with the export. 




Now, here you can view your exported Post Execution Report in Word format. 






It can be downloaded in Excel format also. 

Thus, we have successfully created a Pre as well as Post Execution Report. 

For more such related Opkey Features Click Here









Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article