Validating forum set


validating forum set-41

Following codesnipped I use to validate: Like described in the online API description, the last parameter says if an exception should be thrown or not. Could you please help me how to verify if an element is not there? So I don't think Report Item Info would be useful in my case. Thanks, Sherin If you want to get a boolean back, do not use the Validate class.

And anyway I need to know if the control exists or not in a boolean value to proceed with my test.

I retried the validate.exists and in my case the exception was thrown even if I set the exception On Fail flag to false....

If you just want to report if an item exists or not without making your Test Case fail you can use following method: Repo Item Info. in reporting as follows: Hi,the following exists methods return a boolean: Exists Method (path, search Timeout, message, exception On Fail)Exists Method (path, search Timeout, message, options)Exists Method (path, search Timeout, message, exception On Fail)Exists Method (path, search Timeout, message, options)Exists Method (item Info, message, exception On Fail)Exists Method (item Info, message, options)Exists Method (element, message, exception On Fail)Exists Method (element, message, options)Regards, Tobias Support Team Hi,thank you for this fast reply... So, if your repo item is 'My Item', the Repo Item Info object would be "My Item Info" and you would just add ". Hi, Thanks for the clarification on when to use Validate class but I don't use Ranorex Repository object at all in my code but only access elements using its Rx Path using Visual Studio.

Rather than rushing to build a product or business around an unproven concept, it’s better to first determine demand from possible users and customers.