Recommended Eggplant Functional - Lesson 8 (Japanese slides)
Eggplant Functional - Lesson 11 (Japanese slides)
Eggplant Functional - Lesson 10 (Japanese slides)
Cake php + php unitによる実践的ユニットテスト
CakePHP2.0 performance, upgrade shell
RSpecによるRailsテスト入門 第五章 コントローラスペックの基礎
Session5 - LabVIEW NXG Training Course
Session3 - LabVIEW NXG Training Course
Session8 - LabVIEW NXG Training Course
Do not use document.write
JBoss AS 7 / EAP 6 modules and class loading
Eggplant Functional - Lesson 1 (Japanese slides)
Eggplant Functional - Lesson 2 (Japanese slides)
Eggplant Functional - Lesson 3 (Japanese slides)
Eggplant Functional - Lesson 4 (Japanese slides)
Eggplant Functional - Lesson 5 (Japanese slides)
More Related Content Eggplant Functional - Lesson 8 (Japanese slides)
Eggplant Functional - Lesson 11 (Japanese slides)
Eggplant Functional - Lesson 10 (Japanese slides)
Cake php + php unitによる実践的ユニットテスト
What's hot (17)
CakePHP2.0 performance, upgrade shell
RSpecによるRailsテスト入門 第五章 コントローラスペックの基礎
Session5 - LabVIEW NXG Training Course
Session3 - LabVIEW NXG Training Course
Session8 - LabVIEW NXG Training Course
Do not use document.write
JBoss AS 7 / EAP 6 modules and class loading
More from Eggplant (20) Eggplant Functional - Lesson 1 (Japanese slides)
Eggplant Functional - Lesson 2 (Japanese slides)
Eggplant Functional - Lesson 3 (Japanese slides)
Eggplant Functional - Lesson 4 (Japanese slides)
Eggplant Functional - Lesson 5 (Japanese slides)
Eggplant Functional - Lesson 6 (Japanese slides)
Eggplant Functional - Lesson 7 (Japanese slides)
Eggplant AI - Lesson 5 Slides (Japanese)
Eggplant AI - Lesson 3 Slides (Japanese)
Eggplant AI - Lesson 6 Slides (Japanese)
Eggplant AI - Lesson 2 Slides (Japanese)
Eggplant AI - Lesson 1 Slides (Japanese)
Strategy vs. Tactical Testing: Actions for Today, Plans for Tomorrow
AI based Testing in Finance & Retail Breakfast Briefing
6 Top Tips to a Testing Strategy That Works
Importance of testing for the business
Test Automation Beyond Test Execution
Digital Nation: United We Stand
Eggplant Functional - Lesson 9 (Japanese slides)3. Saving Results in a List
“RunWithNewResults”の後、”the result”を使用し、
スクリプトの実行に関する情報を抽出する。:
© Copyright 2019 Eggplant
4. The ScriptLogging Level
ScriptLoggingグローバルプロパティを使用して、スクリプトの実行時にログファイルに記録
されるイベントを制御する。
• 値: On (or true), off (or false), minimal, or silent
• デフォルト: On
• 説明:ScriptLoggingは、スクリプトの実行時にログファイルに記録されるイベントを
次のように制御する。:
• On: Log、LogWarning、LogErrorコマンド、およびSUTとのすべてのやり取り
が記録される。
• Off: Log、LogWarning、およびLogErrorコマンドのみが記録される。
• Minimal: LogWarningおよびLogErrorコマンドのみが記録される。
• Silent: ログファイルには何も記録されません。 (警告とエラーは引き続きカウン
トされる。)
例:
Set the ScriptLogging to Silent
SetOption Scriptlogging, On
© Copyright 2019 Eggplant
5. Sending Results via Email
• 適切にメール設定をすると、収集した結果をメールで送信できる。
• 結果をリストに保存するための前述のアプローチを使用すると、失敗した実行のログ
ファイルを添付するために使用するファイルパスのリストが提示される。
• 多数の添付ファイル(多くのログファイルなど)を追加すると、一部の電子メール
サーバー/サービスのサイズ制限をすぐに超える可能性があることに注意してください。
© Copyright 2019 Eggplant
10. Viewing Results (continued)
結果は、<Suite Folder> / Resultsの双方で表示できる。
• SuiteStatistics.csv / xml -各スクリプトの成功/失敗の概要を提供する。
• 各スクリプトフォルダー内において
• RunHistory.csv / xml -各スクリプト実行結果の要約を提供する。
• 各スクリプト実行フォルダー内において
• LogFile.txt / xml -詳細なスクリプト実行ログを提供する。
• スクリプトの実行が失敗した場合、またはCaptureScreenが使用された場
合においては、フォルダに画像ファイルが含まれる可能性がある。
© Copyright 2019 Eggplant
11. 演習: Results and Reporting
サマリ:
• RunWithNewResults
• SUTは不要
演習:
1. Eggplant Functional Runメニューで、Image Updateをオフにする。
2. FailedScriptというスクリプトを作成する。 :
• スクリプトが失敗するようなものを書く。
3. SuccessScriptというスクリプトを作成する。
• スクリプトに簡単なLogSuccessメッセージを書き込む。
4. Masterというスクリプトを作成する。
• scriptLoggingを設定して、Log、LogWarning、LogError、お
よびLogSuccessメッセージのみを表示する。.
© Copyright 2019 Eggplant
12. 演習: Results and Reporting
演習(続き):
• FailedScriptを実行してから、RunWithNewResultsを使用して
SuccessScriptを実行し、SuccessScriptが実行できることを確認
する。
• テストケースを開始する。
• 12345を67890回計算し、結果をログに記録する。
• テストケースを終了する。
• テストケースの期間をログに記録する。
© Copyright 2019 Eggplant
Editor's Notes #3: NOTES FOR PRESENTER
-- Also mention runwithnewresults create separate logs for each script
#5: Values: On (or true), off (or false), minimal, or silent
Default: On.
Description: The ScriptLogging controls which events are recorded in the Log file as a script runs, as follows:
On: Log, LogWarning, and LogError commands, and all interactions with the SUT are recorded.
Off: Only Log, LogWarning, and LogError commands are recorded..
Minimal: Only LogWarning and LogError commands are recorded.
Silent: Nothing is recorded in the Log file. (Warnings and errors are still counted.)
#9: NOTES FOR PRESENTER
-- Talk about where this can be useful
#10: Open ePF and show a success, failed and aborted result
For the failed result, please also show an automatic screen capture at the point of failure
df
df
d #11: Open an ePF suite folder and go through each log files mentioned above
Show where the auto capture image file at the point of failure is stored
df
df
d