Recording Window Declarations for the Main Window and Menu Hierarchy

  1. Start your application.
  2. Click File > New in Silk Test Classic.
  3. Click Test Frame and then click OK. Silk Test Classic displays the New Test Frame dialog box.
  4. If you are using the Open Agent, follow the appropriate wizard to select your application, depending on whether you want to test an application that uses a Web browser or not. When you have stepped through the wizard, the Choose name and folder of the new frame file dialog box opens.
  5. In the Frame filename (Classic Agent) or the File name (Open Agent) text box, accept the default test frame name (frame.inc), or type a new name. By default, Silk Test Classic names the new test frame file frame.inc, denoting it is an include file that contains declarations. If you change the default name of the file, make sure to include the file extension .inc in the new file name. If you do not, the file is not identified to Silk Test Classic as an include file and Silk Test Classic will give it a .txt extension and report a compilation error when you click OK to create the file.
  6. If you are using the Classic Agent, select your application from the Application list box. The Application list box displays all applications that are open and not minimized. If your test application is not listed, click Cancel, open your application, and click File > New again.
  7. Click OK (Classic Agent) or Save (Open Agent). Silk Test Classic creates the new test frame file. Window declarations display in the test plan editor, which means that the declarations for individual GUI objects can be expanded to show detail, collapsed to hide detail, and edited if necessary.