Class library usage, coding and language questions.
-
sdaly
- Posts: 238
- Joined: Mon May 10, 2010 11:04 am
- Location: Dundee, Scotland
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
-
Support Team
- Site Admin

- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
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
.

-
sdaly
- Posts: 238
- Joined: Mon May 10, 2010 11:04 am
- Location: Dundee, Scotland
Post
by sdaly » Fri Sep 16, 2011 1:50 pm
Hi Markus
Excellent, thank you, it will be useful!
Cheers
-
denX52
- Posts: 1
- Joined: Wed Aug 07, 2013 9:40 am
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.