ToolsScriptEditor-HorizontalScrollbar
                                  7/11

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

Tools -> Scripteditor

   Selected HorizontalScrollbar.

   Click Left

   ScriptInput: none

A Scripteditor dialog.

A tabbed window corresponding

to the event chosen from the HorizontalScrollbar.

 

A component that has no script

behavior associated with Click Left.

None

No Scripteditor dialog appeared for the HorizontalScrollbar.

2

Tools -> Scripteditor

   Selected HorizontalScrollbar.

   Click Left

   ScriptInput: File.New();

Click Left creates a new canvas window.

One

No Scripteditor dialog appeared for the HorizontalScrollbar.

3

Tools -> Scripteditor

   Selected HorizontalScrollbar  

   Click Left

   ScriptInput: File.New();

                       File.Open(“test”);

                       Components.Button();

                        Drawing.Rectangle();

Click Left creates a new canvas window, opens a file called test,

Creates a button and a rectangle on the current canvas window.

Some

No Scripteditor dialog appeared for the HorizontalScrollbar.

4

Tools -> Scripteditor

   Selected HorizontalScrollbar      

   ‘Roll’ Left

   ScriptInput: File.New();

 

 

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 scroll events.

No Scripteditor dialog appeared for the HorizontalScrollbar.

5

Tools -> Scripteditor

   Selected HorizontalScrollbar

   Click Right

   ScriptInput: File.New();

 

 

No Scripteditor dialog appeared for the HorizontalScrollbar.

6

Tools -> Scripteditor

   Selected HorizontalScrollbar

   ‘Roll’ Right

   ScriptInput: File.New();

 

 

No Scripteditor dialog appeared for the HorizontalScrollbar.