SlideShare a Scribd company logo
1 of 42
Eggplant AI トレーニング
レッスン2
States, Actions, Connections
© Copyright 2018 eggplant software
2
Basic Model Refresher
© Copyright 2018 Eggplant
© Copyright 2018 Eggplant
パート1: States
© Copyright 2018 Eggplant 4
Initial State
Initial State (Start Type)
• Modelエントリーポイント
• Initialからスタートとなる
• 一度だけ実行する必要のあるアクション
や検証を処理
• 名前の変更が可能
© Copyright 2018 Eggplant 5
Adding New States
© Copyright 2018 Eggplant 6
© Copyright 2018 Eggplant 7
New States
© Copyright 2018 Eggplant
© Copyright 2018 Eggplant 8
Other Default States
Other Default States: Error, Cleanup, Exit
© Copyright 2018 Eggplant 9
• ErrorとCleanup
• state typeに基づいて特別な動作をする。
• ErrorとCleanupにはActionを含むことができる。
• ExitはActionがあってはならない。
• 紐づけられたSnippetsを持つことができる。
• 名前を変更できる。
Error state (Exception Type)
• Error発生時の自動遷移
• snippets, アクションチェック及びアクション時間
制限に失敗した時に起こる。
• Snippetsは既知のエラーをチェックする。
• ActionはModelの他の部分に
Connectionできる。
• カバレッジ計算には含まれない。
10© Copyright 2018 Eggplant
Cleanup State (Cleanup Type)
• 最後に呼び出されるState
• ExitまたはError後に呼び出される。
• Modelが完了した時に実行されるが、中止
したときは実行されない。
• Cleanupイベントを実行するSnippets
• カバレッジ計算には含まれない。
11© Copyright 2018 Eggplant
Exit State (Normal Type)
• Modelの実行を終了でき、Actionは
指定できない
• 実行が成功したSnippets
• カバレッジ計算には含まれる
12© Copyright 2018 Eggplant
© Copyright 2018 Eggplant 13
State Behavior
© Copyright 2018 Eggplant
パート2: Actions
Adding Actions
15© Copyright 2018 Eggplant
Adding Global Actions
© Copyright 2018 Eggplant 16
• Stateに関連付けされていないAction
• 現在のStateに関係なく実行できる。
• Stateの遷移は起こらない。
• 別のStateへConnectionすることがで
きるオプションがある。
Removing States and Actions
© Copyright 2018 Eggplant 17
Action Basics
• Normal
• 特別な動作はない。
• Stateまたは次のActionへ接続できる。
• Sequent
• 同じStateの他のActionから接続できる。
• Stateまたは次のActionへ接続できる。
• Previous
• 自動的に前のstateに接続する。
© Copyright 2018 Eggplant 18
© Copyright 2018 Eggplant 19
Action Basics
© Copyright 2018 Eggplant 20
Action Basics
Sequent Actions
© Copyright 2018 Eggplant 21
© Copyright 2018 Eggplant 22
Sequent Actions
Actions: Additional Configuration Options
• Weight, Action limit, Action time
limit, Reset action limit
© Copyright 2018 Eggplant 23
Actions: Additional Configuration Options
• Weight
• 他のActionと比較して、そのActionが実
行される可能性を変更できる
© Copyright 2018 Eggplant 24
Actions: Additional Configuration Options
• Action limit
• ModelがActionを実行できる制限回数
• Reset action limit
• Actionカウントをリセットする。
• すべての有効なActionが制限に達する
と終了する。
© Copyright 2018 Eggplant 25
Actions: Additional Configuration Options
• Action time limit
• Action実行時間の最大許容値
• Action実行時間がAction time limitを
超えるとModelはエラーをログに記録する。
© Copyright 2018 Eggplant 26
Actions: Additional Configuration Options
© Copyright 2018 Eggplant 27
© Copyright 2018 Eggplant
パート3: Connections
© Copyright 2018 Eggplant 29
Connection Basics
© Copyright 2018 Eggplant 30
Connection Basics
© Copyright 2018 Eggplant 31
Connection Basics
© Copyright 2018 Eggplant 32
Rearranging a Model
© Copyright 2018 Eggplant
パート4:
アプリケーションのモデリング
• Stateはアプリケーションの任意の部分または動作を表すことができる。
• Actionはアプリケーションの任意の部分または動作を表すことができる。
• 一般的に、ActionはStateのサブユニットである。
• StateとActionの分解のレベルはGranularityと呼ばれる。
• 高いGranularityはテストカバレッジが高くなるがより複雑になる。
• どの程度のGranularityが必要か検討する。
© Copyright 2018 Eggplant 34
Modeling an Application
Modeling an Application: Example 1
© Copyright 2018 Eggplant 35
© Copyright 2018 Eggplant 36
Modeling an Application: Example 1
© Copyright 2018 Eggplant 37
Modeling an Application: Example 2
Modeling an Application: Example 2
© Copyright 2018 Eggplant 38
Modeling an Application: Example 3
39© Copyright 2018 Eggplant
Modeling an Application: Example 3
40© Copyright 2018 Eggplant
• Stateと見なすものとActionと見なすものについてフレキシブルに対応する。
• テスト要件を念頭に置く。
• アプリケーション全体を一度にModel化しない。
• 各テスト目標ごとに複数のModelを作成することを検討する。
© Copyright 2018 Eggplant 41
Basic Modeling Best Practices
© Copyright 2018 Eggplant
レッスン2終了

