- スタート アップ ガイド
- 機能
- Data privacy and governance
- 製品の提供状況
- Earlier Autopilot capability sets
- Autopilot for Everyone
Autopilot capabilities for generating coded and low-code test cases from natural language, comments, or existing code.
Autopilot assists you in generating coded test cases, either from text and existing code, or from manual test cases created in Test Manager.
Generating coded test cases from text and existing code
In a new or existing coded automation, you can use Autopilot to generate code from natural language, from comments in your automation, or from existing lines of code. Use the Ctrl + Shift + G shortcut, or the Autopilot icon, to generate code.
Generating coded test cases from manual tests
デスクトップ版の Studio を Test Manager に接続してから、テスト エクスプローラーに移動して手動テストを検索します。ここから、次のいずれかのシナリオを選択して、コード化されたテスト ケースを生成できます。
-
[コード化されたテスト ケースを作成] を使用して、コード化されたテスト ケースを作成します。ここでは、ステップがコメントとして表示されます。続いて、コメントに基づいてコードを生成するよう Autopilot にプロンプトを送信します。
-
[Autopilot を使用してコード化されたテスト ケースを生成] を使用して、正常に機能するコード化されたテスト ケースを直接生成します。
テスト ケースの生成について詳しくは、「 手動テスト用のテスト ケースからコード化されたテスト ケースを作成する 」および 「AI を使用してコード化されたテスト ケースを生成する 」をご覧ください。
Generate coded API test cases
If you want to create a coded test case that automates a scenario involving APIs, Autopilot can help with generating the code for this scenario. In the code editor, open the context menu and select Generate Code, then offer Autopilot the necessary instructions. For instance, you should offer Autopilot the API that you want to use, and the API key that it should access.
Generate low-code test cases
Autopilot はローコードのテスト ケースの生成を支援します。テキストからでも、Test Manager で作成した手動テストからでも生成が可能です。
From manual tests
Connect Studio Desktop to Test Manager and locate your manual test in the Test Explorer. Then, open the context menu for the manual test and select Generate Test Case with Autopilot.
From text
空のローコードのテスト ケースを開き、デザイナー パネルから [Autopilot で生成] を選択します。目的のテスト ステップを入力し、[生成] を選択してテスト ケースの生成をトリガーします。
図 1.[ 注釈を入力 ] フィールドでのプロンプト指示の入力
詳しくは、「 AI を使用したローコード テスト ケースの生成」をご覧ください。
ベスト プラクティス
効果的なプロンプトの記述、およびテキストや手動テストをコードに変換する際のオブジェクト リポジトリと命名規則の使用に関するガイダンスについては、以下をご覧ください。