Here am into automation using Rational Robot for testing GUIs. Previously I was in to manual testing. Here I have a requirement to test a combobox. Here mentioned the specific features to test a combo box.
1. Verify the pull-down menu displays the expected list.
2. Verify that the user can type in a choice by hand. Verify that an invalid entry typed in by hand will trigger an appropriate error message.
3.With the choice listed in the dropped down, pressing a letter on the keyboard should take you to the first item in the list starting with that letter.
4. Verify that the keyboard shortcut <Alt>+Down Arrow causes the choice list to drop down.
5. With the choice list dropped down, verify that the standard navigation keys (arrow keys, Home, End, Page Up, Page Down) work as expected.
If 1) is true then you should be able to use sqaGetProperty to verify the available selections from the ComboBox i.e. it is a ComboListBox, not a ComboEditBox. ComboEditBoxes will produce a range check error if there is a finite set of values but the user may input whatever they feel like (if the developer knows what they're doing - just a simple property error if they allowed it to be an EditBox instead of a ListBox)
Thanks for your valueble help. But here the problem is if we change one value ie selecting a value from the list of items in the combo box is chaning some other values in another window. Any idea how to synchronise this.
And here the problems is according to customer requirement we are not using mouse to select an item from the combo box. We are using key board keys. So, Object Property verification point is not recognizing the Generic objects. Any thoughts pls?