Description |
Opens a Web page at the specified address (example: http://www.networkautomation.com) using the default browser. Works best with Microsoft Internet Explorer, which allows the action to detect when the page is finished loading before moving on to the next step. When used with Internet Explorer, this action loads the Web page and waits until the page is finished loading. This is of special value when a load time value is required (see AMLASTEXECUTIONTIME system variable), or keys need to be sent to the Web page only after it is finished loading. This action can be used to perform load testing, site testing, or Automated Workflow form completion. Note: If you simply need to download a file or retrieve the contents of a page (the Web browser does not need to be displayed), it would be better to use the HTTP Download Action <AMHTTPDOWNLOAD>. Similarly, if you need to post values to a Web form and do not wish to go through the browser, it may be better to use the native HTTP Post Action <AMHTTPPOST> to perform this. |
Declaration |
<AMOPENWebPAGE URL="text" WAIT="yes/no" WINDOWTITLEVARIABLE="text [variablename]" WINDOWCLASSVARIABLE="text [variablename]" WINDOWHANDLEVARIABLE="text [variablename]" RESULTDATASET="text" /> |
Example |
<AMOPENWebPAGE URL="http://www.networkautomation.com" WINDOWTITLEVARIABLE="VariableName" /> <AMOPENWebPAGE URL="http://www.networkautomation.com" WAIT="NO" RESULTDATASET="DatasetName" /> |
General Tab Parameters |
Webpage to open: Specifies the Web page or URL that should be loaded. The Web page will open in the default Web browser. This value can be any URL that is valid to the current Web browser. Text, Required Wait for Web page to finish loading: Specifies that the step should wait for the Web page to finish loading before moving on to the next step. This works with Microsoft Internet Explorer only and is especially useful if you wish to record the amount of time it takes for the page to load. Yes/No, Optional, Default: YES |
Advanced Tab Parameters |
Populate variable with window title: Specifies the name of an existing variable that should receive the title of the window that was opened. Text [variablename], Optional, Default: (blank) Populate variable with window class: Specifies the name of an existing variable that should receive the class of the window that was opened. Text [variablename], Optional, Default: (blank) Populate variable with window handle: Specifies the name of an already existing variable that should receive the handle of the window that was opened. Text [variablename], Optional, Default:
(blank) Create and populate dataset with window information: Specifies the name of a dataset to be created and populated with data from the window that was opened. In addition to the standard dataset fields, the dataset will contain the following:
Text, Optional, Default: (blank) |