BrowserPage Window Declaration

Description

BrowserPage is a Silk Test Classic window declaration that you can use to identify a browser page that has not been specifically declared.

Class

BrowserPage is of class BrowserChild.

Notes

Typically you will declare pages in your application that you test a lot so you can customize the identifiers, perhaps write some methods for those pages, and so on. To reference these pages, you use the identifier you gave to the page.

However, there will also be pages that you do not feel the need to declare. To reference these pages, use BrowserPage as the identifier.

Example

The following prints all child objects of the current browser page, regardless of whether the specific page has a window declaration or not.

ListPrint (BrowserPage.GetChildren ())