|
Open Web Page Action |
Declaration |
<AMOPENWEBPAGE PAGE="text" WAIT="yes/no"> |
See Also |
Opens the specified address (example: http://www.unisyn.com) in 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 can not only load the web page but wait until the page is finished loading. This is of special value when a load time is value is required (see AMLASTEXECUTIONTIME system variable), or keys need to be sent to the web page only after it is finished loading. Users may with to use this action to perform load testing, site testing, or automated form completion. Note that 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.
Specifies the web page or URL the 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.
Specifies that the step should wait before moving on to the next step. This works with Microsoft Internet Explorer only and is especially useful if you wish to retrieve the amount of time it takes for the page to load or need to send keystrokes <AMSENDKEYS> or mouse clicks <AMMOUSE> to the page in following steps.
Standard Error Handling Options
This action also includes the standard "Error Causes" and
"On Error" failure handling options/tabs
More on Error Handling Options
Variables and Expressions
All text fields allow the use of expressions by surrounding the
expression in percentage signs (example: %MYVARIABLE%,
%Left('Text',2)%). To help construct these expressions, a popup
expression builder is available in all these fields by pressing F2.
More on variables...
More on expressions...
More on the expression builder...
<AMOPENWEBPAGE PAGE="http://www.unisyn.com">
<AMOPENWEBPAGE PAGE="http://www.unisyn.com" WAIT="NO">