Forum Discussion

idriskhan's avatar
idriskhan
Occasional Contributor
13 years ago

Checking values of combo box?


How do I check the contents of a combo box ?



I have a dialog whcih has a combo box, the default value of the combo is A, it alos contains B, C and D



I record a keyword test and create a Property checkpoint for the combo box defauls value,  I convert this to a script. Is there a quick way to check the other values of the combo box without recording keyword tests and doing teh same process.



Thanks


3 Replies

  • vajindarladdad's avatar
    vajindarladdad
    Frequent Contributor
    Hi ,

    Yes , there are many ways to do so.

    I think "Object Browser" will give you complete idea what are the properties , fields , methods availble with the object. It will also show you the child objects if they are present.



    Please have a look at the following prperties and methods for comboBox , these will solve your problem.

    1) wItem

    2)
    wItemCount

    3)
    wItemList



    I hope this has been of some help.