Verifying that a Window or Control is No Longer Displayed

  1. 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.
  2. 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.
  3. Click the Property tab. Silk Test Classic lists the properties for the selected window or control on the right.
  4. 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.
  5. Change the value in the Property Value field from TRUE to FALSE.
  6. 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.