스크립트 테스트 및 디버그

This help page is for Desktop Studio. This information is also available for CXone Studio.

테스트와 디버그는 스크립트 개발에서 중요한 단계입니다. Studio에서는 다음과 같이 다양한 방법으로 이를 수행할 수 있습니다.

  • Check for Syntax Errors: You can check your script for syntax errors. Anything found by this tool appears on the tab in Studio. When you save a script, a syntax check automatically runs. Warnings indicate things that you should look at and consider fixing. Errors are critical issues that prevent the script from working. You won't be able to save your script until you correct all errors.
  • 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 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 and Check Syntax in Snippets: The editor window has two features that you can use to check the code you're working on. The 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.