ToolsPropertyEditor-Button
                       7/11/03

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

Tools -> PropertyEditor

   Selected Button.

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 Button

Proper editor appears

 

Pass

3

Tools -> PropertyEditor

   ButtonEditor

   Name: Button 7

   Visible Selected

   Update button pressed.

Rename the button in the editor.

Name field

Pass

4

Tools -> PropertyEditor

   ButtonEditor

   X:  20

   Y:  50

   Visible Selected

   Update button pressed.

Button moved according to pixels indicated.

Component location

Pass

5

Tools -> PropertyEditor

   ButtonEditor

   X:  -5

   Y:  50

   Visible Selected

   Update button pressed.

Button moved according to pixels indicated.

X: negative

Y: positve

It does the best it can.

6

Tools -> PropertyEditor

   ButtonEditor

   X:  5

   Y:  -50

   Visible Selected

   Update button 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

   ButtonEditor

   X:  -5

   Y:  -50

   Visible Selected

   Update button 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

   ButtonEditor

   Height:  100

   Width:   100

   Visible Selected

   Update button pressed.

Button resized.

Make it smaller

Pass

9

Tools -> PropertyEditor

   ButtonEditor

   Height:  200

   Width:   230

   Visible Selected

   Update button pressed.

 

Make it bigger

Pass

10

Tools -> PropertyEditor

   ButtonEditor

   Height:  500

   Width:   500

   Visible Selected

   Update button pressed.

 

Make it really big

Pass

11

   Tools -> PropertyEditor

   ButtonEditor

   Height:  25

   Width:   25

   Visible Selected

   Update button pressed.

 

Make it really small

It will do what you tell it, but can make things absurdly small.

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

   ButtonEditor

   Visible UnSelected

Button removed from canvas

window.

Visibility

Pass

15

Tools -> PropertyEditor

   ButtonEditor

   ButtonLabel: button 7

   Visible Selected

   Update button pressed.

Label on the button in the canvas

window altered

 

Pass

16

Tools -> PropertyEditor

   ButtonEditor

   Icon Choose Button

   Visible Selected

   Update button pressed.

Cant seem to find how this is supposed to work

 

No response

17

Tools -> PropertyEditor

   ButtonEditor

   Enabled: on

   Visible Selected

   Update button pressed.

 

 

Haven’t devised how to test this yet.

18

Tools -> PropertyEditor

   ButtonEditor

   Change all values of

   Component.

        Name: button2

        X: 7

        Y: 45

        Height: 80

       Width: 200

       Enabled: on

       Visible: off

       Label: Button3

       Icon: none

 

   Reset Button pressed

   Visible Selected

   Update button pressed.

The Components attributes are returned to what they previously were.

 

Name: Dave

X: 113

Y: 90

Height: 174

Width: 350

Enabled: off

Visible: on

Label: Button2

Icon: none

Base

Pass

19

Tools -> PropertyEditor

   ButtonEditor

   Change all values of

   Component.

        Name: button2

        X: 7

        Y: 45

        Height: 80

       Width: 200

       Enabled: on

       Visible: off

       Label: Button3

       Icon: none

 

   Update button pressed.

   Reset Button pressed

   Visible Selected

   Update button pressed.

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

 

Name: Dave

X: 113

Y: 90

Height: 174

Width: 350

Enabled: off

Visible: on

Label: Button2

Icon: none

Interleave

Pass

20

Tools -> PropertyEditor

   ButtonEditor

   Visible Selected

   Update button pressed.

Enabled should be ‘on’ as default.

 

Failed.  Enabled is off on button creation.