Now we will try to run a procedure, which can be done in different ways:
- Double-click on the procedure header.
- Right-click on the procedure header, and select the command Execute in the shortcut menu.
- Click on play/execute in the window Execution State.
The window Execution State.
- Press F5 – this will only work if you have indicated that the current procedure is a standard procedure, this is done by right-clicking the procedure header and select the command Execute by default (then a small F5-kontrol appears to the right of the name of the procedure in the procedure header).
NOTE If your procedure has arguments you can only call it via a procedure call since you have to indicate one or more argument values.
The following will take place:
1 The script-file is prepared for the execution.
2 The procedure is carried out.
The window Execution State will show you the process during the execution of your procedure (you can repeat the above steps to see it again).
3 The execution will finish after five seconds.
NOTE If you have a delay of less than 2 seconds, a progress bar indicating the delay, will not appear. If you have a delay of less than 5 seconds, the Skip button, which can be used to interrupt the delay, will not appear either.
The window Execution Log, which shows the course and the result of your procedure.
You can view the detailed course and the result of your procedure in the window Execution Log – in the above example the user has clicked the Skip control after 2.805 ms and the result is Pass.
TIP You can open the log window by selecting the command View ( Execution Log.
When you use SeqZap to automate your tests, it is of course important that you get a result from your script-file to check if your expectations to the tests were met. (See for example pg. 17).
You can view the result of your test in three different places in SeqZap:
- In the window Execution State.
- In the status line at the bottom of SeqZap.
- In the window Execution Log.
- In the test report (when running test suites).