Blob Blame History Raw
# $TOG: ComboBox1c.scr /main/5 1998/02/05 10:24:05 csn $
# Motif
#
# Copyright (c) 1987-2012, The Open Group. All rights reserved.
#
# These libraries and programs are free software; you can
# redistribute them and/or modify them under the terms of the GNU
# Lesser General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# These libraries and programs are distributed in the hope that
# they will be useful, but WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with these librararies and programs; if not, write
# to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
# Floor, Boston, MA 02110-1301 USA
# 
# HISTORY

#  This test should have been run with the flag "-u 3".
#  The XtName of the ComboBox created in this test is ComboBox.
#  All resources for this ComboBox are contained in the defaults
#  file ./ComboBox.defaults. 
#  The ComboBox should be of type DROP_DOWN_LIST
#  Post the list of the ComboBox. It has 6 items, all of which should be 
#  visible.
#  Select the item "leaves". "leaves" should be displayed in the Text widget.
#  Type "d" in the non-editable Text widget. The item "dew" should be
#  selected, and be displayed on the widget.
#  There should be no warnings on the term window indicating uninstalled
#  resource converters.

CompareVisual CB3
LocatePointer CB3 RComboBoxDropDownButton
ClickMB Btn1
CompareVisual CB3
LocatePointer List RListItem 3
ClickMB Btn1
CompareVisual CB3

LocatePointer CB3 RComboBoxDropDownButton
ClickMB Btn1
LocatePointer Text
InputString "d"
CompareVisual CB3
Exit