Forum Discussion

yeshwanthroy's avatar
yeshwanthroy
Occasional Contributor
14 years ago

How to Select combo box items and drop down list items

Hello ,

          Can anyone help me in selecting an item in the combobox and as well as the drop down list ....i need to select an item and then click on that particular item ...using vbscript

4 Replies

  • yeshwanthroy's avatar
    yeshwanthroy
    Occasional Contributor
    selecting an item from the combobox :





    While recording i got the script as follows


    Call Aliases.Citadel2_Test.MainForm.MdiClient.SearchForm.pnlTop.zsearchCriteriaControl.tlpCaseManagementSearchCriteria.ucAccountSelector.zcomboBox.Click(151,12)






    but to select different item from the combobox what is the code can anyone help me out with this??



    Thank You
  • Hi,



    What exact combo box control are you using (name, vendor and version)? If this control is derived from a standard combo box, try adding its class to the appropriate Object Mapping group.