Prob: my combobox object,Which is developed in VB, is working with all methods of 8.5 version. but unable to selecting combobox item by using ClickItem method, please let me know how to select the item?( Log showing "The drop-down box cannot be opened.")
Once I click on combobox, ClickItem method working as expected?
Please help me...
What kind of component is it? What kind of application are you building (web versus desktop)? Could you post the code you're using? Have you tried putting a "delay" of some sort before the combo box? Could it be that, until the box is clicked it is not populated with items?
Couple of things to try:
1) Put a delay of some seconds before the combo box to see if it's simply a timing issue
2) Call "ComboBox.Click()" in a line before your call to clickitem to see if that solves your problem.
Automated Testing Evangelists
Definition expert - noun - Unknown drip under pressure
I found the items list of combobox with wItemList method. It displayed all items in combobox are with ‘\t’ between one integer and string (like : 1\tCUSIP).It’s not a backslash or TAB character used in the Combo box, Items are selecting with that string only (“1\tCUSIP”) when I clicked on the combobox manually. If I am not click on the comboxbox TC Log message showing “The drop-down box cannot be opened.”
Code as follows:
control.VBObject("cboIDType").Click(); // I tested with this and without this line.
Please refer screen shot (combobox issue.PNG)
Returning to Robert's question - what exact combo box control (name, vendor and version) is used in your application? Is its class customized on your application's side, or is it an original version of this control? What are the exact values of its wItemList and wListSeparator properties?