Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:debugging [2020/12/31 18:38] – [Debugging automation script] admin | tutorial:debugging [2024/01/02 19:37] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| * [[# | * [[# | ||
| * [[# | * [[# | ||
| - | * [[#Debug console]] | ||
| * [[# | * [[# | ||
| Line 52: | Line 51: | ||
| ===== Debugging automation script ===== | ===== Debugging automation script ===== | ||
| - | Automation scripts are called as model executes | + | Automation scripts are called as model executes. |
| + | * check //Server Log// file if receiving runtime errors | ||
| + | * add additional debugging messages and check //Script Log// file | ||
| + | * pause model and check if AUT is at the expected state | ||
| + | * dynamically execute scripts and validate the results | ||
| + | * highlight script and press // | ||
| + | * execute script in Debug Console in [[../ | ||
| - | There are two log files: | ||
| - | * server log file - system log file | ||
| - | * script log file - model execution specific log file | ||
| - | These log files can be accessed from //RESULT// tab. | ||
| - | ===== Debug console | + | ===== Logging |
| + | // | ||
| - | ===== Logging ===== | + | You can also log messages from your scripts by using $SYS.log(...). |
| + | |||
| + | Some of the plugins may also creates driver specific log files, such as Selenium' | ||
| + | |||
| + | All log files can be found in //logs// folder. | ||