Programming Guide (JScript)



Yüklə 6,96 Mb.
Pdf görüntüsü
səhifə18/22
tarix07.11.2018
ölçüsü6,96 Mb.
#78683
1   ...   14   15   16   17   18   19   20   21   22

76
4.  
1.  
2.  
3.  
Click the 
 button.
OK
The test event is now created.
The created test event will be displayed in the 
 field in a special string format.
Event
Figure shows the test event example: “Arm Camera 111”.
 
 
Running the script with a test event
To run the script with a test event, do one of the following:
Click the Test run (
) button in the toolbar.
In the
 menu, select 
.
 Debug and edit
Test run
In the 
 menu, select 
Debug and edit
Test run in third-party debugger.


77
When the Test run in third-party debugger option is selected, the third-party debugger starts to run the test (see details in the 
 section).
Using third-party debuggers
The results of the verification and execution of the script are displayed in the corresponding debugger window of the 
 utility.
Editor-Debugger
Using debugger windows of the Editor-Debugger utility
Debugger window types: Script Messages and Thread Information
Debugger windows display messages about system and test events, errors and successful script execution, as well as user information messages.
A separate debugger window is assigned to each script in the
 utility.
 Editor-Debugger
There are two types of debugger windows: Script Messages and Thread Information.
The names of Script Messages windows are listed in the Script Messages list. The names of the windows match the names of the corresponding 
 objects. These windows display 
Script
all system messages related to all scripts in the I
 system.
ntellect


78
The Thread Information windows open directly from the script editing windows (named in the
 list). To open the Thread Information window from an active script 
 Script Debug/Edit
editing window, select
 in the 
 menu, or click the 
 button in the toolbar. The Thread Information windows display only the events related to 
 Summary information
Debug and edit
the current script being debugged.
Both types of debugging windows are used in the same way.
Displaying messages about starting, verifying, changing and executing scripts in the debugger windows
The messages in the debugger window track the stages of starting, verification and execution of scripts.
When the event occurs that triggers the script, the following message is displayed in the debugger window: “Process Event:
Yüklə 6,96 Mb.

Dostları ilə paylaş:
1   ...   14   15   16   17   18   19   20   21   22




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə