Link
These are the actions associated with the Link step type.
Description
Performs a mouse click on the specified object.
See Click.
Performs the action of dragging a PTF object. It is followed by the Drop_Over action where a previously selected object is dragged and released over a newly selected object on the same page.
See Drag_From.
Performs the action of dragging and releasing a PTF object over a newly selected object on the same page. It is preceded by the Drag_From action where a previously selected object is dragged from a position.
See Drop_Over.
Description
Checks whether the object exists on the page.
See Exists.
Description
Gets the property value
of an HTML object and assign to the prop=value
parameter. Also stores it to the variable in ret=&variable
.
See Get_Property.
Description
Gets the style value of
properties in a class from the HTML stylesheet. The value is assigned
to prop=value
parameter and stores it to the variable in ret=&variable
.
See Get_Style.
Description
Performs a right-click, save as action on a link. Enter the link name in the Recognition column and the fully-qualified file name in the Value column.
Example
This example shows test steps that save a report to a target location. From the View Log/Trace page (PMN_CDM_INDEX) in the Process Monitor, it clicks on the report name link, verifies it is the correct report, and then saves the report to a file.
Type |
Action |
Recognition |
Parameters |
Value |
---|---|---|---|---|
Link |
Click |
Name=PMN_DERIVED_INDEX_BTN |
|
|
Link |
Verify |
Name=URL$0 |
|
DDDAUDIT_532.PDF |
Link |
SaveTargetAs |
Name=URL$0 |
|
C:\TEMP\DDDAUDIT.PDF |
Description
Compares the value in the browser to the expected value, and adds a pass or fail log entry for the validation.
See Verify.