Page 1 of 1

Validate

Posted: Wed Feb 20, 2013 3:36 pm
by omayer
How do i get returned value true or false when using validate.exist(..), then i want to put the returned value on condition ,,
-- i am not using repo so can't use this snippet..Validate.Exists(repo.SaveDialog.ButtonOKInfo,"Check Object '{0}'",false);



Thank you in Advance

Re: Validate

Posted: Wed Feb 20, 2013 4:15 pm
by Ciege
If you read the API document about the Validate class for the .Exists method...

You will see that you can use an XPath OR an Element OR a RepoItem as a parameter...