Validate.HasState method question
Posted: Tue Dec 30, 2008 11:17 am
I am newbie to Ranorex and I have some questions regarding Validate.HasState method.
It is possible to validate that element has required state using Validate.HasState method. But I need to validate element that it does not have the state. For example,
in one case button should has state State.Unavailable
in other case it should not have this state. How is it possible to validate. The button doesn't have state State.Normal or State.Default.
One more question: my controls has set of state, e.g. State.Focusable, State.Selectable e.t.c. Is it possible to validate a set of states?
It is possible to validate that element has required state using Validate.HasState method. But I need to validate element that it does not have the state. For example,
in one case button should has state State.Unavailable
in other case it should not have this state. How is it possible to validate. The button doesn't have state State.Normal or State.Default.
One more question: my controls has set of state, e.g. State.Focusable, State.Selectable e.t.c. Is it possible to validate a set of states?