UiPath Documentation
test-manager
latest
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath logo, featuring letters U and I in white

Test Manager ガイド

最終更新日時 2026年4月23日

パラメーター

パラメーターを作成する

テスト セット内のテスト ケースごとにパラメーターを作成できます。最大で 250 個のパラメーターを追加でき、各パラメーターにはテスト ケースのコンテキスト内で一意の名前を付ける必要があります。
パラメーターには String 型のみを使用できます。
  1. パラメーターを追加するテスト ケースを開きます。
  2. [パラメーター] タブに移動します。
  3. [パラメーターを作成] を選択し、以下のフィールドに入力します。
    1. 名前 - パラメーターに一意の名前を付けます。
      パラメーターに名前を付けるときは、文字、数字、スペース、および記号 -_,. を使用できます。
      たとえば、adminName という名前を付けます。
    2. 既定値 - パラメーターの既定値を入力します。
      パラメーターには String 型のみを使用できます。
      この [既定値] フィールドは必須ではないため、空のままにするとパラメーターは空の文字列になります。
      たとえば、既定値を JohnDoe に設定します。
    3. ヒント - パラメーターが保持する情報に関する追加情報を入力します。
      この例では、ヒントとして「The supervisor of the organization」を追加します。
  4. [作成] を選択してパラメーターを作成します。

パラメーターの編集

パラメーターを作成した後に、ユース ケースに応じてパラメーターを編集できます。
  1. パラメーターを編集するテスト ケースを開きます。
  2. [パラメーター] タブに移動します。
  3. 編集するパラメーターの横の [編集] を選択します。
  4. [パラメーターの編集] ウィンドウで、変更するフィールドを更新します。
  5. [保存] を選択して変更を保存します。

手動テストでパラメーターを使用する

手動テストまたは自動テストで、各テスト ケースに設定した既定値でパラメーターを使用できます。または、テスト セット内のテスト ケースの既定のパラメーター値をオーバーライドできます。パラメーター値のオーバーライドについては、「パラメーターをオーバーライドする」をご覧ください。
  1. 新しいテスト ケースを作成します。
  2. 使用する実行の種類に応じて、以下の手順を実行します。
    • 手動での実行:
      1. [手動ステップ] タブに移動して、手動ステップを追加します。
      2. 手動ステップでパラメーターを参照するには、パラメーターの名前を二重中括弧で囲んで入力します。
        たとえば、手動ステップ内で username パラメーターを追加するには、{{username}} のように参照します。


    • Automated execution: During the automated execution of a test set, the Studio arguments from the automation (corresponding to each test case) are automatically applied (as parameters) in Test Manager, at test-set level for each test case added in the test set.
    Tip: In Test Manager, parameters created for test cases do not automatically map to the arguments defined in the Studio automation, even if they share the same name. Test Manager parameters operate independently from the arguments defined in Studio. When you create a parameter in Test Manager, it does not automatically pass its value to the Studio automation during execution. The intended workflow is to use overriding parameters from the test-set level.

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得