Re: [wtr-general] Query regarding chromewatir

2010-03-10 Thread Mrunal
Hi Wesley, Thanks for the reply. I tried your solution but its giving same problem mentioned in the previous mail. Where should i save that small test? in the installation directory or anywhere else. I saved the test in chrome_watir folder. Waiting for your kind reply. Regards, Mrunal

Re: [wtr-general] Query regarding chromewatir

2010-03-10 Thread Wesley Chen
Try: require "chrome_watir" $k = ChromeWatir::Browser.new $k.goto("www.yahoo.com") Wesley. For life, the easier, the better. On Wed, Mar 10, 2010 at 6:59 PM, Mrunal wrote: > Hi > > I want to test the web applications with google chrome. > I've installed Google Chrome browser and the gem Chrom

[wtr-general] Re: Gmail compose automation

2010-03-10 Thread orde
Developing and maintaining gmail scripts will be a challenge. If you're committed to it, search this forum, and there are a few threads that might help. For example: http://groups.google.com/group/watir-general/browse_thread/thread/d6ffd6abde7e711c/14f71f58ec631893?lnk=gst&q=automating+gmail#14f

[wtr-general] Query regarding chromewatir

2010-03-10 Thread Mrunal
Hi I want to test the web applications with google chrome. I've installed Google Chrome browser and the gem Chromewatir 1.5.1 I tried the following small test require "chrome_watir" include ChromeWatir $k = Browser.new $k.goto("www.yahoo.com") But when the first time test is executed i get foll

[wtr-general] Gmail compose automation

2010-03-10 Thread Dilip M
Hi all, I am automating gmail..while i am doing so i encountered a problem.. i will explain here that problem plz can any one solve and guide me to solve.. i can able to login successfully.then after while composing a mail i can flash that compose using $ie.frame(:name,"main").fr

Re: [wtr-general] Re: Verify a hide element

2010-03-10 Thread Moises Siles
Thanks I already fix the problem, during my test a popup is displayed and then it will be close, so I think the window focus change to the popup and then when the command ie.close try to be executed they doesn't find the original window, so I think that was the problem, because I was doing some tes

[wtr-general] Re: Verify a hide element

2010-03-10 Thread Super Kevy
ie.close should work, so check your script requires else check scope of handle ie :) require 'rubygems' require 'watir' require 'firewatir' require 'win32ole' #1st make sure JSSH is listening in fire sURL='http://www.google.com' ie=FireWatir::Firefox.new ie.goto(sURL) ie.maximize() sleep 3 ie

[wtr-general] Re: Dealing with the  character

2010-03-10 Thread orde
You should be able to select Unicode (UTF-8) from that dropdown. That might fix the "Â" issue that you're observing. On Mar 10, 10:04 am, George wrote: > It appears that Western European (ISO) is selected by default. Is > there something I can do in the code to convert it to UTF-8? > > On Mar 10

[wtr-general] Re: Dealing with the  character

2010-03-10 Thread George
It appears that Western European (ISO) is selected by default. Is there something I can do in the code to convert it to UTF-8? On Mar 10, 9:44 am, orde wrote: > Nice that you got it worked out. > > One question, though. > > Open IE, go to the website you're testing, right click, and select > Enco

[wtr-general] Re: Dealing with the  character

2010-03-10 Thread orde
Nice that you got it worked out. One question, though. Open IE, go to the website you're testing, right click, and select Encoding. Is Unicode (UTF-8) selected? On Mar 10, 8:26 am, George wrote: > I'm using IE. I tried using gsub!(/Â/, ""), but I couldn't remove the > remaining spaces. It too

[wtr-general] Re: Dealing with the  character

2010-03-10 Thread George
I'm using IE. I tried using gsub!(/Â/, ""), but I couldn't remove the remaining spaces. It took a long time, but I think I figured it out using this: x = "3       Jubitz Travel Center               Portland,OR" b = x.gsub(x[/(\d+)(\b[^0-9A-Za-z]{1,}\b)/], '') # gets rid of th