Skip to Content
実践 Appium
book

実践 Appium

by Manoj Hans, 太田 健一郎, 児島 修
November 2016
Intermediate to advanced
204 pages
2h 41m
Japanese
O'Reilly Japan, Inc.
Content preview from 実践 Appium

1章Appiumの概念と背景

この章では、Appiumアーキテクチャー、JavaScript Object Notation(JSON)ワイヤプロトコル、Appiumセッションについて学びます。また、Appiumを始める前に「Desired Capabilities」についても理解を得ておくようにします。さらに、Appiumサーバとそのクライアントライブラリに関するトピックについても言及します。

まとめると、この章では次の内容について学びます。

  • Appiumのアーキテクチャー
  • Selenium JSONワイヤプロトコル
  • Appiumセッション
  • Desired Capabilities
  • Appiumサーバ/クライアントライブラリ

1.1 Appiumアーキテクチャー

AppiumはNode.jsで記述され、WebDriverセッションを作成・処理するHTTPサーバです。Appium Webサーバは、Selenium WebDriverと同じアプローチに従い、JSONを介してクライアントライブラリからのHTTPリクエストを受信し、実行しているプラットフォームに応じた異なる方法でこれらのリクエストを処理します。

では、AppiumがiOSとAndroidの内部でどのように機能しているかを説明していきましょう。

1.1.1 iOS内部でのAppium

OSデバイス上では、AppiumはUI要素とインタラクションするためにAppleのUIAutomation APIを使用します。UIAutomationは、Appleが提供する、テストスクリプトを記述するためのJavaScriptライブラリです。Appiumは、iOSアプリを自動化するためにこのライブラリを利用します。

この図では、実行されたテストスクリプトは、HTTPリクエストを介してJSONの形式でAppiumサーバに送られます。Appiumサーバはデバイスにコマンドを送信し、デバイスはAppiumサーバからiOSデバイスにプッシュされた ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

実践 自然言語処理 ―実世界NLPアプリケーション開発のベストプラクティス

実践 自然言語処理 ―実世界NLPアプリケーション開発のベストプラクティス

Sowmya Vajjala, Bodhisattwa Majumder, Anuj Gupta, Harshit Surana, 中山 光樹
情報アーキテクチャ 第4版 ―見つけやすく理解しやすい情報設計

情報アーキテクチャ 第4版 ―見つけやすく理解しやすい情報設計

Louis Rosenfeld, Peter Morville, Jorge Arango, 篠原 稔和, 岡 真由美
入門 PySpark ―PythonとJupyterで活用するSpark 2エコシステム

入門 PySpark ―PythonとJupyterで活用するSpark 2エコシステム

Tomasz Drabas, Denny Lee, Sky株式会社 玉川 竜司
組織を変える5つの対話 ―対話を通じてアジャイルな組織文化を創る

組織を変える5つの対話 ―対話を通じてアジャイルな組織文化を創る

Douglas Squirrel, Jeffrey Fredrick, 宮澤 明日香, 中西 健人, 和智 右桂

Publisher Resources

ISBN: 9784873117843Other