ToolsPropertyEditor-Textbox
                       7/11/03

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

Tools -> PropertyEditor

   Selected Textbox.

The proper editor dialog for each component should appear.  Each input on that dialog is tested in the appropriate section for the component type.

 

 

2

Tools -> PropertyEditor

   Selected Textbox

Proper editor appears

 

Pass

3

Tools -> PropertyEditor

   TextboxEditor

   Name: Textbox 7

   Visible Selected

   Update Textbox pressed.

Rename the Textbox in the editor.

Name field

Pass

4

Tools -> PropertyEditor

   TextboxEditor

   X:  20

   Y:  50

   Visible Selected

   Update Textbox pressed.

Textbox moved according to pixels indicated.

Component location

X, Y positive

Pass

5

Tools -> PropertyEditor

   TextboxEditor       

   X:  -5

   Y:  50

   Visible Selected

   Update Textbox pressed.

Textbox moved according to pixels indicated.

Component location

X : negative

Y: positve

Pass

6

Tools -> PropertyEditor

   TextboxEditor       

   X:  5

   Y:  -25

   Visible Selected

   Update Textbox pressed.

 

X: positive

Y: negative

 

 

Pass

(I don’t believe this is related to the object going out of focus if the mouse is dragged off of the current canvas window, see SCO’s 7/8/03)

7

Tools -> PropertyEditor

   TextboxEditor       

   X:  -55

   Y:  -25

   Visible Selected

   Update Textbox pressed.

 

Component location

X, Y negative

Pass

(I don’t believe this is related to the object going out of focus if the mouse is dragged off of the current canvas window, see SCO’s 7/8/03)

8

Tools -> PropertyEditor

   TextboxEditor

   Height:  100

   Width:   125

   Visible Selected

   Update Textbox pressed.

Textbox resized.

Make it smaller

Pass

9

Tools -> PropertyEditor

   TextboxEditor

   Height:  200

   Width:   300

   Visible Selected

   Update Textbox pressed.

 

Make it bigger

Pass

 

10

Tools -> PropertyEditor

   TextboxEditor

   Height:  500

   Width:   500

   Visible Selected

   Update Textbox pressed.

 

Make it really big

Pass

11

Tools -> PropertyEditor

   TextboxEditor

   Height:  25

   Width:   25

   Visible Selected

   Update Textbox pressed.

 

Make it really small

Produced a flickering

Component that brought the application to its knees. 

 

Closing the canvas window restored it to its normal operation.

12

Tools -> PropertyEditor

   TextboxEditor

   Height:  -25

   Width:   -25

   Visible Selected

   Update Textbox pressed.

 

Illegal negative

dimensions

It will let you give the button negative size, but it is recoverable through the property editor dialog.

13

Tools -> PropertyEditor

   TextboxEditor

   Height:  0

   Width:   0

   Visible Selected

   Update Textbox pressed.

 

Don’t crash on zero

Pass

14

Tools -> PropertyEditor

   TextboxEditor

   Enabled: on

   Visible UnSelected

Textbox removed from canvas

window.

Visibility

Pass

15

Tools -> PropertyEditor

   TextboxEditor

   Enabled: on

   Visible: Selected

   Update Textbox pressed.

Get the Textbox back by checking visibility again.

 

Pass

16

Tools -> PropertyEditor

   TextboxEditor

   Text Content: Textbox 7

   Visible Selected

   Update Textbox pressed.

The Textbox content altered.

 

Pass

17

Tools -> PropertyEditor

   TextboxEditor

   Enabled: off

   Visible Selected

   Update Textbox pressed.

   

    Edit Mode: Run

 

Make sure the script

will not be activated

in ‘Run’ mode, when

The component is t

not ‘Enabled’

 

18

Tools -> PropertyEditor

   TextboxEditor

   Change all values of

   Component.

        Name: box2

        X: 7

        Y: 45

        Height: 80

       Width: 200

       Enabled: off

       Visible: off

       Text Content: box3

 

   Reset Textbox pressed

   Visible Selected

   Update Textbox pressed.

The Components attributes are returned to what they previously were.

 

Name: Textbox 4

X: 176

Y: 152

Height: 128

Width: 169

Enabled: on

Visible: on

Text Content: Textbox 4

 

Base

Pass

19

Tools -> PropertyEditor

   TextboxEditor

   Change all values of

   Component.

        Name: box2

        X: 7

        Y: 45

        Height: 80

       Width: 200

       Enabled: off

       Visible: off

       Text Content: box3

 

   Update Textbox pressed.

   Reset Textbox pressed

   Visible Selected

   Update Textbox pressed.

The Components attributes can be returned to what they previously were despite an update.

 

Name: Textbox 4

X: 176

Y: 152

Height: 128

Width: 169

Enabled: on

Visible: on

Text Content: Textbox 4

Interleave

Pass

20

Tools -> PropertyEditor

   TextboxEditor

   Visible Selected

   Update Textbox pressed.

Enabled should be ‘on’ as default.

 

Pass