アクティビティ
最新
バナーの背景画像
UI Automation のアクティビティ
最終更新日 2024年4月26日

ApplicationBuilder クラス

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

定義

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

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

構文

public class ApplicationBuilderpublic 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 文字列
アプリの場所です。
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 として渡して設定します。

戻り値

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 文字列
追加する機能の値です。

戻り値

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 文字列
アプリの場所です。

戻り値

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 として渡して設定します。

戻り値

ApplicationBuilder

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

  • 定義
  • 構文
  • コンストラクター
  • メソッド
  • 開発
  • WithAndroidApp
  • WithAndroidWeb
  • WithCapabilities
  • WithCapability
  • WithIosApp
  • WithIosWeb

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.