UiPath Documentation
functions
latest
false
  • Überblick
    • Über Funktionen
  • Python functions
    • Erste Schritte
    • Building Python functions
    • Accessing platform services
    • Tracing and observability
    • Testen und Fehlerbehebung
  • Deploy and run

Functions user guide

Testen und Fehlerbehebung

Test a function locally before publishing, and push it to Studio Web when you need cloud debugging.

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 platform resources through bindings.json, so calls to assets, buckets, and connections behave the same as they will in Orchestrator. Iterate here until the function returns the output you expect.

Debug in Studio Web

Push the project to Studio Web to debug in the cloud:

uipath push
uipath push

Studio Web runs the function in a UiPath-hosted environment, which is useful for reproducing issues that depend on platform context not available locally.

Tipps

  • 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.

Nächste Schritte

  • Run locally
  • Debug in Studio Web
  • Tipps
  • Nächste Schritte

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben