Table of Contents

Interface IRemoteElement

Namespace
Ranorex.Core.Remoting
Assembly
Ranorex.Core.dll

Represents a remote UI-Element. Remote UI-Elements are such elements that are not residing on localhost. Instead they are elements of applications running on a device computer that is connected to the ranorex System by a network channel.

public interface IRemoteElement

Remarks

Primarily this interface is used within the Adapter class to check if an element is a remote element. If so, the Mouse and Key sequences are not handled by the 'global' Mouse and Keyboard handler class, instead it is forwarded to the element itself, so that it can handle it (in general handling within an element means sending data over the network so that the remote device/machine performs the required actions). Additionally the Imaging class will check if an element is an IRemoteElement. If so it will call CaptureScreenshot() to retrieve the screenshot from the element instead of taking a screenshot from the local desktop.

Methods

CaptureRootScreenshot()

Bitmap CaptureRootScreenshot()

Returns

Bitmap

CaptureScreenshot()

Bitmap CaptureScreenshot()

Returns

Bitmap

GetDevToolsSession()

IDevToolsSession GetDevToolsSession()

Returns

IDevToolsSession

PressKeys(string)

void PressKeys(string keySequence)

Parameters

keySequence string

Swipe(SwipeEvent)

void Swipe(SwipeEvent evt)

Parameters

evt SwipeEvent

Touch(TouchEvent)

void Touch(TouchEvent evt)

Parameters

evt TouchEvent

Update()

void Update()