UiPath Documentation
coding-agents
2026.10
false
UiPath for Coding Agents ユーザー ガイド

レシピ: ワークフローをリファクタリングしてテストする

Review an existing RPA workflow, improve its error handling, and add a test case.

Improve an existing workflow's structure and error handling, and add a test case.

前提条件​

  • Install and set up complete, and you are signed in.
  • 少なくとも 1 つのワークフローを含む既存の UiPath プロジェクト。

Review and test an existing workflow​

  1. Open your coding agent in the project folder.

  2. Ask for a review only:

    エラー処理が欠落していないこと、リスクの高いアクティビティの選択、不明確な構造がないか、 Process.xaml を確認します。結果を重大度とともに一覧表示します。何も直さないでください。」

  3. Choose the changes to make.

  4. Ask the agent to apply only those.

  5. Ask for a test case:

    Process.xamlのハッピー パスの Given-When-Then テスト ケースを追加し、プロジェクトに登録してください。

  6. エージェントにワークフロー アナライザーとテストの実行を依頼します。

  7. Resolve any problems.

  8. Review the diff and the test result before you accept.

  • 前提条件​
  • Review and test an existing workflow​

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

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得