Interface IRemoteElement
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
CaptureScreenshot()
Bitmap CaptureScreenshot()
Returns
GetDevToolsSession()
IDevToolsSession GetDevToolsSession()
Returns
PressKeys(string)
void PressKeys(string keySequence)
Parameters
keySequencestring
Swipe(SwipeEvent)
void Swipe(SwipeEvent evt)
Parameters
evtSwipeEvent
Touch(TouchEvent)
void Touch(TouchEvent evt)
Parameters
evtTouchEvent
Update()
void Update()