# Problems with SelectList popups

**URL:** <https://rubytalk.org/t/problems-with-selectlist-popups/66918>\
**Category:** ruby-talk\
**Created:** [19 December 2012 20:05 UTC](https://rubytalk.org/t/problems-with-selectlist-popups/66918 "2012-12-19T20:05:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![7stud2](https://avatars.discourse-cdn.com/v4/letter/7/9de053/32.png) [@7stud2](https://rubytalk.org/u/7stud2)\
**Post date:** [19 December 2012 20:05 UTC](https://rubytalk.org/t/problems-with-selectlist-popups/66918/1 "2012-12-19T20:05:39Z")

</div>

I am having some issues trying to test my application, there is a select  
list that fires an event when any option is selected. The problem is  
that when I code to select an option on this select list it keeps  
waiting for something and gets stuck. I have tried a couple of solution  
offered in the web but with no success, please help me out with this  
issue.

Regards,  
Marco

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![stomar](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@stomar](https://rubytalk.org/u/stomar)\
**Post date:** [19 December 2012 20:53 UTC](https://rubytalk.org/t/problems-with-selectlist-popups/66918/2 "2012-12-19T20:53:11Z")

</div>

You have to be much more specific.

I guess you are talking about a web app. Rails?  
How exactly are you trying to test it?

> **···**
>
> Am 19.12.2012 21:05, schrieb Marco Antonio M.:
> 
> > I am having some issues trying to test my application, there is a select  
> > list that fires an event when any option is selected. The problem is  
> > that when I code to select an option on this select list it keeps  
> > waiting for something and gets stuck. I have tried a couple of solution  
> > offered in the web but with no success, please help me out with this  
> > issue.
> 
> --  
> \<[https://github.com/stomar/&gt](https://github.com/stomar/&gt);

---

<div class="post-metadata">

**Author:** ![7stud2](https://avatars.discourse-cdn.com/v4/letter/7/9de053/32.png) [@7stud2](https://rubytalk.org/u/7stud2)\
**Post date:** [19 December 2012 21:06 UTC](https://rubytalk.org/t/problems-with-selectlist-popups/66918/3 "2012-12-19T21:06:11Z")

</div>

Hi thanks for your answer, well basically I am talking about a desktop  
application that runs in IE7, I am using Ruby with Watir to test the  
application. My test consist in configure my application for it I need  
to choose an specific option in the select list in which there is an  
even each time it is selected any option.  
When I select an option (with watir) it makes to popup a window  
(onchange event), after it is popupped watir is waiting for something to  
happen and keeps waiting until timeout error.  
for example:  
ie.frame("main2").select\_list(:id,/select\_name/).set /10X3/  
it fires an onchange event and it keeps waiting until it finishes but  
it never finishes until you manually click on the OK button in the  
popup.

I hope I explained it correctly, sorry my English is not good.

Regards,  
Marco

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
