# Unable to get text from dropdown

**URL:** <https://forum.katalon.com/t/unable-to-get-text-from-dropdown/44191>\
**Category:** Desktop Testing\
**Tags:** desktop, windows, katalon-studio\
**Created:** [June 4, 2020, 10:45pm UTC](https://forum.katalon.com/t/unable-to-get-text-from-dropdown/44191 "2020-06-04T22:45:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvalgote](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@dvalgote](https://forum.katalon.com/u/dvalgote)\
**Post date:** [June 4, 2020, 10:45pm UTC](https://forum.katalon.com/t/unable-to-get-text-from-dropdown/44191/1 "2020-06-04T22:45:35Z")

</div>

Hi,

I’m trying to get text from the dropdown object (pane) and getting the value as empty. can anyone suggest if there is any way to verify the text for these kind of objects.

 ![1](https://europe1.discourse-cdn.com/katalon/original/2X/5/5065a9ccfeb73b9b58ce624a0ff9e19536a1b2bb.png)

---

<div class="post-metadata">

**Author:** ![helpdesk](https://avatars.discourse-cdn.com/v4/letter/h/7c8e57/32.png) [@helpdesk](https://forum.katalon.com/u/helpdesk)\
**Post date:** [June 4, 2020, 11:08pm UTC](https://forum.katalon.com/t/unable-to-get-text-from-dropdown/44191/2 "2020-06-04T23:08:49Z")

</div>

Look at this old response:

> [@How to get text of the selected option in the dropdown](http://forum.katalon.com/t/how-to-get-text-of-the-selected-option-in-the-dropdown/12389/5):
>
> See the solution in Selenium. import org.openqa.selenium.By import org.openqa.selenium.support.ui.Select import com.kms.katalon.core.webui.driver.DriverFactory Select select = new Select(DriverFactory.getWebDriver().findElement(By.xpath("//select[@id='myDropdown']"))) String optionLabel = select.getFirstSelectedOption().getText()

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [June 5, 2020, 3:09am UTC](https://forum.katalon.com/t/unable-to-get-text-from-dropdown/44191/3 "2020-06-05T03:09:20Z")

</div>

@dvalgote

Please share us a screenshot that capture the full **All Objects** tree.

---

<div class="post-metadata">

**Author:** ![karthikeyan.sundara1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/karthikeyan.sundara1/32/23869_2.png) [@karthikeyan.sundara1](https://forum.katalon.com/u/karthikeyan.sundara1)\
**Post date:** [December 22, 2020, 8:01pm UTC](https://forum.katalon.com/t/unable-to-get-text-from-dropdown/44191/4 "2020-12-22T20:01:04Z")

</div>

Hi Duyluong,

Could you help me how to select the values in Drop down in windows application. I’m not able to select the specific value in drop downlist.
