[wtr-general] Re: Question about automation Gmail with Watir

2010-02-24 Thread Alek
So we can say we have to issue here : 1. Aware newbies to not start watir automation with Gmail , since it's html is too complicated ;) and put this is on wiki. 2. Is this possible to click using waitr nested unselectable div on Gmail ? (DIV class=J-K-I-Jz unselectable=onB unselectable=on Send

Re: [wtr-general] Re: Question about automation Gmail with Watir

2010-02-24 Thread Željko Filipin
On Tue, Feb 23, 2010 at 9:12 PM, Bill Agee billa...@gmail.com wrote: I suggest we remove the gmail wiki page. Done. Željko -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com

[wtr-general] Re: Question about execute the scripts in background

2010-02-24 Thread Sai Venkat
Try running the tests in multithreaded mode. You should be able to run concurrent scripts. Or if you are adventurous it is possible to use something like EventMachine to run parallel tests async.. Regards, Sai On Feb 24, 10:02 am, Moises Siles moises.si...@gmail.com wrote: well, I'm trying with

[wtr-general] Re: unable to install watir on JP XP

2010-02-24 Thread Sai Venkat
For building native extensions in Windows you need nmake in path. Install nmake and try to access it from shell. Regards, Sai On Feb 23, 11:33 pm, robert reisin...@gmail.com wrote: I am not sure of root cause of my problem. A workaround: Installing watir while logged into the English MUI.

[wtr-general] Question about watir and celerity

2010-02-24 Thread Moises Siles
Hi all, I'm not sure if this post should be here, sorry if not :P. Well I'm new with watir, ruby, celerity. I want to run my scripts in background in my mac using around XX amount of users, so the solution that I found was to use celerity but I'm getting the following error when I put the

Re: [wtr-general] Question about watir and celerity

2010-02-24 Thread Željko Filipin
On Wed, Feb 24, 2010 at 4:17 PM, Moises Siles moises.si...@gmail.com wrote: I'm not sure if after I remove the watir line it will affect something. I am sure it would help. Watir and Celerity do not share any code. I do not think you can even install Watir in JRuby (where Celerity is installed).

[wtr-general] Switching from Test::Unit to RSpec - tips/gotchas? Short code review.

2010-02-24 Thread Adam Reed
We have a new project starting up that I think presents a good opportunity to try out Rspec. I've gone through a lot of the documentation over the years and have begun to create the first couple of tests without test/unit. I know that Bret and others have used Rspec extensively, and I was

[wtr-general] Time into variable = Error

2010-02-24 Thread Matt
Trying something that should be simple but getting an error? myVar = time.now NameError: undefined local variable or method -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com

Re: [wtr-general] Time into variable = Error

2010-02-24 Thread Charley Baker
Capital T my_var = Time.now -c On Wed, Feb 24, 2010 at 8:54 AM, Matt thurman_m...@yahoo.com wrote: Trying something that should be simple but getting an error? myVar = time.now NameError: undefined local variable or method -- You received this message because you are subscribed to

Re: [wtr-general] Switching from Test::Unit to RSpec - tips/gotchas? Short code review.

