# Need Help with clicking this list box

**URL:** <https://forum.robotframework.org/t/need-help-with-clicking-this-list-box/359>\
**Category:** SeleniumLibrary\
**Created:** [12 June 2020 16:43 UTC](https://forum.robotframework.org/t/need-help-with-clicking-this-list-box/359 "2020-06-12T16:43:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Indher](https://avatars.discourse-cdn.com/v4/letter/i/45deac/32.png) [@Indher](https://forum.robotframework.org/u/Indher)\
**Post date:** [12 June 2020 16:43 UTC](https://forum.robotframework.org/t/need-help-with-clicking-this-list-box/359/1 "2020-06-12T16:43:14Z")

</div>

![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/1X/1d4588b59d2441c3aa05ec184633b2660c956569.png)

I have trying to click the element from this list, but always getting error.

---

<div class="post-metadata">

**Author:** ![René](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ren%C3%A9/32/7_2.png) [@René](https://forum.robotframework.org/u/Ren%C3%A9)\
**Post date:** [12 June 2020 16:48 UTC](https://forum.robotframework.org/t/need-help-with-clicking-this-list-box/359/2 "2020-06-12T16:48:41Z")

</div>

Hi @Indher,

# Welcome to this community forum!

* * *

To your Question:  
Please give us more background and more information.

You could:

- give us the Robot Code that you used to click.
- give us the error Message you received

---

<div class="post-metadata">

**Author:** ![Indher](https://avatars.discourse-cdn.com/v4/letter/i/45deac/32.png) [@Indher](https://forum.robotframework.org/u/Indher)\
**Post date:** [12 June 2020 16:51 UTC](https://forum.robotframework.org/t/need-help-with-clicking-this-list-box/359/3 "2020-06-12T16:51:24Z")

</div>

Hi Rene,  
Here are the details,  
Code:

```python
    wait until element is enabled //*[@id="kendoAutoComplete"]
    sleep 10
    input text //*[@id="kendoAutoComplete"] mc donalds, inc.
    #set selenium timeout 5 Seconds
    sleep 10
    wait until element is visible //*[@id="kendoAutoComplete-list"]/div[2]/ul
  
    select from list by value //*[@id="kendoAutoComplete-list"]/div[2]/ul/li[1] McDonalds, Inc.

```

Error:

KEYWORD SeleniumLibrary . Select From List By Value //\*[@id=“kendoAutoComplete-list”]/div[2]/ul/li[1], McDonalds, Inc.

| Documentation: | Selects options from selection list `locator` by `values` . |
| --- | --- |
| Start / End / Elapsed: | 20200612 10:49:52.426 / 20200612 10:49:52.786 / 00:00:00.360 |

```python
00:00:00.345KEYWORD SeleniumLibrary . Capture Page Screenshot

10:49:52.426 INFO Selecting options from selection list '//*[@id="kendoAutoComplete-list"]/div[2]/ul/li[1]' by value McDonalds, Inc..

10:49:52.785 FAIL List with locator '//*[@id="kendoAutoComplete-list"]/div[2]/ul/li[1]' not found.

```

---

<div class="post-metadata">

**Author:** ![René](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ren%C3%A9/32/7_2.png) [@René](https://forum.robotframework.org/u/Ren%C3%A9)\
**Post date:** [12 June 2020 16:55 UTC](https://forum.robotframework.org/t/need-help-with-clicking-this-list-box/359/4 "2020-06-12T16:55:54Z")

</div>

`Select From List By Value` is not for clicking li-list items, but for selecting an element of a `Drop-Down Menu`

Try `Click Element`
