[wtr-general] Re: adding utf-8 character to text fields

2009-10-02 Thread Željko Filipin
On Thu, Oct 1, 2009 at 8:36 PM, Jari Bakken jari.bak...@gmail.com wrote: Actually, UTF-8 is the default in Watir Jari, can you please update the page? I am not sure what to do. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[wtr-general] Re: adding utf-8 character to text fields

2009-10-02 Thread Loft_Tester
This may cause issues for some of our test where we are using high ascii characters not encoded in UTF-8. All of our test are data driven through excel we may just have to change the values to be UTF-8 encoded. Is there any Idea when the next version of watir is due out On Oct 2, 8:07 am,

[wtr-general] Re: adding utf-8 character to text fields

2009-10-02 Thread Loft_Tester
I feel like I'm taking the short bus to wiki school. I believe I figured out how to add my example to the correct place but adding myself as a contributer of documentation is not going well at all. Would one of you guys give me a quick tutorial. That would be great thanks. On Oct 1, 10:42 am,

[wtr-general] Re: adding utf-8 character to text fields

2009-10-02 Thread Željko Filipin
On Fri, Oct 2, 2009 at 3:09 PM, Loft_Tester aaronr...@gmail.com wrote: adding myself as a contributer of documentation is not going well at all. Would one of you guys give me a quick tutorial. - log in to wiki - go to http://wiki.openqa.org/display/WTR/Contributors - click `Edit` (top lef) -

[wtr-general] watir tests are not passing on my environment

2009-10-02 Thread Shlomit Gazit
Hello, I have one watir environment that is well functioning (that I didn't set up). I was trying to set up a new watir environment but somehow the tests that are running on the good environment are not running on the new environment. For example, a test that is well running on one environment

[wtr-general] Checking if link exists

2009-10-02 Thread Shlomit Gazit
Hello, I want to check if a link exists in the page. I dont know what the content text of the link is, but I know the url. The procedure is: I want to set a filter with a certain text and clicking on the filter, it suppose to return nothing, that's how I will see that it is working well.

[wtr-general] Click ok on popup

2009-10-02 Thread Shlomit Gazit
For handling prompt popups, I am using myClicker.rb file: ___ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ require 'watir/WindowHelper' $helper = WindowHelper.new $helper.push_confirm_button_ok() I am calling

[wtr-general] Re: Checking if link exists

2009-10-02 Thread karim rayani
Hi try this syntax require watir test_site = http://www.google.com; ie = Watir::IE.new ie.goto test_site puts ie.link(:index,1).to_s *puts ie.link(:index,1).href* # above is the href property to extract the href value from the hyperlink sleep(10)

[wtr-general] Re: Checking if link exists

2009-10-02 Thread Shlomit Gazit
Thanks. I realized I had to use .innerText On Oct 2, 11:06 am, karim rayani karim@gmail.com wrote: Hi try this syntax require watir test_site = http://www.google.com; ie = Watir::IE.new ie.goto test_site puts ie.link(:index,1).to_s

[wtr-general] Re: adding utf-8 character to text fields

2009-10-02 Thread Loft_Tester
Thanks that worked great On Oct 2, 9:33 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Oct 2, 2009 at 3:09 PM, Loft_Tester aaronr...@gmail.com wrote: adding myself as a contributer of documentation is not going well at all. Would one of you guys give me a quick tutorial.

[wtr-general] Re: Cannot use the index in SafariWatir

2009-10-02 Thread yuping zhong
Doesn't work. See the following: sf.button(:index,1).click NoMethodError: undefined method `-' for 1:String from /usr/local/lib/ruby/gems/1.8/gems/safariwatir-0.3.3/./ safariwatir/scripter.rb:395:in `operate_by_index' from /usr/local/lib/ruby/gems/1.8/gems/safariwatir-0.3.3/./