Page 1 of 1

capture Screenshot

Posted: Fri Sep 05, 2014 12:36 pm
by cruzez
Ranorex creates screenshots for failed test steps.

How can I add to my specific test steps?

for ex: if i have code Xpath.Waitforexist, or Validate etc
I would to take a screenshot and attach to report as Succes[evidence] similarly the way Ranorex does for failures.

cheers

Re: capture Screenshot

Posted: Fri Sep 05, 2014 2:09 pm
by krstcs
Use the Report -> Screenshot action in the action table, or the Report.Screenshot() method in user-code.

http://www.ranorex.com/Documentation/Ra ... enshot.htm