Version

OpenLink Method (WinDesktopAlertWindowReplayServer)

Replay Action for Clicking open a text link
Syntax
'Declaration
 
Public Sub OpenLink( _
   ByVal iQTPLinkType As System.Integer, _
   Optional ByVal oLinkText As System.Object, _
   Optional ByVal oLinkHRef As System.Object _
) 
public void OpenLink( 
   System.int iQTPLinkType,
   System.object oLinkText,
   System.object oLinkHRef
)

Parameters

iQTPLinkType
oLinkText
[Optional]String value of the visual text that is to be clicked.
oLinkHRef
[Optional]String value of the link HREF target for the link to be clicked.
Remarks

Both oLinkText and oLinkHRef are optional for replay. If oLinkHRef is left out, it will click the first occurance of oLinkText in the sLinkType area. If oLinkText and oLinkHREF are left out, then it will click the first link in the sLinkType area. Will report a replay error if a matching link in the appropriate section cannot be found, or if an improper link type is supplied

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also