Streamlining HTML Frame Declarations

This functionality is supported only if you are using the Classic Agent.

As you navigate within a web site that uses frames, the GUI objects in individual frames may change independently of other frames in the same window. When you capture declarations for the new GUI objects inside a frame, Silk Test Classic re-declares the frame and the frame’s own parent window. If all pages in the frame have the same caption, you will want to do the following:

  1. Record a new test frame for the Web page. Silk Test Classic captures all the active HTML frames as displayed on the browser.
  2. To declare other HTML frames, make the page display in the browser. This is usually done by clicking a link in an "index" type HTML frame. For example, a static HTML frame region may contain a menu bar or image map to navigate the Web site.
  3. Open the newly recorded declaration, and locate the declaration for the new HTML frame. Copy this BrowserChild object and paste it into bottom of the declaration. This new BrowserChild is a sibling (at the same level) to the initial BrowserChild declarations recorded. Re-name this BrowserChild as desired for easier recognition.
  4. Remove the recorded window declaration (remember you just copied the declaration for the new Html frame into the "main/root" BrowserChild declaration. This declaration and all its children should not be deleted.)