How to handle Drop-down menu


This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/tutorials/how_handle_drop_down_menu.html

Hi, there

As I have a drop down list control on my web page, it has 3 values: 1-one, 2-two, 3-three and the current value is 2-two. I wonder how can I get the current value of the drop down list control in Katalon Studio? And which API in WebUI?

Thanks in advance.

image
how i can select the mobile

e.g. //div//li[contains(text(), 'Mobile')]
This is a very big simplification. Read more about xpaths.

Hi ,
You can find complete tutorial on drop-down menu automation like select option by index,select option by value and select option by label in this example in katalon