Trying to inclue an image in UFT results isn’t working.

  • Questions
  • Trying to inclue an image in UFT results isn't working.
Question ID: 105535

In UFT 12, I’m capturing a bitmap image and saving to a file during my test runs, and I want to include the image in the results using Reporter.ReportEvent. According to the help files you can do this, but I can’t get it to work.

Marked as spam
Posted by (Questions: 384, Answers: 61)
Asked on July 28, 2014 4:42 pm
Answers (1)
Private answer

Check the Export settings, and choose 'Detailed' for the output and it should work. In the report viewer, go to File>Export to File, and under Export Format, choose Detailed.

For the Automatic export, you can go to Tools>Options>Run Sessions>Configure. Choose detailed under Export Format.

Here's the code syntax:

Reporter.ReportEvent EventStatus, ReportStepName, Details, [ImageFilePath]

You can also use a custom .xsl and create your own format including images. Here's a post discussing this:

Marked as spam
Posted by (Questions: 16, Answers: 806)
Answered on July 28, 2014 4:43 pm
Awesome! Thanks!
( at July 28, 2014 4:44 pm)