Version

ClickAlertButton Method (WinDesktopAlertWindowReplayServer)

Replay Action for clicking an alert button.
Syntax
'Declaration
 
Public Sub ClickAlertButton( _
   ByVal oButton As System.Object _
) 
public void ClickAlertButton( 
   System.object oButton
)

Parameters

oButton
oButton is the button to be clicked
Remarks

oButton can be either the string key, or the index for the alert button in the UltraDesktopAlert AlertButtons collection. Will report a replay error if either the button referenced cannot be found or if it is not visible.

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