Link

These are the actions associated with the Link step type.

Description

Performs a mouse click on the specified object.

See Click.

Description

Checks whether the object exists on the page.

See Exists.

Description

Gets the property value of an HTML object based on the prop=value parameter and assigns it to the variable in ret=&variable.

See Get_Property.

Description

Gets the style value of an HTML object based on the prop=value parameter and assigns 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.