UiPath Documentation
functions
2.2610
true
Functions user guide
  • Overview
    • About Functions
    • Licensing
  • JavaScript functions
  • Python functions
  • Deploy and run

Testing and debugging

Run and test a Python function locally, then push it to Studio Web to debug it in Automation Suite.

Test a function locally before publishing, and push it to Studio Web when you need to debug it in Automation Suite.

Run locally​

Invoke an entry point with a JSON input payload:

uipath run main '{"message": "hello"}'
uipath run main '{"message": "hello"}'

The local run resolves assets, buckets, and connections through the entries in bindings.json. No tenant mapping applies locally, so each call falls back to its design-time identifier and the log records one No resource overwrite matched line per binding. Iterate here until the function returns the output you expect.

For what those lines mean and how the same identifiers are remapped in a target tenant, see Resource bindings.

Debug in Studio Web​

Push the project to Studio Web to debug it in Automation Suite:

uipath push
uipath push

Studio Web runs the function in Automation Suite, which is useful for reproducing issues that depend on platform context not available locally.

  • Test each entry point individually with representative input.
  • Exercise the error paths — confirm that errors behave as expected (see Building Python functions).
  • Use tracing to pinpoint which step fails.

Next steps​

  • Run locally​
  • Debug in Studio Web​
  • Tips​
  • Next steps​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated