Forcing maintenance mode

Class library usage, coding and language questions.
cpalex
Posts: 38
Joined: Sat Feb 17, 2018 12:37 am

Forcing maintenance mode

Post by cpalex » Mon Aug 17, 2020 7:12 pm

I am using some custom code to report some failures while comparing a large data table. I concat all of the failures into one string, and report that single string as a Report.Fail.

I know the Maintenance Mode cannot help me resolve the actual failures I am seeing, but I would like to pause the test at the point of the report failure, but only when Maintenance Mode is turned on.

Also, I don't want to throw a real exception, because in this instance, I want the test to continue on fail, instead of shunting to the teardown.

Is there a simple way to trigger maintenance mode in user code?

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

Re: Forcing maintenance mode

Post by Support Team » Mon Sep 14, 2020 6:58 pm

Hi!

Please contact us via the links below and we will be more than happy to further assist you with this!

Existing Customer: https://www.ranorex.com/support-query
Evaluation Customer: https://www.ranorex.com/prices/contact/

Kind Regards,
Ranorex Team
.
Image