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

UI Automation activities

Last updated Mar 13, 2026

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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated