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

UI Automation Activities

Last updated Dec 20, 2024

ApplicationBuilder Class

Use this class to build and configure the application that you want to connect to.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Syntax

public class ApplicationBuilderpublic class ApplicationBuilder
The ApplicationBuilder type exposes the following members.

Constructors

public ApplicationBuilder(
	string displayName
)public ApplicationBuilder(
	string displayName
)
ApplicationBuilder
Initializes a new instance of the ApplicationBuilder class.

Methods

These are the methods that you can use to build your application.

Build

Creates the Application object, that you can later configure.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

ApplicationBuilder.Build

Build()Build()

Return value

Application

The Application object.

WithAndroidApp

Specify the Android App that you want to use.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

ApplicationBuilder.WithAndroidApp(string, string, string)

WithAndroidApp(
	string appUrl,
	string appPackage = null,
	string appActivity = null
)WithAndroidApp(
	string appUrl,
	string appPackage = null,
	string appActivity = null
)
appUrl String
The app location.
appPackage String (Optional)
The mobile application package.
appActivity String (Optional)
Add an activity instance.

Return Value

ApplicationBuilder

Returns the updated application builder.

WithAndroidWeb

Specify the Android website that you want to use.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

ApplicationBuilder.WithAndroidWeb(string)

WithAndroidWeb(
	string startPage
)WithAndroidWeb(
	string startPage
)
startPage String
Set a up a startup page, by passing it as a string.

Return value

ApplicationBuilder

Returns the updated application builder.

WithCapabilities

Configure the capabilities of the application that you want to use.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

ApplicationBuilder.WithCapabilities(PlatformType, Dictionary<string, string>)

WithCapabilities(
	PlatformType platform,
	Dictionary<string, string> capabilities
)WithCapabilities(
	PlatformType platform,
	Dictionary<string, string> capabilities
)
platform PlatformType
The type of platform hosting the browser.
capabilities Dictionary< String, String>
Configure additional capabilities.
Visit Appium capabilities to see the available capabilities.

Return value

ApplicationBuilder

Returns the updated application builder.

WithCapability

Add a single capability to the application that you want to use.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

ApplicationBuilder.WithCapability(PlatformType, string, string)

WithCapability(
	    PlatformType platform,
	    string key,
	    string value
)WithCapability(
	    PlatformType platform,
	    string key,
	    string value
)
platform PlatformType
The type of platform hosting the browser.
key String
The name of the capability that you want to add.
Visit Appium capabilities to see the available capabilities.
value String
The value of the capability that you want to add.

Return value

ApplicationBuilder

Returns the updated application builder.

WithIosApp

Specify the iOS application that you want to use.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

ApplicationBuilder.WithIosApp(string)

WithIosApp(
	    string appUrl
)WithIosApp(
	    string appUrl
)
appUrl String
The app location.

Return value

ApplicationBuilder

Returns the updated application builder.

WithIosWeb

Specify the web iOS app that you want to use.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

ApplicationBuilder.WithIosWeb(string)

WithIosWeb(
	    string startPage
)WithIosWeb(
	    string startPage
)
startPage String
Set a startup page, by passing it as a string.

Return value

ApplicationBuilder

Returns the updated application builder.

  • Definition
  • Syntax
  • Constructors
  • Methods
  • Build
  • WithAndroidApp
  • WithAndroidWeb
  • WithCapabilities
  • WithCapability
  • WithIosApp
  • WithIosWeb

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.