Creating Scripts with Eggplant Functional

Scripts are the basis of your automated testing with Eggplant Functional. スクリプトを作成する方法は複数あります。Scripting with Eggplant Functional is easy, and a variety of workflows are possible. これからスクリプト作成のための異なるアプローチを説明していきますので、あなたとあなたのチームにとって最適なアプローチを見つけてください。

Suite(スイート)ウィンドウおよびViewer(ビューア)ウィンドウは、スクリプト作成に不可欠です。Suite(スイート)ウィンドウはすべてのスクリプトと画像を管理できる場所で、Viewer(ビューア)ウィンドウはスクリプトと使用する画像をキャプチャできる場所です。Turbo Capture(ターボキャプチャ)を利用して、またはヘルプ付きスクリプティングを利用して、手動で画像をキャプチャできます。

スイート

最初のスクリプトを作成する前に、スイートを作成しなければなりません。Eggplant Functional organizes and stores your scripts, images, results and schedules in folders called suites.

To create a new suite, choose File > New Suite in Eggplant Functional. デフォルトのGuide(ガイド)ページを示すSuite(スイート)ウィンドウが開きます。Suite(スイート)ウィンドウの詳細と使用方法については、スイートウィンドウをご覧ください。

Eggplant Functional creates each suite folder with the following subfolders by default: Features, Images, Resources, Results, Scripts, and TableScripts. You can use the Default Suite Directory General Preference to specify the location where you want Eggplant Functional to create your suite folders. When you create your scripts and save them, Eggplant Functional stores them in the suite's Scripts subfolder. After you run a script or scripts, Eggplant Functional stores the results and information about the run in the suite's Results subfolder.

Scripts

Before scripts can be arranged into larger tests, they must be created using Eggplant Functional, using one of the script creation workflows:

After scripts have been created, they can be combined to create larger tests, and these script structures can be managed using a master script, using Eggplant Manager, or with keyword-driven testing.

 

This topic was last updated on 2月 01, 2019, at 11:13:23 午前.

Eggplant icon Eggplant.io | Documentation Home | User Forums | Support | Copyright © 2019 Eggplant