More Related Content

More from Eggplant

Eggplant Functional - Lesson 6 (Japanese slides)
Eggplant Functional - Lesson 6 (Japanese slides)Eggplant Functional - Lesson 6 (Japanese slides)
Eggplant Functional - Lesson 6 (Japanese slides)Eggplant
 
Eggplant Functional - Lesson 10 (Japanese slides)
Eggplant Functional - Lesson 10 (Japanese slides)Eggplant Functional - Lesson 10 (Japanese slides)
Eggplant Functional - Lesson 10 (Japanese slides)Eggplant
 
Eggplant Functional - Lesson 11 (Japanese slides)
Eggplant Functional - Lesson 11 (Japanese slides)Eggplant Functional - Lesson 11 (Japanese slides)
Eggplant Functional - Lesson 11 (Japanese slides)Eggplant
 
Eggplant Functional - Lesson 7 (Japanese slides)
Eggplant Functional - Lesson 7 (Japanese slides)Eggplant Functional - Lesson 7 (Japanese slides)
Eggplant Functional - Lesson 7 (Japanese slides)Eggplant
 
Eggplant Functional - Lesson 8 (Japanese slides)
Eggplant Functional - Lesson 8 (Japanese slides)Eggplant Functional - Lesson 8 (Japanese slides)
Eggplant Functional - Lesson 8 (Japanese slides)Eggplant
 
Eggplant Functional - Lesson 9 (Japanese slides)
Eggplant Functional - Lesson 9 (Japanese slides)Eggplant Functional - Lesson 9 (Japanese slides)
Eggplant Functional - Lesson 9 (Japanese slides)Eggplant
 
Eggplant AI - Lesson 6 Slides (Japanese)
Eggplant AI - Lesson 6 Slides (Japanese)Eggplant AI - Lesson 6 Slides (Japanese)
Eggplant AI - Lesson 6 Slides (Japanese)Eggplant
 
Strategy vs. Tactical Testing: Actions for Today, Plans for Tomorrow​
Strategy vs. Tactical Testing: Actions for Today, Plans for Tomorrow​Strategy vs. Tactical Testing: Actions for Today, Plans for Tomorrow​
Strategy vs. Tactical Testing: Actions for Today, Plans for Tomorrow​Eggplant
 
AI based Testing in Finance & Retail Breakfast Briefing
AI based Testing in Finance & Retail Breakfast BriefingAI based Testing in Finance & Retail Breakfast Briefing
AI based Testing in Finance & Retail Breakfast BriefingEggplant
 
6 Top Tips to a Testing Strategy That Works
6 Top Tips to a Testing Strategy That Works6 Top Tips to a Testing Strategy That Works
6 Top Tips to a Testing Strategy That WorksEggplant
 
Importance of testing for the business
Importance of testing for the businessImportance of testing for the business
Importance of testing for the businessEggplant
 
Test Automation Beyond Test Execution
Test Automation Beyond Test ExecutionTest Automation Beyond Test Execution
Test Automation Beyond Test ExecutionEggplant
 
Automation As An Ally
Automation As An AllyAutomation As An Ally
Automation As An AllyEggplant
 
Digital Nation: United We Stand
Digital Nation: United We StandDigital Nation: United We Stand
Digital Nation: United We StandEggplant
 
GUI Performance Regression Testing with Eggplant Functional
GUI Performance Regression Testing with Eggplant FunctionalGUI Performance Regression Testing with Eggplant Functional
GUI Performance Regression Testing with Eggplant FunctionalEggplant
 
The Future Is Bright
The Future Is BrightThe Future Is Bright
The Future Is BrightEggplant
 
Turn Performance Testing up to 11
Turn Performance Testing up to 11Turn Performance Testing up to 11
Turn Performance Testing up to 11Eggplant
 
6 Steps to Implementing a World Class Testing Ecosystem Final
6 Steps to Implementing a World Class Testing Ecosystem Final6 Steps to Implementing a World Class Testing Ecosystem Final
6 Steps to Implementing a World Class Testing Ecosystem FinalEggplant
 
The Future of Enterprise AI Depends on Continuous Quality with Mike Gualtieri
The Future of Enterprise AI Depends on Continuous Quality with Mike GualtieriThe Future of Enterprise AI Depends on Continuous Quality with Mike Gualtieri
The Future of Enterprise AI Depends on Continuous Quality with Mike GualtieriEggplant
 

More from Eggplant (20)

