# Can't scroll down in combo box

**URL:** <https://forum.katalon.com/t/cant-scroll-down-in-combo-box/12876>\
**Category:** Web Testing\
**Tags:** katalon-recorder\
**Created:** [August 28, 2018, 3:22am UTC](https://forum.katalon.com/t/cant-scroll-down-in-combo-box/12876 "2018-08-28T03:22:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammad\_Shahiran](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Mohammad\_Shahiran](https://forum.katalon.com/u/Mohammad_Shahiran)\
**Post date:** [August 28, 2018, 3:22am UTC](https://forum.katalon.com/t/cant-scroll-down-in-combo-box/12876/1 "2018-08-28T03:22:05Z")

</div>

Greeting everyone,  
This time I’m having trouble with selecting object in scrolling down in combo box.The process didn’t show where I scroll down to the object and select the object to remove it. When i play the video. It just remove the object without showing the process and stuck at that page.Someone help please!

Unable to select option by value ‘MS020000—View’ of object ‘Object Repository/SelectOptionByValue/select\_Customer Enquiry—Rese’ using regular expression (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element

WebUI.openBrowser(‘’)

WebUI.maximizeWindow()

WebUI.delay(2)

WebUI.setText(findTestObject(‘SelectOptionByValue/input\_txtUserID’), ‘-’)

WebUI.delay(2)

WebUI.click(findTestObject(‘SelectOptionByValue/button\_Login’))

WebUI.delay(1)

WebUI.acceptAlert()

WebUI.waitForElementClickable(findTestObject(‘Dcheq2/Page\_INReport/a\_Administration’), 10)

WebUI.click(findTestObject(‘SelectOptionByValue/a\_Administration’))

WebUI.waitForElementClickable(findTestObject(‘Spy-Web/Page\_INReport/a\_ACCESS CONTROL’), 10)

WebUI.click(findTestObject(‘Spy-Web/Page\_INReport/a\_ACCESS CONTROL’))

WebUI.waitForElementClickable(findTestObject(‘SelectOptionByValue/a\_Task Assignment’), 10)

WebUI.click(findTestObject(‘SelectOptionByValue/a\_Task Assignment’))

\*\*WebUI.selectOptionByValue(findTestObject(‘SelectOptionByValue/select\_Admin Administrators Br’), ‘Administrators’, true)

\<\>\*\*

**WebUI.selectOptionByValue(findTestObject(‘SelectOptionByValue/select\_Customer Enquiry—Rese’), ‘MS020000—View’, true)**

**WebUI.waitForElementClickable(findTestObject(‘SelectOptionByValue/input\_cmdRemove’), 10)**

**WebUI.click(findTestObject(‘SelectOptionByValue/input\_cmdRemove’))**

WebUI.waitForElementClickable(findTestObject(‘SelectOptionByValue/input\_cmdSave’), 10)

WebUI.click(findTestObject(‘SelectOptionByValue/input\_cmdSave’))

WebUI.waitForElementClickable(findTestObject(‘SelectOptionByValue/button\_Back’), 10)

WebUI.click(findTestObject(‘SelectOptionByValue/button\_Back’))

WebUI.waitForElementClickable(findTestObject(‘SelectOptionByValue/a\_HOME’), 10)

WebUI.click(findTestObject(‘SelectOptionByValue/a\_HOME’))

WebUI.waitForElementClickable(findTestObject(‘Spy-Web/Page\_INReport/a\_secuser2’), 10)

WebUI.click(findTestObject(‘Spy-Web/Page\_INReport/a\_secuser2’))

WebUI.waitForElementClickable(findTestObject(‘SelectOptionByValue/a\_Sign out’), 10)

WebUI.click(findTestObject(‘SelectOptionByValue/a\_Sign out’))

WebUI.waitForElementClickable(findTestObject(‘SelectOptionByValue/button\_Confirm’), 10)

WebUI.click(findTestObject(‘SelectOptionByValue/button\_Confirm’))

WebUI.closeBrowser()

[Untitled1.png](https://s3.amazonaws.com/katalon-forum/editor/p9/a4ty0rbvr3e4.png)

---

<div class="post-metadata">

**Author:** ![Andrej\_Podhajsky](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/andrej_podhajsky/32/1055_2.png) [@Andrej\_Podhajsky](https://forum.katalon.com/u/Andrej_Podhajsky)\
**Post date:** [August 28, 2018, 6:29am UTC](https://forum.katalon.com/t/cant-scroll-down-in-combo-box/12876/2 "2018-08-28T06:29:19Z")

</div>

did you try to scroll to it using scrollToElement()?

---

<div class="post-metadata">

**Author:** ![Mohammad\_Shahiran](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Mohammad\_Shahiran](https://forum.katalon.com/u/Mohammad_Shahiran)\
**Post date:** [August 28, 2018, 7:18am UTC](https://forum.katalon.com/t/cant-scroll-down-in-combo-box/12876/3 "2018-08-28T07:18:29Z")

</div>

Still doesn’t work when I used scrollToElement(). I tried to replaced **SelectOptionByValue with** scrollToElement() but nothing happen

---

<div class="post-metadata">

**Author:** ![Andrej\_Podhajsky](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/andrej_podhajsky/32/1055_2.png) [@Andrej\_Podhajsky](https://forum.katalon.com/u/Andrej_Podhajsky)\
**Post date:** [August 28, 2018, 7:50am UTC](https://forum.katalon.com/t/cant-scroll-down-in-combo-box/12876/4 "2018-08-28T07:50:10Z")

</div>

i did small test and selectOptionByValue also scrolled to that option.  
can you please post html of that element in which you want select option?

---

<div class="post-metadata">

**Author:** ![Mohammad\_Shahiran](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Mohammad\_Shahiran](https://forum.katalon.com/u/Mohammad_Shahiran)\
**Post date:** [August 28, 2018, 9:43am UTC](https://forum.katalon.com/t/cant-scroll-down-in-combo-box/12876/5 "2018-08-28T09:43:39Z")

</div>

I’m sorry, I wish I could but this system used java+html. Therefore it doesn’t show html of that element in which I want select option. Its loop from db. Do you have a solution with your test?

---

<div class="post-metadata">

**Author:** ![Andrej\_Podhajsky](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/andrej_podhajsky/32/1055_2.png) [@Andrej\_Podhajsky](https://forum.katalon.com/u/Andrej_Podhajsky)\
**Post date:** [August 28, 2018, 11:00am UTC](https://forum.katalon.com/t/cant-scroll-down-in-combo-box/12876/6 "2018-08-28T11:00:24Z")

</div>

becouse selectObtion is working only on select html object, so if this is not, it will not work

---

<div class="post-metadata">

**Author:** ![Mohammad\_Shahiran](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Mohammad\_Shahiran](https://forum.katalon.com/u/Mohammad_Shahiran)\
**Post date:** [August 29, 2018, 7:07am UTC](https://forum.katalon.com/t/cant-scroll-down-in-combo-box/12876/7 "2018-08-29T07:07:27Z")

</div>

I see. Right now I able to select one data and remove it. But when I tried to select two data and remove this data, it only remove the first data. The page started to stuck. The process stop when trying to select the second data. Do you know why? I even used WaitForElementClickable or WaitForElementPresent but nothing is working.

est Cases/testing select object FAILED because (of) Unable to select option by value ‘MM020000—View’ of object ‘Object Repository/testing/select\_Customer Enquiry—Rese\_1’ using regular expression (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element

WebUI.openBrowser(’’)

WebUI.setText(findTestObject(‘testing/input\_txtUserID’), ‘’)

WebUI.sendKeys(findTestObject(‘testing/input\_txtUserID’), Keys.chord(Keys.ENTER))

WebUI.acceptAlert()

WebUI.click(findTestObject(‘testing/a\_Administration’))

WebUI.click(findTestObject(‘SpyWeb/a\_ACCESS CONTROL’))

WebUI.click(findTestObject(‘testing/a\_Task Assignment’))

WebUI.selectOptionByValue(findTestObject(‘testing/select\_Admin Administrators Br’), ‘Administrators’, true)

WebUI.selectOptionByValue(findTestObject(‘testing/select\_Customer Enquiry—Rese’), ‘MT010000—View’, true)

WebUI.click(findTestObject(‘testing/input\_cmdRemove’))

**WebUI.selectOptionByValue(findTestObject(‘testing/select\_Customer Enquiry—Rese\_1’), ‘MM020000—View’, true)**

**WebUI.click(findTestObject(‘testing/input\_cmdRemove’))**

WebUI.click(findTestObject(‘testing/input\_cmdSave’))

WebUI.click(findTestObject(‘testing/button\_Back’))

WebUI.click(findTestObject(‘testing/a\_Sign out’))

WebUI.click(findTestObject(‘testing/button\_Confirm’))

WebUI.closeBrowser()
