UiPath Documentation
coding-agents
2026.10
false
Guía del usuario de UiPath para Coding Agents

Receta: refactorizar y probar un flujo de trabajo

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.

Requisitos previos​

  • Install and set up complete, and you are signed in.
  • Un proyecto de UiPath existente con al menos un flujo de trabajo.

Review and test an existing workflow​

  1. Open your coding agent in the project folder.

  2. Ask for a review only:

    "Revise Process.xaml para detectar falta de gestión de errores, opciones de actividad arriesgadas y estructura poco clara. Enumerar los hallazgos con gravedad. No arregles nada".

  3. Choose the changes to make.

  4. Ask the agent to apply only those.

  5. Ask for a test case:

    "Añade un caso de prueba Given-When-Then para la ruta feliz de Process.xaml y regístralo en el proyecto".

  6. Pide al agente que ejecute el Analizador de flujo de trabajo y la prueba.

  7. Resolve any problems.

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

  • Requisitos previos​
  • Review and test an existing workflow​

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte(opens in new window)

¿Quiere aprender? UiPath Academy(opens in new window)

¿Tiene alguna pregunta? Foro de UiPath(opens in new window)

Manténgase actualizado