image validation
image validation
I there a way for the contains image function to report an "error' instead of a fail?
Re: image validation
Hi,
Simply set Report level on failure to 'Error' and eventually Continue on fail to 'True', if you want your test to continue on image validation failure.
The same (in code) can be achieved with Validate.Otpions, like this...
Simply set Report level on failure to 'Error' and eventually Continue on fail to 'True', if you want your test to continue on image validation failure.
The same (in code) can be achieved with Validate.Otpions, like this...
Code: Select all
Validate.CompareImage(textInfo, Text2000_Screenshot1, Text2000_Screenshot1_Options, Validate.DefaultMessage, new Validate.Options(){ExceptionOnFail=false,ReportLevelOnFailure=ReportLevel.Error});
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration