Take a screenshot at end of every TestCase?

Ask general questions here.
MJesper
Posts: 38
Joined: Fri Dec 28, 2018 2:16 pm

Take a screenshot at end of every TestCase?

Post by MJesper » Wed Feb 27, 2019 11:03 am

Hi, I want to be able to take a screenshot in the end of every test case and place it inside the RxLog. How would you do something like that?

(Exactly the same as how Error images work. When a error occur there's 1-2 screenshots. I'd like to generate that myself but at the end of every test case)

I think the real question is, how do I place screenshots inside the RxLog?


SORRY I meant recorder not test case


Image

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Take a screenshot at end of every TestCase?

Post by odklizec » Wed Feb 27, 2019 11:15 am

Hi,

If I understand you right, you want to add a screenshot at the end of every recording module? Then you must add "Capture Screenshot" action at the end of every recording.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

MJesper
Posts: 38
Joined: Fri Dec 28, 2018 2:16 pm

Re: Take a screenshot at end of every TestCase?

Post by MJesper » Wed Feb 27, 2019 11:35 am

I want this to be automatic, I don't want to have to do that for every recording

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Take a screenshot at end of every TestCase?

Post by odklizec » Wed Feb 27, 2019 11:40 am

I'm afraid, there is no such 'automatic' feature in Ranorex. You may add a feature request here:
https://uservoice.ranorex.com/forums/15 ... ve-ranorex
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration