Always create screenshot

Class library usage, coding and language questions.
User avatar
sdaly
Posts: 238
Joined: Mon May 10, 2010 11:04 am
Location: Dundee, Scotland

Always create screenshot

Post by sdaly » Fri Sep 16, 2011 11:43 am

Hi

So I can do the following and then pass those options to the validate class -

Code: Select all

Ranorex.Validate.Options o = new Validate.Options();
o.CreateScreenshot = Validate.CreateScreenshot.Always;
How can I make these the default options though?

Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Always create screenshot

Post by Support Team » Fri Sep 16, 2011 1:42 pm

Hi,

This is unfortunately not possible, you have to set the specific option for each validation item,
but it is already on our feature request list.

Regards,
Markus
Ranorex Support Team
.
Image

User avatar
sdaly
Posts: 238
Joined: Mon May 10, 2010 11:04 am
Location: Dundee, Scotland

Re: Always create screenshot

Post by sdaly » Fri Sep 16, 2011 1:50 pm

Hi Markus

Excellent, thank you, it will be useful! :)

Cheers

User avatar
denX52
Posts: 1
Joined: Wed Aug 07, 2013 9:40 am

Re: Always create screenshot

Post by denX52 » Fri Nov 22, 2013 2:42 pm

Hi,

Any update on this?

I have 50+ modules with 10+ validation in each.
And now I need to make a screenshot on each validation fail.

Would be grateful for a hint to avoid boring convert of each validation step to user code with options.

Thanks.