why I can’t set selectedITemIndex of combo box ?
Posted: Thu Aug 18, 2011 2:07 pm
Hi there,
I’m getting an exception whenever trying to set some of the property of combo Box like DropDownVisible, SelectedItemIndex etc. let say I'm trying to execute the below line of code
objShipment.FormShipment.cmbFrom.SelectedItemIndex = 3;
Thrown exception “Setting attribute 'selecteditemindex' failed on element '{ComboBox:ComboBox}'.” {"The operation is not supported."}
May I know why I can’t set selectedITemIndex of combo box? . If I do the same operation with Microsoft dot.net combo, it doesnot throw any exception.
FYI, The Application under Test is developed using VB6.0 and Ranorex version is 3.0.5.
Regards,
Mohan
I’m getting an exception whenever trying to set some of the property of combo Box like DropDownVisible, SelectedItemIndex etc. let say I'm trying to execute the below line of code
objShipment.FormShipment.cmbFrom.SelectedItemIndex = 3;
Thrown exception “Setting attribute 'selecteditemindex' failed on element '{ComboBox:ComboBox}'.” {"The operation is not supported."}
May I know why I can’t set selectedITemIndex of combo box? . If I do the same operation with Microsoft dot.net combo, it doesnot throw any exception.
FYI, The Application under Test is developed using VB6.0 and Ranorex version is 3.0.5.
Regards,
Mohan