Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62299

Passing customized html report status to console

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

       

        Attachments

          Activity

          Hide
          mihaicampean Mihai added a comment -

          Please contact customer support in order to create an Enhancement Request for this case. 

          Show
          mihaicampean Mihai added a comment - Please contact customer support in order to create an Enhancement Request for this case. 
          Hide
          jav404 Shashu S added a comment -

          "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..?

          Show
          jav404 Shashu S added a comment - "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..?
          Hide
          aslaakso Anda Sorina Laakso added a comment - - edited

          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.

          Show
          aslaakso Anda Sorina Laakso added a comment - - edited 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.
          Hide
          jav404 Shashu S added a comment -

          Thanks Anda ,

          Is there any way at least i can write back to console from uft .

           

          Show
          jav404 Shashu S added a comment - Thanks Anda , Is there any way at least i can write back to console from uft .  
          Hide
          aslaakso Anda Sorina Laakso added a comment -

          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.

          Show
          aslaakso Anda Sorina Laakso added a comment - 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.
          Hide
          jav404 Shashu S added a comment -

          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:

           

           

           

          Show
          jav404 Shashu S added a comment - 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:      
          Hide
          aslaakso Anda Sorina Laakso added a comment -

          Can you specify some more details?

          Show
          aslaakso Anda Sorina Laakso added a comment - Can you specify some more details?

            People

            Assignee:
            aslaakso Anda Sorina Laakso
            Reporter:
            jav404 Shashu S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: