Scripts de test et de débogage

Cette page d'aide concerne Studio. Ces informations sont également disponibles pour Desktop Studio.

Les tests et le débogage constituent une étape importante dans le développement d'un script. Vous pouvez le faire de plusieurs façons dans Studio :

  • Test with Simulated Interactions: You can test scripts by simulating interactions in Studio. This allows you to see how the script performs in action, as well as to diagnose problems that need to be fixed. You can run traces on simulated interactions, which gives you insights into what's happening within the script.
  • Trace Scripts: Tracing scripts allows you to view what happens as a script runs. You can use it with live or simulated interactions. The Trace Output tool shows you the actions in a script and how the output changes as the script progresses. You can see the variables present in the script and the values they hold. You can also see the properties of an action, including how they're configured in the script you're tracing.
  • Debug Code in Snippets: The Snippet editor window hasa debugger that you can use to check the code you're working on. The Debugger window works like a mini-trace, allowing you to step through the code line by line. You can see each variable and the value it holds at that point in the code.