Continue on Fail without Warning?

Ask general questions here.
tallahassee101
Posts: 169
Joined: Thu Jan 13, 2011 2:06 pm

Continue on Fail without Warning?

Post by tallahassee101 » Tue Nov 13, 2012 2:40 pm

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

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

Re: Continue on Fail without Warning?

Post by Support Team » Tue Nov 13, 2012 4:49 pm

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
.
Image

tallahassee101
Posts: 169
Joined: Thu Jan 13, 2011 2:06 pm

Re: Continue on Fail without Warning?

Post by tallahassee101 » Tue Nov 13, 2012 11:16 pm

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