# How to simulate a select

**URL:** <https://discourse.elm-lang.org/t/how-to-simulate-a-select/6266>\
**Category:** Learn\
**Created:** [September 9, 2020, 7:49pm UTC](https://discourse.elm-lang.org/t/how-to-simulate-a-select/6266 "2020-09-09T19:49:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![marciofrayze](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/marciofrayze/32/3494_2.png) [@marciofrayze](https://discourse.elm-lang.org/u/marciofrayze)\
**Post date:** [September 10, 2020, 12:59pm UTC](https://discourse.elm-lang.org/t/how-to-simulate-a-select/6266/4 "2020-09-10T12:59:19Z")

</div>

Thanks a lot for your reply.

But I’m able to create a select and use it. My main problem is how to create an automated test to simulate this cenario using elm-test.

So with buttons I’m able to test them very easily with: Event.simulate Event.click

My problem is how to do something similar to this with a select.

Anyway, your example will help me with another problem I’m having, so thank you 🙂

---

_[View the full topic](https://discourse.elm-lang.org/t/how-to-simulate-a-select/6266)._
