Property checks
How to make property checks of specified windows or controls.
Each window and control has a set of properties along with values for those properties. Property sets vary depending on the class of object involved. A button, for example, has a different set of properties than a window. The most common built-in actions used for property checks are check window property, which checks the value of a specified property of a window against an expected value, and check control property, which captures the value of a specified property from a control and then compares it against an expected value.
For example, suppose you want to verify the title, maximized or visible properties of the Login window.
You can make a test script as follows:
If the verification succeeds, check window property reports a Passed message; otherwise, it reports a Failed message.
For example, suppose you want to check the value and raw class properties of the available cars text box.
You can make a test script as follows:
If the verification succeeds, the check control property reports a Passed message; otherwise, it reports a Failed message.