Eggplant Functional
レッスン 1
紹介と環境準備
© Copyright 2018 eggplant software
© Copyright 2018 Eggplant
パート 1:
Eggplant Functional の特徴
• Eggplant AIは、機械学習を活用したモデルベースの自動化フレームワークである。
• アプリケーションインターフェイスまたはユーザーの動作をマッピングし、アプリケーションの論理
的探索を定義できる。
• インターフェースのマッピングを定義できる。
• ステートとアクションは、インターフェースのボタン、フィールド、画面フローを反映できる。
• ユーザーの行動を記録できる。
• ステートとアクションは、一連の操作や一連の行動を記録できる。
• 接続は、ステートとアクション間の関係を定義できる。
• テスト要件を検討し、複数のモデルを作成可能である。
© Copyright 2018 Eggplant 3
Eggplant AIとは
Eggplant Functional
クロスモバイルテストを実行中のeggplantAIによって動作するEggplant Functional
Two-System Model
System Overview(システム概要)
Desktop
System Under Test
(SUT)
Eggplant Controller
Mobile
SUT
VNC Server/RDP
Network
Connection
Eggplant Functional
SUT
テクノロジー・アグノスティック
Eggplant Functional
どんなデバイス、オペレーティングシステム、ブラウザ、テクノロジーもテスト可能である。
Any Device Category(あらゆるデバイスに対応)
Vending
Machines
Point-of-Sale
ウェラブル端末 UAV(ドローン)
Mobile
Devices
Laptops
Connected Car
(カーナビ)
Servers
© Copyright 2018 Eggplant
パート2:
Eggplant Functionalの機能
The Connection List
• SUTの登録
• SUTへの接続
• SUTの編集
※SUT:試験対象機器(システム)
Add/Edit a Connection
• SUTへの接続は、VNCかRDPによる。
• アカウント情報/パスワードの登録が可能である。
The Viewer Window
• Live Mode
• Capture Mode
• Customize toolbar features
SUTに接続した場合の3つのモード
The Viewer Window
・ 画像を簡単にキャプチャできるようにSUTのサイズを変更するには、
[Scale To Fit / Show Full Size ]ボタンを使用します。
Live Mode
• 完全なデバイス制御
• ネイティブアプリ
• サードパーティのアプリ
• ハードキー
Capture Mode
• 画像をキャプチャしてTurbo Captureセッションを開始するためのSUITEを作成する。
Capture Mode
• 画像のキャプチャ
• カーソルを移動し、ホットスポットに画像を合わせる。
Additional Menu
Hotspot
Resizable Capture Area
Customize the Toolbar
Customizable Toolbar
Toolbarのカスタマイズが可能である。
The Suite Window
• Scripts
• Images
• Tables
• Features
• API Tests
• Results
• Schedules
• Resources
IDE for scripting
IDE(統合開発環境)用スクリプト群
演習:基本的なスクリプト
演習:
• eggplant functionalを 以下からダウンロードし、インストールする。
https://www.eggplant.io/resources/eggplant-functional/downloads/
• ライセンスキー入力する。
• ホスト名TutorialSUTおよびポート5900を使用してTutorialSUTに接続する。

Eggplant Functional - Lesson 1 (Japanese slides)

Editor's Notes

  • #5 NOTES FOR PRESENTER -- Eggplant working in action
  • #6 NOTES FOR PRESENTER -- Explain two-system model here
  • #7 Eggplant application resides on the Eggplant controller (Windows, Linux, or Mac) VNC server resides on the system under test, or SUT, which is connected to the Eggplant controller via Virtual Network Connection, or VNC. Eggplant works only with the images on the screen of the SUT sent over VNC/RDP. SUT can also be a mobile device using this same 2-device system architecture.
  • #8 NOTES FOR PRESENTER -- ePF’s image-based approach means that it doesn’t depend on the underlying technology. This means we can test any device, operating system, browser, or technology. -- Future-proof.
  • #9 NOTES FOR PRESENTER -- The key point is that we can test any kind of device. -- We’re building a story that no matter what your environment, process, or product, we can test it.
  • #12 NOTES FOR PRESENTER -- Please talk about both VNC and RDP. Pros and cons for each connection method. -- Briefly mention connecting onto a mobile.
  • #13 If you experience a socket error, this most likely indicates that your firewall is not allowing the VNC traffic. To resolve this, turn off your firewall completely to test that this is, in fact, the problem and then specify an exception in your firewall for the VNC traffic. If you cannot connect, check your VNC configuration and ensure that encryption is set to prefer off and authentication is set to None or VNC password Other possible issues include: FAILED: No such host EggPlant does not recognize the network name you are using. In the Finder, choose Go menu > Connect to server to see if your computer can find that name. Try using the SUT’s IP address instead. FAILED: Temporarily unable to connect: Operation timed out EggPlant cannot see the IP ad- dress. Open the Network Utility and try to ping the IP address. If you can’t ping the IP ad- dress, then you could be using the wrong IP address. Make sure that the SUT’s firewall is allow- ing VNC connections. FAILED: Remote Login Failed - Password Rejected The password in the Connection List is incorrect, or the password in the VNC server was typed incor- rectly. Re-enter the password in the Connection List. Try retyping the password in the VNC server on the SUT.
  • #14 NOTES FOR PRESENTER -- Briefly talk about Live Mode and Capture Mode
  • #16 NOTES FOR PRESENTER Full device control, no jail-breaking, no SDK.
  • #18 NOTES FOR PRESENTER -- Introducing the concept and importance of hotspot.
  • #19 Since the toolbar can be customized, you might not see all the buttons on your own toolbar. Using the Guided Record Mode, a user can walk through a manual process by capturing images. As these images are captured using the guided record buttons, the images are added to the images panel in the Eggplant suite window and the SenseTalk command lines are automatically added in the active script editor window, and the scripted action is carried out on the SUT screen simultaneously.
  • #20 NOTES FOR PRESENTER -- Go through the menu and introduce each section on the left one by one.