# Drop down menu doesn't work

**URL:** <https://forum.katalon.com/t/drop-down-menu-doesnt-work/29434>\
**Category:** Web Testing\
**Tags:** web-testing, katalon-studio\
**Created:** [July 10, 2019, 12:35pm UTC](https://forum.katalon.com/t/drop-down-menu-doesnt-work/29434 "2019-07-10T12:35:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim.hausladen](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@tim.hausladen](https://forum.katalon.com/u/tim.hausladen)\
**Post date:** [July 10, 2019, 12:35pm UTC](https://forum.katalon.com/t/drop-down-menu-doesnt-work/29434/1 "2019-07-10T12:35:07Z")

</div>

Hi there,

following poblem: Katalon does not click on the drop down menu. It does not throw an exception here, but the test case fails when trying to select an option on the drop down menu, which isn’t active. So it’s logical the test cannot go on.

It’s only one drop down menu, every other drop down menu works perfectly fine.  
I really hope someone can help me because I couldn’t find a solution for Hours.

The involved Code:

> WebUI.click(findTestObject(‘Object Repository/Leasing Privat/Page\_/div\_Kunde\_globalFormfscustomerinputa’))
> 
> WebUI.delay(1)
> 
> WebUI.click(findTestObject(‘Object Repository/Leasing Privat/Page\_/li\_privat’))
> 
> WebUI.delay(8)
> 
> WebUI.click(findTestObject(‘Object Repository/Leasing Privat/Page\_/div\_keine Information\_globalFormproductinputa’))
> 
> WebUI.delay(1)
> 
> WebUI.click(findTestObject(‘Object Repository/Leasing Privat/Page\_/li\_Keine Aktion’))
> 
> WebUI.delay(1)
> 
> WebUI.setText(findTestObject(‘Object Repository/Leasing Privat/Page\_/input\_Laufleistung KM pa\_globalFormannualMileageinput’),  
> ‘20000’)
> 
> WebUI.delay(1)
> 
> WebUI.click(findTestObject(‘Leasing Privat/Page\_/div\_Anzahl RatenLaufzeit\_globalFormcontractLengthinputa\_2’)) **//This kinda does not work**
> 
> WebUI.delay(2)
> 
> WebUI.click(findTestObject(‘Object Repository/Leasing Privat/Page\_/li\_24’)) **//Here the exception is thrown**

Thanks in advance!

UPDATE: I solved it by adding the step a second time with a delay between the actions.  
Maybe there is a “cleaner” solution? Although, it works now 🙂

---

<div class="post-metadata">

**Author:** ![manpreet.mukkar](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/manpreet.mukkar/32/16103_2.png) [@manpreet.mukkar](https://forum.katalon.com/u/manpreet.mukkar)\
**Post date:** [July 10, 2019, 3:45pm UTC](https://forum.katalon.com/t/drop-down-menu-doesnt-work/29434/2 "2019-07-10T15:45:02Z")

</div>

@tim.hausladen Adding a delay is good approach. It gives browser to load all the elements needed.

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:24am UTC](https://forum.katalon.com/t/drop-down-menu-doesnt-work/29434/3 "2022-08-08T07:24:42Z")

</div>

Archived on August 8, 2022, 7:24am UTC


