ToolsScriptEditor-Button
7/11
CaseNo. |
Inputs |
Expected Outputs |
Remarks |
Result |
1 |
Tools -> Scripteditor Selected Button. Mouse Left Up ScriptInput: none |
A Scripteditor dialog. A tabbed window corresponding to the mouse event chosen from the combo box. A component that has no script behavior associated with Left Up. |
None |
Pass |
2 |
Tools -> Scripteditor Selected Button Mouse Left Up ScriptInput: File.New(); |
When the component is Left clicked and released, a new canvas window appears. |
One |
Pass |
3 |
Tools -> Scripteditor Selected Button Mouse Left Up ScriptInput: File.New(); File.Open(“test”); Components.Button(); Drawing.Rectangle(); |
A new canvas window is created. A new file named test is opened. A button is drawn on the first canvas. A rectangle is created on the canvas. |
Some |
No Button No Rectangle |
4 |
Tools -> Scripteditor Selected Button Mouse Left Down ScriptInput: File.New(); |
When the component is given the listed input for the mouse, a new canvas window appears. |
It should be able to be shown that the actual performance of the scripting and wiring of the script editor are independent, thus only File.New() is to be tested for the remaining mouse events. |
Pass |
5 |
Tools -> Scripteditor Selected Button Mouse Middle Down ScriptInput: File.New(); |
|
|
Pass. |
6 |
Tools -> Scripteditor Mouse Middle Up ScriptInput: File.New(); |
|
|
Pass |
7 |
Tools -> Scripteditor Mouse Right Down ScriptInput: File.New(); |
|
|
Pass |
8 |
Tools -> Scripteditor Mouse Right Up ScriptInput: File.New(); |
|
|
Pass |
9 |
Tools -> Scripteditor Mouse Left DoubleClick ScriptInput: File.New(); |
|
|
Fail |
10 |
Tools -> Scripteditor Mouse Enter ScriptInput: File.New(); |
|
|
Pass |
11 |
Tools -> Scripteditor Mouse Leave ScriptInput: File.New(); |
|
|
It performed 2 File.New()’s. Also operated when in ‘Edit’ mode. Is it counting the bounding box? |
12 |
Tools -> Scripteditor Key Press: q ScriptInput: File.New();
|
The Script Editor dialog should appear as previously, but a field should be present such that the hotkeys for that script can be set. |
|
I’m not sure I understand how this is supposed to work at the moment, but I didn’t see any visible sign of functionality. |
|
|
|
|
|