Page 1 of 1

Continue on Fail without Warning?

Posted: Tue Nov 13, 2012 2:40 pm
by tallahassee101
Hi,

I have a recording that includes a step for Saving off an image, in some cases there might be a file with the same name that already exists so I have a step for clicking the Yes button on a "Do you want to replace the file with name XXX?". This step has Continue on Fail set to True, however it generates a warning when it "fails" (due to the button not being there). Is there currently any way to have this action not generate a warning? I noticed that the Validation actions have a "Report Level on Failure" in the properties, however other actions such as mouse clicks don't have this property. I think it could be very useful and would prevent the need for excessive user code.

Thank you
-Nick

Re: Continue on Fail without Warning?

Posted: Tue Nov 13, 2012 4:49 pm
by Support Team
Hi Nick,

At the moment you could just convert that action to Use Code and delete the Report.Warn("...") method which will be executed when the action fails.
There is currently no such property because a failed click action doesn't throw a failure it throws an error.
I will add this two improvement suggestions to our internal feature request list, we will discuss internally if we will add such options.

Thanks,
Markus

Re: Continue on Fail without Warning?

Posted: Tue Nov 13, 2012 11:16 pm
by tallahassee101
Thanks Markus,

It would be helpful for setting up conditional cases without the need for user code. I can think of several other test cases where we could use such a feature.

Thanks,
-Nick