activities
latest
false
UiPath logo, featuring letters U and I in white

UI Automation Activities

Last updated Dec 4, 2024

GetRuntimeTarget

Retrieves the runtime target of a specified target.

This API must be added after Open or Attach.

Definition

Namespace: UiPath.UIAutomationNext.API.Models

Assembly: UiPath.UIAutomationNext.API.Models (in UiPath.UIAutomationNext.API.Models dll)

Overloads

OverloadDescription
GetRuntimeTarget(String)Retrieves the runtime target of a specified target, identified by a string from Object Repository.
GetRuntimeTarget(TargetAchorableModel, GetRuntimeTargetOptions)Retrieves the runtime target of a specified target, identified by the TargetAnchorableModel object, while customizing the retrieval process.

GetRuntimeTarget(String)

Retrieves the runtime target of a specified target, identified by a string from Object Repository.

GetRuntimeTarget(
    string target)GetRuntimeTarget(
    string target)
target String
The runtime target, identified by a string from Object Repository.

GetRuntimeTarget(TargetAchorableModel, GetRuntimeTargetOptions)

Retrieves the runtime target of a specified target, identified by the TargetAnchorableModel object, while customizing the retrieval process.
GetRuntimeTarget(
    TargetAnchorableModel target,
    [GetRuntimeTargetOptions getRuntimeTargetOptions])GetRuntimeTarget(
    TargetAnchorableModel target,
    [GetRuntimeTargetOptions getRuntimeTargetOptions])
target TargetAnchorableModel
The runtime target, identified by the TargetAnchorableModel object.
getRuntimeTargetOptions GetRuntimeTargetOptions
Additional options to customize the process of retrieving the runtime target.

Return value

RuntimeTarget

The runtime target of the specified target. This applies for the GetRuntimeTarget(TargetAchorableModel, GetRuntimeTargetOptions) overload.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.