---
title: クラウドでのAppiumの自動化
description: TestingBotを使用して大規模な自動Appiumテストを実行します。物理的なiOSおよびAndroidデバイスでAppiumテストを実行します。
source_url:
  html: https://ja.testingbot.com/features/automation/appium
  md: https://ja.testingbot.com/features/automation/appium.md
---

Appium 1、2、3 が準備完了 
# Appiumクラウド自動化

Appiumテストを実際のiOSおよびAndroidデバイスで実行できます。ネイティブアプリ、ハイブリッドアプリ、モバイルWebアプリに対応。大規模な並列処理、ビデオおよびログアーティファクト、99.9%の稼働率SLAを提供します。

すべてのプラットフォームをご覧になりたいですか？ [自動化フレームワークの全ラインナップ](https://ja.testingbot.com/features)をご覧ください。

[無料で始める](https://ja.testingbot.com/users/sign_up) [デモをリクエストする](https://testingbot.com/demo)

- **実機:** 200以上
- **Appiumのバージョン:** 1、2、3
- **稼働時間SLA:** 99.9%

_TestingBotクラウド上で、実際のiOS、Android、Samsung、Pixelデバイス上でAppiumテストを実行_

世界で最も革新的な企業のいくつかから信頼されています

 5ライン設定 
## 既存のAppiumスクリプトを実機で実行

AppiumドライバーをTestingBotハブに向け、アプリと機能を指定するだけで、数秒以内に実際のiPhoneまたはAndroidスマートフォン上でテストが実行されます。

 hub.testingbot.com Copy

 JavaScript Python Java Ruby C# PHP 

```javascript
// Run an Appium test on a real iPhone in the TestingBot cloud
const { remote } = require('webdriverio');

const driver = await remote({
  hostname: 'hub.testingbot.com',
  port: 443,
  protocol: 'https',
  capabilities: {
    'platformName': 'iOS',
    'appium:deviceName': 'iPhone 15',
    'appium:platformVersion': '18',
    'appium:app': 'tb://YOUR_APP_ID',
    'tb:options': { name: 'Checkout flow', realDevice: true }
  }
});

await driver.deleteSession();
```

```python
# Run an Appium test on a real Android device in the TestingBot cloud
from appium import webdriver
from appium.options.android import UiAutomator2Options

options = UiAutomator2Options()
options.platform_version = '14'
options.device_name = 'Galaxy S24'
options.app = 'tb://YOUR_APP_ID'
options.set_capability('tb:options', {'name': 'Checkout flow', realDevice: True})

driver = webdriver.Remote(
    'https://hub.testingbot.com/wd/hub',
    options=options
)
driver.quit()
```

```java
// Run an Appium test on a real iPhone in the TestingBot cloud
XCUITestOptions options = new XCUITestOptions()
    .setPlatformVersion("18")
    .setDeviceName("iPhone 15")
    .setApp("tb://YOUR_APP_ID");
options.setCapability("tb:options", Map.of("realDevice", true, "name", "Checkout flow"));

IOSDriver driver = new IOSDriver(
    new URL("https://KEY:SECRET@hub.testingbot.com/wd/hub"),
    options
);

driver.quit();
```

```ruby
# Run an Appium test on a real Android device in the TestingBot cloud
require 'appium_lib'

caps = {
  'platformName' => 'Android',
  'appium:deviceName' => 'Pixel 9',
  'appium:platformVersion' => '15',
  'appium:app' => 'tb://YOUR_APP_ID',
  'tb:options' => { name: 'Checkout flow', realDevice: true }
}

driver = Appium::Driver.new(
  { caps: caps, appium_lib: { server_url: 'https://hub.testingbot.com/wd/hub' } }, true
).start_driver
```

```csharp
// Run an Appium test on a real iPhone in the TestingBot cloud
var options = new AppiumOptions();
options.PlatformName = "iOS";
options.AddAdditionalAppiumOption("deviceName", "iPhone 15");
options.AddAdditionalAppiumOption("platformVersion", "18");
options.AddAdditionalAppiumOption("app", "tb://YOUR_APP_ID");
options.AddAdditionalAppiumOption("tb:options", new Dictionary<string, object> { { "realDevice", true }, { "name", "Checkout flow" } });

var driver = new IOSDriver(
    new Uri("https://KEY:SECRET@hub.testingbot.com/wd/hub"),
    options
);
driver.Quit();
```

```php
// Run an Appium test on a real Android device in the TestingBot cloud
$capabilities = [
    'platformName' => 'Android',
    'appium:deviceName' => 'Galaxy S24',
    'appium:platformVersion' => '14',
    'appium:app' => 'tb://YOUR_APP_ID',
    'tb:options' => ['realDevice' => true, 'name' => 'Checkout flow'],
];

$driver = RemoteWebDriver::create(
    'https://KEY:SECRET@hub.testingbot.com/wd/hub',
    $capabilities
);
$driver->quit();
```

Connected · [Dokumentation anzeigen](https://testingbot.com/support/app-automate/appium/nodejs) [Dokumentation anzeigen](https://testingbot.com/support/app-automate/appium/python) [Dokumentation anzeigen](https://testingbot.com/support/app-automate/appium/java) [Dokumentation anzeigen](https://testingbot.com/support/app-automate/appium/ruby) [Dokumentation anzeigen](https://testingbot.com/support/app-automate/appium/csharp) [Dokumentation anzeigen](https://testingbot.com/support/app-automate/appium/php) 

既にお使いのWebDriverプロトコルと同じものを使用し、エンドポイントを1つ切り替えるだけです。詳しい使用例については、 [TestingBotのAppium](https://testingbot.com/support/app-automate/appium)に関するドキュメントをご覧ください。

 ![社内のデバイスラボを交換してください](https://ja.testingbot.com/assets/features/appium/devicelab-75f7f33e3f397b019864f68f343211683c6d06a40e9334eda108d9f0d053297d.jpg)

 Real device cloud 
## 社内のデバイスラボを交換してください

iOSおよびAndroidデバイスを購入、ホスト、および保守する必要がなくなりました。

Appiumセッションごとに、ビデオスクリーンキャスト、Appiumサーバーログ、デバイスログ、スクリーンショット、ネットワークHARが付属します。REST [API](https://testingbot.com/support/api)から成果物を取得し、Jira、Slack、またはCIダッシュボードに直接投稿できます。

- 本物のiPhone、iPad、Galaxy、Pixel、OnePlus
- ネイティブアプリ、ハイブリッドアプリ、モバイルウェブアプリ
- 新品同様のデバイス、セッションごとに工場出荷時設定にリセット
- 各テストのHDビデオ、ログ、HAR
- IPA、APK、TestFlightビルドをアップロードする

 言語とフレームワーク 
## Appiumフレームワーク

TestingBotは、さまざまなテストフレームワークおよびサービスと統合されます。既存のAppiumテストを簡単に変換し、お気に入りのCI/CDに接続します。

- ### [Java](https://testingbot.com/support/app-automate/appium/java)

  - [TestNG](https://testingbot.com/support/app-automate/appium/java/testng)
  - [JUnit](https://testingbot.com/support/app-automate/appium/java)

- ### [Python](https://testingbot.com/support/app-automate/appium/python)

  - [PyTest](https://testingbot.com/support/app-automate/appium/python)
  - [Robot Framework](https://testingbot.com/support/app-automate/appium/robotframework)

- ### [JavaScript](https://testingbot.com/support/app-automate/appium/nodejs)

  - [WebDriverIO](https://testingbot.com/support/app-automate/appium/nodejs/webdriverio)
  - [CodeceptJS](https://testingbot.com/support/app-automate/appium/nodejs/codeceptjs)

- ### [Ruby](https://testingbot.com/support/app-automate/appium/ruby)

  - [RSpec](https://testingbot.com/support/app-automate/appium/ruby)
  - [Cucumber](https://testingbot.com/support/app-automate/appium/ruby)

- ### [C#](https://testingbot.com/support/app-automate/appium/csharp)

  - [NUnit](https://testingbot.com/support/app-automate/appium/csharp/nunit)
  - [SpecFlow](https://testingbot.com/support/app-automate/appium/csharp/specflow)

- ### [PHP](https://testingbot.com/support/app-automate/appium/php)

  - [PHPUnit](https://testingbot.com/support/app-automate/appium/php)
  - [Codeception](https://testingbot.com/support/app-automate/appium/php)

Appiumを初めてお使いですか？ [Appiumクイックスタートガイド](https://testingbot.com/support/app-automate/appium)をお読みいただくか、以下の言語別ガイドを直接ご覧ください。

 大規模並列処理 
## テスト実行時間を短縮

TestingBotモバイルデバイスクラウドと並行してテストを実行し、テスト実行を高速化します。様々な実デバイスでシームレスにテストを実施することで、より迅速かつ信頼性の高い結果を得ることができます。

- 最大 100 の同時 Appium セッション
- セッションは数秒で開始され、デバイスの待ち行列はありません。
- 自動再試行とインテリジェントなデバイスシャーディング

[無料で始める](https://ja.testingbot.com/users/sign_up)

 ![テスト実行時間を短縮](https://ja.testingbot.com/assets/features/selenium/parallel-0229d698e59a8a6b92fe50344a08634624f018331ecf8a849ef83cfb35e635a5.png)

Spoof device GPS
20+ regions

アメリカ合衆国

イギリス

ドイツ

フランス

スペイン

ベルギー

オーストラリア

中国

日本

 位置情報テスト 
## 20以上の地域でアプリをテストしてください。

デバイスのGPSを世界中のどこにでも偽装し、iOS App Store、Google Play、および独自のバックエンドで **位置情報** 、 **ジオターゲティング** 、および **ストアフロントのルール** を検証します。

 セキュアデバイス 
## 実機を使用。セッション終了後は毎回データが消去されます。

Appiumの各セッションでは、テスト専用に1台の実機がロックされます。テストが終了すると同時に、デバイスは工場出荷時の設定にリセットされ、インストールされているすべてのアプリが削除され、キャッシュがクリアされ、次の顧客が使用できるようデバイスプールに戻されます。

SOC 2に準拠し、GDPRにも適合。SAML SSOとチーム向けの監査ログ機能も備えています。

- セッションごとに1台のデバイスのみを使用し、共有はしません。
- セッションごとに工場出荷時設定にリセット
- アプリごとの保持期間制御機能を備えた暗号化アプリアップロード

[TestingBotトラストセンターにアクセス](https://trust.testingbot.com/)

1. 1

Your test locks one real device

A pristine iPhone or Android phone is reserved for your session only.

2. 2

Appium drives real hardware

Real sensors, real GPS, real biometrics. Native, hybrid or mobile web.

3. 3

Device factory-reset on release

Apps removed, caches cleared, accounts wiped. Returned clean to the pool.

 継続的インテグレーション 
## AppiumをCI/CDに数分で組み込む

TestingBotは、主要なCI/CDツールすべてと連携します。コミットごとにAppiumスイートをトリガーし、デバイスの動画とログをビルドダッシュボードにストリーミング配信します。

 ![Jenkins](https://ja.testingbot.com/assets/integrations/jenkins-e586a1c4af833e4c8d38d7b392a4e84bd193f30cae9cf8c9f198a58ec943a1ff.webp)

### [Jenkins](https://testingbot.com/support/integrations/ci-cd/jenkins)

 ![Bamboo](https://ja.testingbot.com/assets/integrations/bamboo-c8fe09a3cb0b74d6055e3aa6607d77720bfe29ff487b8e3cf825138adf634346.svg)

### [Bamboo](https://testingbot.com/support/integrations/ci-cd/bamboo)

 ![TeamCity](https://ja.testingbot.com/assets/integrations/teamcity-7e75cdb835903a4983ad276c41d95e569ceac5be486e96ec1f955029ce5bb319.svg)

### [TeamCity](https://testingbot.com/support/integrations/ci-cd/teamcity)

 ![CircleCI](https://ja.testingbot.com/assets/integrations/circleci-ede029654ff39b60342e4a5bba8fc9a3a49305cc38bda215b7cf8d07e85e0543.webp)

### [CircleCI](https://testingbot.com/support/integrations/ci-cd/circleci)

 ![GitLab CI](https://ja.testingbot.com/assets/integrations/gitlab-e4c0b6db07d07bc0a400f5606e258f4dc8a51b778e97bbfa51d1d531f3cb049a.webp)

### [GitLab CI](https://testingbot.com/support/integrations/ci-cd/gitlab)

 ![GitHub](https://ja.testingbot.com/assets/integrations/github-actions-8436242ad9e15381f84f1a98a10dddce15611087f121d6305782e211942b7842.webp)

### [GitHub](https://testingbot.com/support/integrations/ci-cd/github-actions)

 デバイスクラウド 
## 本物のiPhone、iPad、Galaxy、Pixelデバイス

お客様が実際に使用しているiPhone、iPad、Galaxy、Pixel、OnePlus、Xiaomiのスマートフォンでテストできます。発売初日から最新のフラッグシップ端末に加え、幅広い旧機種にも対応し、下位互換性を確保しています。

[すべてのデバイスを表示](https://testingbot.com/support/app-automate/devices)

 ![Test online on iPhone 17 Pro](https://ja.testingbot.com/assets/devices/160h/44-6b4402c6996d9b1620879bb1123c40a6b36abb064e65dca0a1b3f05286779e9c.webp)

iPhone 17 Pro

 ![Test online on iPhone 17 Pro Max](https://ja.testingbot.com/assets/devices/160h/43-59d7e30684332ed4bf25567cbc09ca942eac46d925ccde8352d3e85812480f7d.webp)

iPhone 17 Pro Max

 ![Test online on iPhone 16 Pro](https://ja.testingbot.com/assets/devices/160h/42-de3704079345026847b739a5b1cf5332595904e54ede66abd988a76fb1e6593c.webp)

iPhone 16 Pro

 ![Test online on iPad (9th generation)](https://ja.testingbot.com/assets/devices/160h/41-70f7d18afde7620063a49a76cbfd088f8b59c742f3a5f4dd4a513dd6ec5c676c.webp)

iPad (9th generation)

 ![Test online on Galaxy S26](https://ja.testingbot.com/assets/devices/160h/40-e917ed08e15b5941fed75855ac457dd1df46b471a2020f081c4d70cefb68f4e8.webp)

Galaxy S26

 ![Test online on Huawei P40](https://ja.testingbot.com/assets/devices/160h/39-32a788c7e66a3da1c88eaaefefd37381f729e510f096b43906968b6907c44c57.webp)

Huawei P40

 Secure Tunnel 
## 内部バックエンドと通信するテストアプリ

当社の[セキュアトンネル](https://testingbot.com/support/tunnel)を使用することで、AppiumテストからプライベートAPI、ステージング環境、およびlocalhost上で実行されているサービスにアクセスできます。

エンドツーエンドで暗号化され、受信ファイアウォールルールは不要で、主要なCIプロバイダーにすぐに対応できます。

 ![TestingBot secure tunnel for Appium](https://ja.testingbot.com/assets/features/tunnel-diagram-poster-8c25e19e6fe4f7276a46a96b31a0ad0e07bb4f5bf98dc192d2b70897cfbb1a26.png)

[続きを読む](https://ja.testingbot.com/support/tunnel)

 購入か建築か 
## TestingBotと社内デバイスラボの比較

独自のiOSおよびAndroidデバイスラボを構築・維持するには費用がかかります。デバイスは故障し、バッテリーは膨張し、OSのアップデートは頻繁に配信されます。ホスト型デバイスクラウドは、これらのコストをどのように比較できるでしょうか。

| 能力 | テストボット | 社内デバイスラボ |
| --- | --- | --- |
| デバイスカバレッジ | 本物のiPhone、iPad、Galaxy、Pixel、OnePlus、Xiaomiは、リリースごとに刷新されています。 | 自分で購入してラックに収納できるものに限定されます |
| 最初のテストの時間 | 数分で、AppiumドライバーのURLを1つ変更するだけです。 | 数週間にわたるプロビジョニング、MDM、Appiumサーバーのセットアップ |
| 並列スケーリング | 最大100セッション同時接続可能（オンデマンド） | 所有するデバイスの数によって制限されます |
| ビデオとログ | ビデオ、デバイスログ、Appiumログ、HARファイルが含まれています。 | 独自の録音・ログ集約システムを構築する |
| 信頼性 | 稼働率99.9%のSLA、24時間365日の監視 | 電池切れや画面の破損を修理します。 |
| 安全 | セッションごとにデバイスを工場出荷時の状態にリセットします | 手作業による清掃、残存する州のリスク |
| サポート | 24時間365日の人的サポートと専任のカスタマーサクセスマネージャー | Stack Overflowとあなた自身のログ |

よくある質問
## TestingBot 上の Appium — よくある質問

Appiumとは何ですか？また、TestingBotでAppiumを実行する理由は何ですか？

Appiumは、ネイティブアプリ、ハイブリッドアプリ、モバイルWebアプリ向けのオープンソースの自動化フレームワークです。TestingBotは、既存のAppiumスクリプトで操作できる、実機のiPhone、iPad、Galaxy、Pixelデバイスを多数ホストしています。ドライバを`https://hub.testingbot.com/wd/hub`に指定するだけで、数秒で実機上でテストが実行されます。

どのAppiumバージョンがサポートされていますか？

TestingBotは、Appium 1、Appium 2、Appium 3をサポートしており、Appium 2/3プラグイン、最新のXCUITestおよびUIAutomator2ドライバーも含まれています。機能設定により、テストごとに特定のAppiumサーバーバージョンを固定できるため、新しいテストをAppium 3に移行しながら、既存のテストスイートはAppium 1で実行し続けることができます。

ネイティブアプリ、ハイブリッドアプリ、モバイルウェブアプリをテストできますか？

はい。TestingBotは、Appiumの3つのコンテキストすべてをサポートしています。XCUITestによるネイティブiOSアプリ、UIAutomator2またはEspressoによるネイティブAndroidアプリ、WebViewによるハイブリッドアプリ、そして実機上のSafariとChromeによるモバイルWebです。

IPAファイルまたはAPKファイルをアップロードするにはどうすればよいですか？

REST APIまたはCLIを使用してビルドを[TestingBot Storage](https://testingbot.com/support/app-automate/help/upload)にアップロードし、Appiumの機能から参照してください。ビルドはアプリごとに保持できるため、迅速な再実行が可能です。

Appiumのテストを並列実行することはできますか？

はい。TestingBotのプランでは、実機上で最大100個のAppiumセッションを並行して実行できます。各セッションは専用のデバイスをロックするため、テスト同士が干渉することはありません。

これらの機器は本物ですか、それともシミュレーターですか？

TestingBotのモバイルクラウドは、実際のiOSおよびAndroidデバイスを使用しています。初期段階のテスト向けにiOSシミュレーターとAndroidエミュレーターも提供していますが、精度を確保するためには実機の使用がデフォルトであり、推奨されるターゲットです。

プライベートバックエンドを必要とするアプリをテストできますか？

弊社の[セキュアトンネル](https://testingbot.com/support/tunnel)をインストールすれば、AppiumテストからステージングAPI、内部サービス、ローカルホストにアクセスできます。受信ファイアウォールルールは不要です。

このデバイスのクラウドはSOC 2/GDPRに準拠していますか？

TestingBotはGDPRに準拠し、EU域内にデータ保管場所を確保しています。また、ISO 27001に準拠し、STARレベル1の認証を取得しています。デバイスはセッションごとに工場出荷時設定にリセットされ、アプリのアップロードは暗号化されます。エンタープライズプランでは、SAML SSOと監査ログが利用可能です。

## TestingBotを愛する理由

### 24時間365日サポート

ご質問はございますか？24時間年中無休のアプリ内[チャットサポートを](https://ja.testingbot.com#)ご利用いただくか、[メールでお問い合わせください](https://ja.testingbot.com/contact/new)。喜んでお手伝いさせていただきます！

TestingBot サポート

こんにちは👋 何かお手伝いしましょうか？

I need support

### 14,000以上のチームから信頼されています

6M+

テスト

120k+

ユーザー

400+

企業

106

国

[デモをリクエストする](https://testingbot.com/demo)

### 開発者向けドキュメント

TestingBotをワークフローに統合するために必要なものがすべて揃っています。Webテストとモバイルテスト用のガイド、APIリファレンス、SDKをご覧ください。

- [Appium Quickstart](https://testingbot.com/support/app-automate/appium)
- [App uploads (IPA / APK)](https://testingbot.com/support/app-automate/help/upload)
- [Available devices](https://testingbot.com/support/app-automate/devices)
- [CI/CD integration](https://testingbot.com/support/integrations/ci-cd)

[ドキュメントを見る](https://testingbot.com/support)

### エンタープライズグレードのセキュリティ

STAR Level 1

Certified

GDPR

Compliant

SAML SSO

Single Sign-On

99.9%

Uptime SLA

[TestingBotトラストセンターにアクセス](https://trust.testingbot.com/)

## Appiumテストを開始する準備はできましたか？

開始するには、 [Appiumテスト](https://testingbot.com/support/app-automate/appium)のドキュメントを参照するか[、デモを予約して](https://testingbot.com/demo)ください。

[無料トライアルを開始する](https://ja.testingbot.com/users/sign_up)

あなたが好きかもしれないリソース

[![Using Touch Actions with Appium](https://ja.testingbot.com/assets/resources/articles/24-490f70ad8a80e4534523707125b88e44e70fe19b126be4f44e689bbd5f6a0cbf.webp)](https://testingbot.com/resources/articles/touch-actions-appium)
### [Using Touch Actions with Appium](https://testingbot.com/resources/articles/touch-actions-appium)

Find out how to use Touch Actions with Appium.

[続きを読む](https://testingbot.com/resources/articles/touch-actions-appium)

[![Migrate from Appium 1.x to Appium 2.x](https://ja.testingbot.com/assets/resources/articles/27-121da26036885301ba438e1cdfc81e7ae8045cbc53c0dafaff5b4436000590b1.webp)](https://testingbot.com/resources/articles/appium-2-migration)
### [Migrate from Appium 1.x to Appium 2.x](https://testingbot.com/resources/articles/appium-2-migration)

Learn how to migrate from Appium 1 to the new Appium 2.

[続きを読む](https://testingbot.com/resources/articles/appium-2-migration)

[![Dark Mode Testing with Appium](https://ja.testingbot.com/assets/resources/articles/22-ed15fa0f3fde7566416fff5078b44689dc274439b2fb829f8c68603e909a65d6.webp)](https://testingbot.com/resources/articles/dark-mode-testing)
### [Dark Mode Testing with Appium](https://testingbot.com/resources/articles/dark-mode-testing)

Perform dark mode automated testing on iOS and Android with Appium.

[続きを読む](https://testingbot.com/resources/articles/dark-mode-testing)
