DefaultBaseState and the wDynamicMainWindow Object

Silk Test Classic executes the DefaultBaseState for dynamic object recognition when the default agent is the Open Agent and the global constant wDynamicMainWindow is defined. DefaultBaseState works with the wDynamicMainWindow object in the following ways:

  1. If the wDynamicMainWindow object does not exist, invoke it, either using the Invoke method defined for the MainWin class or a user-defined Invoke method built into the object.
  2. If the wDynamicMainWindow object is minimized, restore it.
  3. If there are child objects of the wDynamicMainWindow open, close them.
  4. If the wDynamicMainWindow object is not active, make it active.
  5. If there is a BaseState method defined for the wDynamicMainWindow object, execute it.