studio-web
latest
false
UiPath logo, featuring letters U and I in white
Studio Web User Guide
Automation CloudAutomation Suite
Last updated Oct 22, 2024

Debugging web app projects

Debugging web app projects works in the same way as debugging other Studio Web projects.

To debug your web app project, expand the drop-down menu next to the testing button and select the On local machine option (to use a local robot), or the On cloud option (to use cloud robots). You can also use the Test step-by-step option to debug your project one activity at a time.
Note: Testing locally requires you to install and run UiPath® Assistant 2024.10.5 or newer.

If the app or any of its automations have errors, the test buttons will be greyed out until these errors are resolved. Apps and workflows with errors have a small red dot next to their names in the Project Explorer.

After selecting a test option, Studio Web will automatically build the app and the automation code behind it. After a short while, the app will open in a separate browser tab, and you can test its functionality.
Note: Make sure your browser's pop-up blocker is not preventing the app from opening.

While the app is running, you can switch back to the Studio Web designer. Notice that the web app project is now running in debug mode. You can now click and interact with the automations triggered by the app events and view their progress in the Output panel.



You can also set breakpoints on activities to see how automations are executed.

When a breakpoint is triggered in an automation, the app will pause execution with the message Paused in WorkflowName.xaml. You then have the option to stop or continue running the app.



Opening the Watches panel shows you the values of the variables up to the point where the execution reached the paused activity.

Select the Continue button from the top ribbon to continue running the entire workflow, or Next step to advance to the next step in your automation. Select Stop to end the debugging process and return to your web app project.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.