Trying to inclue an image in UFT results isn’t working.
Question ID: 105535
1
0

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: 386, Answers: 64)
Asked on July 28, 2014 4:42 pm
33 views
Answers (1)
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:
http://eyeontesting.com/questions/6429/customer-format-for-uft-test-results.html

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

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top