Eggplant Functional - Lesson 6 (Japanese slides)
Eggplant Functional - Lesson 6 (Japanese slides)Eggplant Functional - Lesson 6 (Japanese slides)
Eggplant Functional - Lesson 6 (Japanese slides)
 
Eggplant Functional - Lesson 10 (Japanese slides)
Eggplant Functional - Lesson 10 (Japanese slides)Eggplant Functional - Lesson 10 (Japanese slides)
Eggplant Functional - Lesson 10 (Japanese slides)
 
Eggplant Functional - Lesson 11 (Japanese slides)
Eggplant Functional - Lesson 11 (Japanese slides)Eggplant Functional - Lesson 11 (Japanese slides)
Eggplant Functional - Lesson 11 (Japanese slides)
 
Eggplant Functional - Lesson 7 (Japanese slides)
Eggplant Functional - Lesson 7 (Japanese slides)Eggplant Functional - Lesson 7 (Japanese slides)
Eggplant Functional - Lesson 7 (Japanese slides)
 
Eggplant Functional - Lesson 8 (Japanese slides)
Eggplant Functional - Lesson 8 (Japanese slides)Eggplant Functional - Lesson 8 (Japanese slides)
Eggplant Functional - Lesson 8 (Japanese slides)
 
Eggplant Functional - Lesson 9 (Japanese slides)
Eggplant Functional - Lesson 9 (Japanese slides)Eggplant Functional - Lesson 9 (Japanese slides)
Eggplant Functional - Lesson 9 (Japanese slides)
 
Eggplant AI - Lesson 6 Slides (Japanese)
Eggplant AI - Lesson 6 Slides (Japanese)Eggplant AI - Lesson 6 Slides (Japanese)
Eggplant AI - Lesson 6 Slides (Japanese)
 
Strategy vs. Tactical Testing: Actions for Today, Plans for Tomorrow​
Strategy vs. Tactical Testing: Actions for Today, Plans for Tomorrow​Strategy vs. Tactical Testing: Actions for Today, Plans for Tomorrow​
Strategy vs. Tactical Testing: Actions for Today, Plans for Tomorrow​
 
AI based Testing in Finance & Retail Breakfast Briefing
AI based Testing in Finance & Retail Breakfast BriefingAI based Testing in Finance & Retail Breakfast Briefing
AI based Testing in Finance & Retail Breakfast Briefing
 
6 Top Tips to a Testing Strategy That Works
6 Top Tips to a Testing Strategy That Works6 Top Tips to a Testing Strategy That Works
6 Top Tips to a Testing Strategy That Works
 
Importance of testing for the business
Importance of testing for the businessImportance of testing for the business
Importance of testing for the business
 
Shift Up
Shift Up Shift Up
Shift Up
 
Test Automation Beyond Test Execution
Test Automation Beyond Test ExecutionTest Automation Beyond Test Execution
Test Automation Beyond Test Execution
 
Automation As An Ally
Automation As An AllyAutomation As An Ally
Automation As An Ally
 
Digital Nation: United We Stand
Digital Nation: United We StandDigital Nation: United We Stand
Digital Nation: United We Stand
 
GUI Performance Regression Testing with Eggplant Functional
GUI Performance Regression Testing with Eggplant FunctionalGUI Performance Regression Testing with Eggplant Functional
GUI Performance Regression Testing with Eggplant Functional
 
The Future Is Bright
The Future Is BrightThe Future Is Bright
The Future Is Bright
 
Turn Performance Testing up to 11
Turn Performance Testing up to 11Turn Performance Testing up to 11
Turn Performance Testing up to 11
 
6 Steps to Implementing a World Class Testing Ecosystem Final
6 Steps to Implementing a World Class Testing Ecosystem Final6 Steps to Implementing a World Class Testing Ecosystem Final
6 Steps to Implementing a World Class Testing Ecosystem Final
 
The Future of Enterprise AI Depends on Continuous Quality with Mike Gualtieri
The Future of Enterprise AI Depends on Continuous Quality with Mike GualtieriThe Future of Enterprise AI Depends on Continuous Quality with Mike Gualtieri
The Future of Enterprise AI Depends on Continuous Quality with Mike Gualtieri
 

Recently uploaded

クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdfクラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdfFumieNakayama
 
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineerYuki Kikuchi
 
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...博三 太田
 
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdfAWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdfFumieNakayama
 
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?akihisamiyanaga1
 
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版) 2024年4月作成
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版) 2024年4月作成業務で生成AIを活用したい人のための生成AI入門講座(社外公開版) 2024年4月作成
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版) 2024年4月作成Hiroshi Tomioka
 
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案sugiuralab
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)Hiroki Ichikura
 
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)UEHARA, Tetsutaro
 

Recently uploaded (9)

クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdfクラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
 
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
 
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
 
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdfAWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
 
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
 
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版) 2024年4月作成
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版) 2024年4月作成業務で生成AIを活用したい人のための生成AI入門講座(社外公開版) 2024年4月作成
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版) 2024年4月作成
 
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
 
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
 

Eggplant AI - Lesson 2 Slides (Japanese)