2010-02-24 Thread Željko Filipin
Hi, Comments are inline. On Wed, Feb 24, 2010 at 4:51 PM, Adam Reed reed.a...@gmail.com wrote: require 'spec' You do not need this. Execute tests with `spec search_spec.rb` and it just works. before(:each) do @browser ||= Watir::Browser.new @browser.goto(http://www.##.com;)

[wtr-general] Re: Need help on dialog access

2010-02-24 Thread Suresh
Thanks for the replies. Here is the code I used for clicking the link, ie.frame(:id, IDXHTB).span(:class= HTBItem, :text= Clinical Desktop).click I tried using click_no_wait with not much success. (screen blanks out for a few moments, when it comes back the click didnt actually click on the

[wtr-general] NoMatchingWnidowFound Error..

2010-02-24 Thread bobeym
Hi, I'm getting NoMatchingWindowFound when i try to access an IE window in my working(office) machine. ie2=Watir::Browser.attach(:title,Google) #on http://www.google.com; IE window But the same method works fine in my home machine.. Why does the same code behave differently in different

[wtr-general] Re: Switching from Test::Unit to RSpec - tips/gotchas? Short code review.

2010-02-24 Thread Adam Reed
Thanks Željko! 1. I used the require 'spec' so that I could execute the script in SciTE to check for simple errors before running spec from the command line. To your point, I will make sure not to include it on future scripts. 2. Agree with you on the before(:all)/(:each) - I'm still figuring

[wtr-general] Re: Switching from Test::Unit to RSpec - tips/gotchas? Short code review.

2010-02-24 Thread Adam Reed
Thanks Željko! 1. I used the require 'spec' so that I could execute the script in SciTE to check for simple errors before running spec from the command line. To your point, I will make sure not to include it on future scripts. 2. Agree with you on the before(:all)/(:each) - I'm still figuring

Re: [wtr-general] NoMatchingWnidowFound Error..

2010-02-24 Thread Paul Rogers
does it work if you use /Google/ ( a regular expression) Some corporates customize the browser title bar, which may impact this Paul On Wed, Feb 24, 2010 at 9:40 AM, bobeym bobeymc...@gmail.com wrote: Hi, I'm getting NoMatchingWindowFound when i try to access an IE window in my

[wtr-general] Firefox delays on every link clicked

2010-02-24 Thread terevos
Hi, I'm new to Watir - so far I've been enjoying it. I've mostly been developing on safariwatir, but I'd like to use firewatir as well (and eventually ie, too). But trying to drive firefox has been a bit of a pain. On the particular webpage I'm testing, it uses a lot of javascript, so firefox

[wtr-general] Re: Firefox delays on every link clicked

2010-02-24 Thread terevos
These are my environments: (same problem happening on both) -- Mac: 10.5.8 Ruby 1.8.6 and gem 1.3.5. Firewatir is 1.6.5 on Firefox 3.5.8 safariwatir is 0.3.7 on Safari 4.0.4 -- Linux: Ubuntu 8.04 Ruby 1.8.6 and gem 1.3.6 Firewatir is 1.6.5 on Firefox 3.0.17 -- You received this message because

Re: [wtr-general] Re: Switching from Test::Unit to RSpec - tips/gotchas? Short code review.

2010-02-24 Thread marekj
On Wed, Feb 24, 2010 at 11:12 AM, Adam Reed reed.a...@gmail.com wrote: Thanks Željko! 1.  I used the require 'spec' so that I could execute the script in SciTE to check for simple errors before running spec from the command line.  To your point, I will make sure not to include it on future

[wtr-general] browser.goto does not return

2010-02-24 Thread hliauw
Hi all, I got this strange issue on my test. First of all, i'm still trying to nail down the problem and looking for help to pinpoint the root cause so please bear with me. :) I have a windows XP on a VM workstation setup where ruby, watir and browsers sit. in my series of tests, i use both

[wtr-general] Re: Need help on dialog access

2010-02-24 Thread Suresh
Found the solution to the problem. (Needed to do a lot of searching to get this right - solution was quite scattered around). Here is what I added to make the modal dialog accessible, dialog = ie.modal_dialog(:title, title) dialog.text_field(:name, txtSearchString).set ABC

[wtr-general] Has any one used browser user agent using Watir?

2010-02-24 Thread Nagaanjani Kusuma Vellanki
Hello, Any suggestions on how to use firefox user-agent with Watir. or is it possible to use it on firefox? Please advise. Thanks, Naga -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to

Re: [wtr-general] Has any one used browser user agent using Watir?

2010-02-24 Thread Charley Baker
Use Firewatir which drives firefox? Take a look at the tutorials on the wiki. http://wiki.openqa.org/display/WTR/Project+Home You're driving real browsers, it may be possible spoof the user agent string if that's what you're looking for. -c On Wed, Feb 24, 2010 at 5:12 PM, Nagaanjani Kusuma

Re: [wtr-general] Re: Firefox delays on every link clicked

2010-02-24 Thread Angrez Singh
can you post the HTML code? or a link to website you are testing so that we can have a look at it. - Angrez On Wed, Feb 24, 2010 at 11:53 PM, terevos tere...@gmail.com wrote: These are my environments: (same problem happening on both) -- Mac: 10.5.8 Ruby 1.8.6 and gem 1.3.5. Firewatir is

Re: [wtr-general] Question about watir and celerity

2010-02-24 Thread karim rayani
Clearity is a headless implementation of the Watir API but it runs on the java platform, Karim Rayani On Wed, Feb 24, 2010 at 8:53 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Feb 24, 2010 at 4:17 PM, Moises Siles moises.si...@gmail.com wrote: I'm not sure if after I