Re: [wtr-general] How to run Watir with Firefox 18?

2013-02-05 Thread Joe Fleck
Hi Phouc, I make it a practice to do the following regardless of the OS I running the scripts on: require 'rubygems' require 'watir-webdriver' I believe Firewatir is no longer supported since the release of watir-webdriver. I would remove it all together because watir-webdriver supports the lat

Re: [wtr-general] How to run Watir with Firefox 18?

2013-02-05 Thread Phuoc Can Hua
Hi Joe, I've added require watir-webbrowser. But it didn't seem to help. Now I removed "requre 'watir'". Then it moved to something else, see below. So, I tried with installing firewatir. I still got the same message. My installed firewater was 1.9.4. Can this be a reason? I got the same error w

Re: [wtr-general] How to run Watir with Firefox 18?

2013-02-05 Thread Joe Fleck
Hi, Try placing the require statement in the begin of your code. Sorry it's capitalized but my kindle fire kept auto correcting. Require 'WATIR-WEBDRIVER' runHMSTests.rb:8 require 'HMS_TestSuite' HMS_TestSuite.rb:8 require 'HMS_Priority1_Add_TestCases' HMS_Priority1_Add_TestCases.rb:4 require

Re: [wtr-general] How to run Watir with Firefox 18?

2013-02-05 Thread Phuoc Can Hua
runHMSTests.rb:8 require 'HMS_TestSuite' HMS_TestSuite.rb:8 require 'HMS_Priority1_Add_TestCases' HMS_Priority1_Add_TestCases.rb:4 require 'HMSTestCase' HMSTestCase.rb:2 require 'watir-webdriver' -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] I am beginner, getting error please help !

2013-02-05 Thread Amit Kumar
Thanks Željko. Appreciate your help !! On Tue, Feb 5, 2013 at 7:54 PM, Željko Filipin wrote: > On Mon, Feb 4, 2013 at 3:25 PM, Amit Kumar wrote: > >> But if we have Watir-webdriver for Firefox. Why do we need >> selenium-webdriver? Is it mandatory ? > > > Yes. watir-webdriver gem is "just" an AP

Re: [wtr-general] help please

2013-02-05 Thread Željko Filipin
On Sat, Feb 2, 2013 at 7:19 PM, Sohail Mirza wrote: > my question is how to set value in the textbox with following html code > * aria-hidden="true" style="cursor: text;">some...@example.com* > This is a div, not at text field. Are you testing wysiwyg editor? http://watirwebdriver.com/wysiwyg-e

Re: [wtr-general] Watir sets textfield values of dot in non-English characters!

2013-02-05 Thread Željko Filipin
On Mon, Feb 4, 2013 at 6:29 PM, Guy Rapaport wrote: > browser.text_field(:id=>"foo").value = "gu...@dna-7.com" > What gets filled in the text field is > guyץr@dna-7ץcom > Please create a new issue here: https://github.com/watir/watir-webdriver/issues When creating the issue, please provide you

Re: [wtr-general] I am beginner, getting error please help !

2013-02-05 Thread Željko Filipin
On Mon, Feb 4, 2013 at 3:25 PM, Amit Kumar wrote: > But if we have Watir-webdriver for Firefox. Why do we need > selenium-webdriver? Is it mandatory ? Yes. watir-webdriver gem is "just" an API on top of selenium-webdriver gem. Željko -- https://leanpub.com/watirbook -- -- Before posting, p

[wtr-general] Getting constant "net/protocol.rb:140:in `rescue in rbuf_fill': Timeout::Error" exception for Watir-webdriver after couple hours of use

2013-02-05 Thread Alex Shtayer
Env: 1. ruby 1.9.2p180 2. watir-webdriver (0.6.2) 3. InternetExplorerDriver server (32-bit) 2.29.0.0 I am running usual functional tests (that worked perfectly on usual watir), so it is almost 100% no dependencies on what I test, but more what I use for testing. Issue can be reproduced on FF too

[wtr-general] Re: help please

2013-02-05 Thread prathyusha rupakula
hi i suggest using "id" attribute without "any quotes" for name needed in the text field and a comma separator instead on=>. example browser.text_field(:id,"idDiv_PWD_UsernameExample").set te...@test.com On Saturday, February 2, 2013 11:49:11 PM UTC+5:30, mc060200778 wrote: > > Hi, > > my

[wtr-general] Watir sets textfield values of dot in non-English characters!

2013-02-05 Thread Guy Rapaport
I use Windows 7, and have two languages installed for my keyboard: English and Hebrew. Whenever I use Watir to type into a text field: browser.text_field(:id=>"foo").value = "gu...@dna-7.com" What gets filled in the text field is guyץr@dna-7ץcom ץ is the Hebrew character that would have been typ

Re: [wtr-general] How to run Watir with Firefox 18?

2013-02-05 Thread Joe Fleck
Can you paste the code you are executing here? Joe On Mon, Feb 4, 2013 at 10:22 PM, Phuoc Can Hua wrote: > > > On Tuesday, 5 February 2013 13:58:04 UTC+11, Joe Fl wrote: >> >> Make sure to remove the require statement for firewatir and replace it >> with >> require 'watir-webdriver'. >> >> Joe >