Created On:  18-05-2010
 
The error message “Function Invoke is not defined for window” can typically occur during the execution of the default basestate or at the start of the testcase when using the SilkTest Classic Agent. If you encounter the error when trying to execute a test against a browser application then it is an indication that you have not set the “Default Browser” setting.

To set the default browser go to “SilkTest | Options | Runtime” and select a browser (eg Internet Explorer 7) from the drop down list instead of the option 'none'.