Validation without writing to the log
Posted: Thu Apr 03, 2014 10:28 pm
I am not finding a way to check if an element exists without writing a failure to the log.
If something exists in my UI, I delete it, if not I dont. By no means it is a failure/error if that item exists or
not.
I can only see using Validate.Exists, which writes the result to the log, is there other method that I can use?
I basically need a boolean returned and depending on the result I go ahead and delete the item.
Thanks.
If something exists in my UI, I delete it, if not I dont. By no means it is a failure/error if that item exists or
not.
I can only see using Validate.Exists, which writes the result to the log, is there other method that I can use?
I basically need a boolean returned and depending on the result I go ahead and delete the item.
Thanks.