Good morning,
We are working with the SWFCombobox using:
TestAdvantage for Windows Forms (HP) 2007 Vol. 3 CLR 2.0
We have been able to get the items and match the value to select a specific item. Once the item is selected, the system will display the short version of the text in the combobox to the user. We need to verify this is displayed.
What property should we be checking to get this displayed value.
Example value to select is "Actual" value displayed after selection is "Act"
Regrads,
Brian
SwfComboBox can refer to several editors, but regardless of the editor one of the following should give you what you are looking for:
SET combo = SwfWindow("Form1").SwfComboBox("someCombo1")
msgbox combo.GetNAProperty("Text")msgbox combo.GetNAProperty("Value")msgbox combo.GetNAProperty("DisplayText")
The DisplayText will not work on all controls that use SwfComboBox but it can be useful for those that do.