UiPath Documentation
activities
latest
false
UI Automation アクティビティ
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

ApplicationBuilder クラス

モバイル オートメーション API の ApplicationBuilder クラス クラス: このクラスを使用して、接続するアプリケーションを構築して構成します。

このクラスを使用して、接続先のアプリケーションを構築して設定します。

定義​

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

構文​

public class ApplicationBuilder
public class ApplicationBuilder

ApplicationBuilder 型で公開されているメンバーは以下のとおりです。

コンストラクター​

public ApplicationBuilder(
	string displayName
)
public ApplicationBuilder(
	string displayName
)

ApplicationBuilder​

ApplicationBuilder クラスの新しいインスタンスを初期化します。

メソッド​

これらは、アプリケーションの構築に使用できるメソッドです。

開発​

Application オブジェクトを作成します。このオブジェクトは後で設定できます。

定義​

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

ApplicationBuilder.Build​
Build()
Build()
戻り値​

Application

Application オブジェクトです。

WithAndroidApp​

使用する Android アプリを指定します。

定義​

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: 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 : アプリの場所です。

appPackage String (任意) : モバイル アプリケーション パッケージです。

appActivity String (任意) : アクティビティのインスタンスを入力します。

戻り値​

ApplicationBuilder

更新後のアプリケーション ビルダーを返します。

WithAndroidWeb​

使用する Android の Web サイトを指定します。

定義​

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

ApplicationBuilder.WithAndroidWeb(string)​
WithAndroidWeb(
	string startPage
)
WithAndroidWeb(
	string startPage
)

startPage String : 起動ページを string として渡して設定します。

戻り値​

ApplicationBuilder

更新後のアプリケーション ビルダーを返します。

WithCapabilities​

使用するアプリケーションの機能を設定します。

定義​

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: 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: ブラウザーをホストするプラットフォームの種類です。

capabilities Dictionary< String, String> : 追加機能を設定します。利用可能な機能については、「Appium の機能」をご覧ください。

戻り値​

ApplicationBuilder

更新後のアプリケーション ビルダーを返します。

WithCapability​

使用するアプリケーションに機能を 1 つ追加します。

定義​

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: 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: ブラウザーをホストするプラットフォームの種類です。

key 文字列: 追加する機能の名前です。利用可能な機能については、「 Appium の機能 」をご覧ください。

value String : 追加する機能の値です。

戻り値​

ApplicationBuilder

更新後のアプリケーション ビルダーを返します。

WithIosApp​

使用する iOS アプリケーションを指定します。

定義​

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

ApplicationBuilder.WithIosApp(string)​
WithIosApp(
	string appUrl
)
WithIosApp(
	string appUrl
)

appUrl String : アプリの場所です。

戻り値​

ApplicationBuilder

更新後のアプリケーション ビルダーを返します。

WithIosWeb​

使用する Web iOS アプリを指定します。

定義​

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

ApplicationBuilder.WithIosWeb(string)​
WithIosWeb(
	string startPage
)
WithIosWeb(
	string startPage
)

startPage String: 起動ページを stringとして渡して設定します。

戻り値​

ApplicationBuilder

更新後のアプリケーション ビルダーを返します。

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得