This method is supported only in scripts that use the Classic Agent.
If the page is not visible, precede the Close method with a Select method (PageList).
Silk Test Classic does not record Close() against the JavaSwtRichPageList class; you must add it by hand to your test script. Silk Test Classic only records Select statements against the JavaSwtRichPageList class.
If the page does not have a Close button, Close returns an exception, E_WINDOW_TYPE_MISMATCH.