Validate

Class library usage, coding and language questions.
omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Validate

Post by omayer » Wed Feb 20, 2013 3:36 pm

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
Tipu

User avatar
Ciege
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Validate

Post by Ciege » Wed Feb 20, 2013 4:15 pm

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...
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...