CloseWebPage |
Top Previous Next |
×V4.1Ø
Syntax - CloseWebPage [<Page Name>] Where: <Page Name> is a literal string, the keyword OriginalWebPage, a variable containing a string or an unquoted user defined name.
Description: This command closes the web browser window that was opened by the OpenWebPage command. If the web browser was opened using the OpenAdditionalWebPage command, the optional parameter <Page Name> can be used, CloseWebPage will close the web browser specified. As a best practice, the web browser should always be closed with this command after all web scripting commands have finished processing.
Soarian SmartUI: No Chrome: Yes
Sample 1: The following statement closes the Internet Explorer browser window that was previously opened within the script. CloseWebPage
Sample 2: The following statement closes the Internet Explorer browser window that was opened using OpenAdditionalWebPage. CloseWebPage "Web_Page_2"
Sample 3: The following statement closes the Internet Explorer browser window that was opened using OpenWebPage. CloseWebPage OriginalWebPage
Sample 4: The following statement closes the Internet Explorer browser window that was opened using OpenAdditionalWebPage. CloseWebPage ReportsAndCubes
See Also:
|