korimo / firewatir

Automatically exported from code.google.com/p/firewatir
0 stars 0 forks source link

not able to select the item of dropdownlist in firefox using firewatir #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
WinXP and FF3.0.

Please provide any additional information below.
i ran my script on IE.it's working fine there but when i executed the same
script on firefox using firewatir,not able to select the item of the
dropdown list.First time it's get selected but next time it got failed.when
i debugged the program,got that it's selecting the next element but on the
browser it's not showing that element.Could anyone please let me know what
could be the reason for this?

Thanks in Advance 
Yogesh

Original issue reported on code.google.com by er.yoges...@gmail.com on 12 Mar 2009 at 6:45

GoogleCodeExporter commented 9 years ago
Can you please post a sample code here? and also please log the bug in JIRA at 
openqa.

Original comment by ang...@gmail.com on 13 Mar 2009 at 5:49

GoogleCodeExporter commented 9 years ago
moved to http://jira.openqa.org/browse/WTR-401

Original comment by zeljko.f...@gmail.com on 5 Nov 2009 at 2:43

GoogleCodeExporter commented 9 years ago
Ticket moved to http://jira.openqa.org/browse/WTR. Please see comments for
the exact URL.

Original comment by zeljko.f...@gmail.com on 20 Nov 2009 at 10:39

GoogleCodeExporter commented 9 years ago
Hello everyone. I got the same problem. First of all, I designed my scripts 
working on IE. Works well. Then I asked to work with firefox. The problem is 
that,

On my page, I got a dropdown list. Assume name of the select list is sth and 
one of the text of the option is sth, like below:

browser.select_list(:name, "sth").select("sth") 

If I use IE, my script selects sth but if I use firefox, watir gives the 
following exception:

No option with text of "sth" in this select element 
(Watir::Exception::NoValueFoundException)

I try to use browser.select_list(:name, "sth").select_value("sth"), it still 
fails.

Thanx in advance. 

Original comment by cemek...@gmail.com on 3 Jun 2011 at 1:26

GoogleCodeExporter commented 9 years ago
By the way, the scripts rarely works correct. about 1 out of 10 times, it works 
surprisingly.

Original comment by cemek...@gmail.com on 3 Jun 2011 at 1:28

GoogleCodeExporter commented 9 years ago
version of watir is 1.8.0. I also installed firewatir 1.8.0.

Version of firefox is 3.6.17, and os is XP.

Original comment by cemek...@gmail.com on 3 Jun 2011 at 1:30

GoogleCodeExporter commented 9 years ago
sorry for posting again and again.

I should mention one more thing, I also use cucumber scenarios. values are 
coming from feature file of cucumber.

Original comment by cemek...@gmail.com on 3 Jun 2011 at 1:34