Verifying that a Window or Control is No Longer Displayed
Click
Record > Testcase to begin recording a test case and drive your application to the state you want to verify. To record a verification statement
in an existing test case, click
Record > Actions.
When you are ready to record a verification statement, position the mouse cursor over the object you want to verify, and press
Ctrl+Alt.
Silk Test Classic displays the
Verify Window dialog box over your application window.
Click the
Property tab.
Silk Test Classic lists the properties for the selected window or control on the right.
Make sure that only the
Exists property is selected for the window or control.
If additional properties are selected, the verification will fail because the actual list of properties will differ from
the expected list.
Change the value in the
Property Value field from
TRUE to
FALSE.
Click
OK to accept the
Exists property for the selected window or control.
Silk Test Classic closes the
Verify Window dialog box and displays the
Record Status window. The test case will verify that the window or control has the property value of
FALSE, verifying that the object is no longer displayed. If not,
Silk Test Classic writes an error to the results file.