Raghukatta
8 years agoContributor
Can I select a combo box value by id
Hi,
I am automating a desktop application which is there in multiple languages.I need to select a value from a combo box.I can't use the ClickItem(1) or ClickItem("Male") as drop down values will be in alphabetical order and text will change from language to language.I need use the Id of the drop down value in the above case.Male will have a ValueId ,Female will have ValueId. When I use object spy I am able to get the details of combo box and values but I am not able to get the id of combo box values.How can I get the ids of values.
Thanks in advance.