Status: Closed (View Workflow)
Resolution: Won't Fix
I am generating customized html report for my test case.Need to pass the test result status to console from this html report instead of uft inbuilt report.
Test result : PASS or FAIL
For example i am generating below html report from test execution.
The overall status of test case is PASS.
As i am executing Jenkins job with help of "Micro focus Application automation tools" plugin , Jenkins is considering UFT generated html report to update the test result status in Jenkins console.
I want to modify or rewrite or pass my customized html report status to get updated in console as Test result:
From what I understand you want to see if each individual step in the test passed or failed and then have the overall result of the test. For this you need to raise an enhacement request, since this is not a bug of the plugin, but a modification of the plugin.
Thanks Anda ,
Is there any way at least i can write back to console from uft .
At the moment the way the plugin works is creating a results file and that results file contains only the final test status. Since it does not contain any information regarding the intermediate steps, it is not publishing anything extra. There is an html report generated by UFT though in the folder where you have the test. Path to the report : path_to_test\Test_Name_\Res_number\run_results.html. There is also run_results.xml in the same location containing the steps from the test. But yet again this needs modifications to be done in the plugin in order to have that information displayed in the console output.
"At the moment the way the plugin works is creating a results file and that results file contains only the final test status."
As per your comment, it generates Results05212020_16.xml file which contain final status.Can't we update this file or modify this file before publishing to console..?
Can you specify some more details?