ToolsPropertyEditor-Combobox
                       7/11/03

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

Tools -> PropertyEditor

   Selected Combobox.

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

 

Pass

2

Tools -> PropertyEditor

   Selected Combobox

Dropdown arrow shows three, selectable options

 

Pass

3

Tools -> PropertyEditor

   Combobox

   Name: new combo

   Visible Selected

   Update button pressed.

Rename the Combobox in the editor.

Name field

Pass

(Although the tab is not renamed until the dialog is closed and then re-opened).

 

4

Tools -> PropertyEditor

   ComboboxEditor

   X:  20

   Y:  50

   Visible Selected

   Update button pressed.

Combobox moved to absolute position of pixels indicated.

Component location

Pass

5

Tools -> PropertyEditor

   ComboboxEditor

   X:  -5

   Y:  50

   Visible Selected

   Update button pressed.

Combobox moved according to pixels indicated.

X: negative

Y: positve

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)

 

 

6

Tools -> PropertyEditor

   ComboboxEditor

   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

   ComboboxEditor

   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

   ComboboxEditor

   Height:  10

   Width:   100

   Visible Selected

   Update button pressed.

Combobox resized to 30, 100

Make it smaller

Original size:

H: 30

W: 208

The height is not adjustable.

9

Tools -> PropertyEditor

   ComboboxEditor

   Height:  200

   Width:   230

   Visible Selected

   Update button pressed.

Combobox resized to 200, 230

Make it bigger

Original size:

H: 30

W: 100

The height is not adjustable.

10

Tools -> PropertyEditor

   ComboboxEditor

   Height:  500

   Width:   500

   Visible Selected

   Update button pressed.

Combobox resized to 500, 500

Make it really big

Original size:

H: 30

W: 300

The height is not adjustable.

11

   Tools -> PropertyEditor

   ComboboxEditor

   Height:  25

   Width:   25

   Visible Selected

   Update button pressed.

Combobox resized to 25, 25

Make it really small

Original size:

H: 500

W: 500

The height is not adjustable.

 

Can be made unrecognizably 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

   ComboboxEditor

   Visible UnSelected

Combobox removed from canvas

window.

Visibility

Pass

15

Tools -> PropertyEditor

   ComboboxEditor

   Visible Selected

Get the Combobox back

 

Pass

16

Tools -> PropertyEditor

   ComboboxEditor

   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’

 

17

Tools -> PropertyEditor

   ComboboxEditor

   Visible Selected

Get the enabled Combobox back

 

 

18

Tools -> PropertyEditor

   ComboboxEditor

   Drop list:

           Combobox1

           Combobox2  

 

   Select and remove both

   Combobox labels

 

   Visible Selected

   Update button pressed.

An empty drop list

Drop lists –Remove

operations.

These don’t make much sense, but you never know what someone will do. 

 

There’s a Component according to the Component counter, but it doesn’t seem to be recoverable unless you add a new member to the drop list.

 

 

 

19

Tools -> PropertyEditor

   ComboboxEditor

   Drop list:

           Combobox1

           Combobox2  

 

   Select and remove chkbox2

 

   Visible Selected

   Update button pressed

A drop list with Combobox1

(Don’t crash)

 

These don’t make much sense, but you never know what someone will do. 

 

It does what it can.

No crashy.

20

Tools -> PropertyEditor

   ComboboxEditor

   Drop list:

           one

           two

           three  

 

   Highlighted member:

            three

   Add to list “five”

 

   Visible Selected

   Update button pressed

A drop list with the added labels placed below the highlighted list member.

 

A drop list:

   one

   two

   three

   five

Drop lists –Add

operations.

 

 

Add to end of list

Pass

21

Tools -> PropertyEditor

   ComboboxEditor

   Drop list:

           one

           two

           three

           five  

 

   Highlighted member:

            three

   Add to list “four”

 

   Visible Selected

   Update button pressed

A drop list:

   one

   two

   three

   four

   five

Add to middle of list

Pass

22

Tools -> PropertyEditor

   ComboboxEditor

   Drop list:

         Combobox1

         Combobox2

         Combobox3

         Combobox4

 

   Add to list “Combobox0”

 

   Visible Selected

   Update button pressed

A drop list:

   Combobox0

   Combobox1

   Combobox2

   Combobox3

   Combobox4

Add to beginning of list.

Not supported.

23

Tools -> PropertyEditor

   ComboboxEditor

   Drop list:

           one

           two

           three  

 

   Highlighted member:

            two

   Add to list “middle”

   Remove  two from list

 

   Visible Selected

A drop list:

   one

   middle

   three

Interleave Add and remove operations.

Pass

 

 

24

Tools -> PropertyEditor

   ComboboxEditor

   Drop list:

           one

           middle

           three

 

   Remove one from list

   Highlighted member:

            middle

   Add to list “next to 3”

     

A drop list:

   middle

    next to middle

    three

 

Pass

 

 

 

 

25

Tools -> PropertyEditor

   ComboboxEditor

   Icon Choose Button

   Visible Selected

   Update button pressed.

Cant seem to find how this is supposed to work

 

No response

26

Tools -> PropertyEditor

   ComboboxEditor

   Change all values of

   Component.

        Name: Dave

        X: 7

        Y: 45

        Height: 80

       Width: 200

       Enabled: off

       Visible: off

        Drop list:

           one

           me

           two

           three

       Icon: none

 

   Reset Button pressed

   Visible Selected

   Update button pressed.

The Components attributes are returned to what they previously were.

 

Name: Combobox 4

X: 98

Y: 114

Height: 30

Width: 266

Enabled: on

Visible: on

Drop list:

           one

           two

           three

Icon: none

Base

Pass

27

Tools -> PropertyEditor

   ComboboxEditor

   Change all values of

   Component.

        Name: button2

        X: 7

        Y: 45

        Height: 80

       Width: 200

       Enabled: on

       Visible: off

       Drop list:

           one

           me

           two

           three

       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.

 

X: 128

Y: 136

Height: 52

Width: 290

Enabled: on

Visible: on

Drop list:

           one

           two

           three

Icon: none

Interleave

Pass