Blob Blame History Raw
# @)  This testcase should be run with the option \"-u DROP_DOWN_COMBO_BOX\". 
# A ComboBox widget of type DROP_DOWN_COMBO_BOX should be displayed.  
# A ComboBox should display a List widget.  Beneath the list should be a Scale
# labelled \"Position\" and a PushButton labelled \"Delete Item\".

# #) Verify that the ComboBox List displays the strings \"Apples\",
# \"Blueberries\" and \"Cherries\" and that the scrollbar slider to the
# right of the List fills the trough.

# #) Verify that the \"Position\" slider is set to one, and that all three
# items are displayed.  Press the Delete Item button, and verify that the
# first item (\"Apples\") is deleted, and that two items are displayed, and
# that the number of items printed to the stdout is 2, and that the scrollbar
# slider still fills the trough. (ComboBox7 TP1)
# C)

CompareVisual ComboBox1
LocatePointer DelStringPB
ClickMB Btn1
CompareVisual ComboBox1
Continue

# #) The screen should be reset, and only the first two elements (\"Apples\"
# and \"Blueberries\") should be visible, the scrollbar slider does not fill
# the entire trough. (ComboBox7 TP2)
# C)

CompareVisual ComboBox1
Continue

# #) Click MB1 on the scrollbar down arrow to reveal the last two items,
# (\"Blueberries\" and \"Cherries\") and hide the first one.  The scrollbar
# slider should not fill the trough, but should rest at the bottom of the
# slide. (ComboBox7 TP3)
# C)

LocatePointer ComboBox1 RDownOrRightArrow
ClickMB Btn1
CompareVisual ComboBox1
Continue

# #) Programatically remove the last item from the ComboBox, and verify that
# the first and second strings (\"Apples\" and \"Blueberries\") are visible,
# and that the scrollbar slider fills the trough. (ComboBox7 TP4)
# C)

CompareVisual ComboBox1
Continue

# #) Programmatically removing the middle item from the ComboBox when only two
# items are visible should automatically reveal the first and third items
# (\"Apples\" and \"Cherries\") and the scrollbar slider should fill the
# trough.  (ComboBox7 TP5)
# C)

CompareVisual ComboBox1
Continue

# E)