UiPath Documentation
uipath-cli
latest
false
Important :
Ce contenu a été traduit à l'aide d'une traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Guide de l'utilisateur de UiPath CLI

Débogage rpa-legacy

uip rpa-legacy debug exécute un workflow XAML localement via UiRobot. Il enregistre les journaux en temps réel et renvoie des arguments de sortie structurés en cas de réussite ou des détails d'erreur en cas d'échec. Nécessite l'installation d'UiRobot sur la machine locale - par défaut le verbe détecte automatiquement UiRobot.exe; transmettez --robot-path pour remplacer.

Windows uniquement — consultez l'avertissement de la vue d'ensemble .

Synthèse

uip rpa-legacy debug <xaml-path> [options]
uip rpa-legacy debug <xaml-path> [options]
  • <xaml-path> (requis) : chemin d'accès au fichier de workflow XAML à exécuter.

Options

DrapeauDescription
-i, --input <json>Les arguments d'entrée sous la forme d'une chaîne JSON.
--result-path <path>Écrivez le résultat d'exécution structuré (arguments de sortie ou détails d'erreurs) dans un fichier JSON.
--timeout <seconds>Délai d'exécution en secondes (0 = aucun délai d'attente).
--robot-path <path>Chemin d’accès à UiRobot.exe (détecté automatiquement s’il n’est pas fourni).

Exemples

# Run a workflow with no input
uip rpa-legacy debug ./MyProject/Main.xaml

# Pass input arguments inline and write the result to a file
uip rpa-legacy debug ./MyProject/Main.xaml \
    --input '{"invoicePath":"C:/data/inv.pdf"}' \
    --result-path ./run-result.json

# Use an explicit UiRobot path with a 5-minute timeout
uip rpa-legacy debug ./MyProject/Main.xaml \
    --robot-path "C:/Program Files/UiPath/Studio/UiRobot.exe" \
    --timeout 300
# Run a workflow with no input
uip rpa-legacy debug ./MyProject/Main.xaml

# Pass input arguments inline and write the result to a file
uip rpa-legacy debug ./MyProject/Main.xaml \
    --input '{"invoicePath":"C:/data/inv.pdf"}' \
    --result-path ./run-result.json

# Use an explicit UiRobot path with a 5-minute timeout
uip rpa-legacy debug ./MyProject/Main.xaml \
    --robot-path "C:/Program Files/UiPath/Studio/UiRobot.exe" \
    --timeout 300

Voir également

  • Synthèse
  • Options
  • Exemples
  • Associé
  • Voir également

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour