ToolsScriptEditor-Textbox
                       7/11

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

Tools -> Scripteditor

   Selected Textbox.

   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

No Scripteditor dialog appeared for the textbox.

2

Tools -> Scripteditor

   Selected Textbox

   Mouse Left Up

   ScriptInput: File.New();

When the component is Left clicked and released, a new canvas window appears.

One

No Scripteditor dialog appeared for the textbox.

3

Tools -> Scripteditor

   Selected Textbox

   Mouse Left Up

   ScriptInput: File.New();

                       File.Open(“test”);

                       Components.Textbox();

                        Drawing.Rectangle();

A new canvas window is created.

A new file named test is opened.

A Textbox is drawn on the first canvas.

 

A rectangle is created on the canvas.

Some

No Scripteditor dialog appeared for the textbox.

4

Tools -> Scripteditor

   Selected Textbox

   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.

No Scripteditor dialog appeared for the textbox.

5

Tools -> Scripteditor

   Selected Textbox

   Mouse Middle Down

   ScriptInput: File.New();

 

 

No Scripteditor dialog appeared for the textbox.

6

Tools -> Scripteditor

   Mouse Middle Up

   ScriptInput: File.New();

 

 

No Scripteditor dialog appeared for the textbox.

7

Tools -> Scripteditor

   Mouse Right Down

   ScriptInput: File.New();

 

 

No Scripteditor dialog appeared for the textbox.

8

Tools -> Scripteditor

   Mouse Right Up

   ScriptInput: File.New();

 

 

No Scripteditor dialog appeared for the textbox.

9

Tools -> Scripteditor

    Mouse Left DoubleClick

   ScriptInput: File.New();

 

 

No Scripteditor dialog appeared for the textbox.

10

Tools -> Scripteditor

   Mouse Enter

   ScriptInput: File.New();

 

 

No Scripteditor dialog appeared for the textbox.

11

Tools -> Scripteditor

   Mouse Leave

   ScriptInput: File.New();

 

 

No Scripteditor dialog appeared for the textbox.

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.

 

No Scripteditor dialog appeared for the textbox.