[wtr-general] Re: are you sure you want to navigate from this page.

2010-12-14 Thread Chuck van der Linden
 in IE 6...

Why in the world would you test using IE6?

Seriously in the developed world, the percentage of folks still using
IE6 is lower than even Opera.  It's a miniscule portion of any
potential market for just about any product except freeware.

(yes there are a lot of people still using IE6, but nearly all of them
appear to be in east asia (China and surrounding countries) running
pirated versions of XP (which don't get windows update)  (see the
analysis of the numbers here: 
http://www.troyhunt.com/2010/08/aye-pirates-be-reason-ie6-just-wont-die.html
)

Nearly all legitimate XP users, who get windows updates, have upgraded
to IE7 or IE8 since those were pushed out via winodws update.  Or
they've manually downloaded  firefox, chrome, etc.

So unless people in China or nearby contries, running pirated
software,  are a large portion of your market segment, I'd not bother
testing on IE6, or wasting any developer's time with a bug that is
unique to IE6 (and can't be reproduced on a different browser).  Move
those test boxes up to IE7!



On Dec 9, 5:26 am, Ramu Gadde ramu.ga...@gmail.com wrote:
 Hi All,
 Can any one help to handle this message are you sure you want to
 navigate from this page. in IE 6 using ruby and watir. I tried in
 different ways. so please give me your valuable suggestion and
 solutions.

 Thanks in advance.

 Regards,
 Ramu

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: help-please: cucumber-watir tutorial

2010-12-14 Thread Keith Hughes
Irfan,

Have a look at these,

http://khughes88.wordpress.com/tag/cucumber/
http://khughes88.wordpress.com/tag/webdriver/


rgds
Keith


On Tue, Dec 14, 2010 at 3:04 AM, Dave McNulla mcnu...@gmail.com wrote:

 that's on my wish list. i'll probably buy it next.

 dave


 On Dec 13, 10:39 am, Chuck van der Linden sqa...@gmail.com wrote:
  http://www.pragprog.com/titles/achbd/the-rspec-book
 
  buy and read
 
  On Dec 12, 4:39 pm, Basim Baassiri ba...@baassiri.ca wrote:
 
 
 
 
 
 
 
   Have you read any information herehttp://www.cuke4ninja.com/
 
   On Sun, Dec 12, 2010 at 12:40 PM, Irfan Ahmed irfan...@gmail.com
 wrote:
Hi,
Anybody here who can provide some tutorial links/books on Cucumber-
Watir-Wevdriver?
 
I need this help very urgently. Please help me.
 
--
Before posting, please readhttp://watir.com/support. In short:
 search
before you ask, be nice.
 
watir-general@googlegroups.com
   http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com- Hide quoted text -
 
   - Show quoted text -

 --
 Before posting, please read http://watir.com/support. In short: search
 before you ask, be nice.

 watir-general@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-general+unsubscr...@googlegroups.comhttp://groups.google.com/group/watir-general%0awatir-general+unsubscr...@googlegroups.com


-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] An intro to Watir-WebDriver

2010-12-14 Thread Alister Scott
Hi,

I've written a new blog post about how to use Watir-WebDriver for those who
are curious:
http://watirmelon.com/2010/12/14/watir-webdriver-a-detailed-introduction/

Cheers,

Alister Scott
Brisbane, Australia
Watir Web Master: http://watir.com
Blog: http://watirmelon.com
LinkedIn: http://www.linkedin.com/in/alisterscott

There are two ways to get enough: One is to continue to accumulate more and
more. The other is to desire less. *~ G. K. Chesterton*

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: Can not get url of a page when using firewatir

2010-12-14 Thread joedio
I believe that this is a know issue with Firewatir. Many of us have
run into it already.

For the details and the fix see:

http://jira.openqa.org/browse/WTR-428

Joedio

On Dec 13, 6:24 pm, Ekin Han nbkhic...@gmail.com wrote:
 Hi friends,

 When i using firewatir i found that i can not using the url api to get the
 href of a page.

 The version of firewatir is 1.6.5.

 Is there any suggestions about this?

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] An intro to Watir-WebDriver

2010-12-14 Thread Jari Bakken
On Tue, Dec 14, 2010 at 1:45 PM, Alister Scott alister.sc...@gmail.com wrote:
 Hi,

 I've written a new blog post about how to use Watir-WebDriver for those who
 are curious:
 http://watirmelon.com/2010/12/14/watir-webdriver-a-detailed-introduction/


Thanks a lot for this Alister!

Just a nitpick - it's probably more correct to call watir-webdriver a
Watir implementation *on* WebDriver rather than a Watir
implementation *of* WebDriver .

Another thing you might include is that the server jar can be
controlled programatically through the Selenium::Server class:

require 'selenium/server'
server = Selenium::Server.new(/path/to/jar, :background = true)
server.start
# run your tests
server.stop

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: are you sure you want to navigate from this page.

2010-12-14 Thread Ramu Gadde
Thaks for the info..

we are developing applications which works on Bronze to Gold browser. we
have fix for thisbut we need a fix using watir.

Let me know if you have any solutions which work in IE 6.0 or lower
versions.

Regards,
Ramu


On Tue, Dec 14, 2010 at 1:54 PM, Chuck van der Linden sqa...@gmail.comwrote:

  in IE 6...

 Why in the world would you test using IE6?

 Seriously in the developed world, the percentage of folks still using
 IE6 is lower than even Opera.  It's a miniscule portion of any
 potential market for just about any product except freeware.

 (yes there are a lot of people still using IE6, but nearly all of them
 appear to be in east asia (China and surrounding countries) running
 pirated versions of XP (which don't get windows update)  (see the
 analysis of the numbers here:
 http://www.troyhunt.com/2010/08/aye-pirates-be-reason-ie6-just-wont-die.html
 )

 Nearly all legitimate XP users, who get windows updates, have upgraded
 to IE7 or IE8 since those were pushed out via winodws update.  Or
 they've manually downloaded  firefox, chrome, etc.

 So unless people in China or nearby contries, running pirated
 software,  are a large portion of your market segment, I'd not bother
 testing on IE6, or wasting any developer's time with a bug that is
 unique to IE6 (and can't be reproduced on a different browser).  Move
 those test boxes up to IE7!



 On Dec 9, 5:26 am, Ramu Gadde ramu.ga...@gmail.com wrote:
  Hi All,
  Can any one help to handle this message are you sure you want to
  navigate from this page. in IE 6 using ruby and watir. I tried in
  different ways. so please give me your valuable suggestion and
  solutions.
 
  Thanks in advance.
 
  Regards,
  Ramu

 --
 Before posting, please read http://watir.com/support. In short: search
 before you ask, be nice.

 watir-general@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-general+unsubscr...@googlegroups.comhttp://groups.google.com/group/watir-general%0awatir-general+unsubscr...@googlegroups.com




-- 
Regards,
Ramu.
9000101030.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: help-please: cucumber-watir tutorial

2010-12-14 Thread Irfan Ahmed
Hi everybody,
You people are too much helpful..I am really grateful to you. I wish one
day, some how, I can also help you...:)

On Tue, Dec 14, 2010 at 5:22 PM, Keith Hughes khughe...@gmail.com wrote:

 Irfan,

 Have a look at these,

 http://khughes88.wordpress.com/tag/cucumber/
 http://khughes88.wordpress.com/tag/webdriver/


 rgds
 Keith



 On Tue, Dec 14, 2010 at 3:04 AM, Dave McNulla mcnu...@gmail.com wrote:

 that's on my wish list. i'll probably buy it next.

 dave


 On Dec 13, 10:39 am, Chuck van der Linden sqa...@gmail.com wrote:
  http://www.pragprog.com/titles/achbd/the-rspec-book
 
  buy and read
 
  On Dec 12, 4:39 pm, Basim Baassiri ba...@baassiri.ca wrote:
 
 
 
 
 
 
 
   Have you read any information herehttp://www.cuke4ninja.com/
 
   On Sun, Dec 12, 2010 at 12:40 PM, Irfan Ahmed irfan...@gmail.com
 wrote:
Hi,
Anybody here who can provide some tutorial links/books on Cucumber-
Watir-Wevdriver?
 
I need this help very urgently. Please help me.
 
--
Before posting, please readhttp://watir.com/support. In short:
 search
before you ask, be nice.
 
watir-general@googlegroups.com
   http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com- Hide quoted text -
 
   - Show quoted text -

 --
 Before posting, please read http://watir.com/support. In short: search
 before you ask, be nice.

 watir-general@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-general+unsubscr...@googlegroups.comhttp://groups.google.com/group/watir-general%0awatir-general+unsubscr...@googlegroups.com


  --
 Before posting, please read http://watir.com/support. In short: search
 before you ask, be nice.

 watir-general@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com




-- 
Thanks,
Irfan Ahmed Rizvi (Sagar)

cell Numbers:
+880 1676  246  991
+880 1723  712  888

http://www.welltreat.us
http://restaurant.welltreat.us/
http://isp.welltreat.us/

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/jssh_socket.rb:19:in `js_eval': missing ; before statement (JsshSocket::JSSyntaxError)

2010-12-14 Thread abhirevo1
Hi Friends,

I tried to access to an HTML element through div .I wrote it as
*ie.div(:class,gadget
default).text_field(:id,usernameinput).set(xyz)*becuase  system
showed me error:
*Unable to locate element* via .
*ie.text_field(:id,usernameinput).set(xyz)*
but still I am getting following error .
Please help.

*C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/jssh_socket.rb:19:in
`js_eval':  missing ; before statement (JsshSocket::JSSyntaxError)
from
C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/jssh_socket.rb:27:in
`js_eval_method'
from
C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/element.rb:936:in
`enabled?'
from
C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/element.rb:922:in
`assert_enabled'
from
C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/elements/text_field.rb:150:in
`set'*

I want to make confirm that now Watir is able to access to username field or
not because now *Unable to locate element*error is not coming although
some new errors are produced.
And also if somebody has idea why these new errors are coming, it would be a
great help for me.


Thanks
Abhirevo

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: An intro to Watir-WebDriver

2010-12-14 Thread John Fitisoff
Wow, that was quick. I saw the updates before I saw the actual email about the 
updates. :-)



- Original Message 
From: Alister Scott alister.sc...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Tue, December 14, 2010 12:07:30 PM
Subject: [wtr-general] Re: An intro to Watir-WebDriver

Hi Jari,

Thanks for your feedback.
1) Watir Implementation on WebDriver = Post updated to reflect this
2) Programatically controlling Server = Thanks for this, added to
blog post.

Cheers,
Alister

On Dec 14, 11:56 pm, Jari Bakken jari.bak...@gmail.com wrote:
 On Tue, Dec 14, 2010 at 1:45 PM, Alister Scott alister.sc...@gmail.com 
wrote:
  Hi,

  I've written a new blog post about how to use Watir-WebDriver for those who
  are curious:
 http://watirmelon.com/2010/12/14/watir-webdriver-a-detailed-introduct...

 Thanks a lot for this Alister!

 Just a nitpick - it's probably more correct to call watir-webdriver a
 Watir implementation *on* WebDriver rather than a Watir
 implementation *of* WebDriver .

 Another thing you might include is that the server jar can be
 controlled programatically through the Selenium::Server class:

 require 'selenium/server'
 server = Selenium::Server.new(/path/to/jar, :background = true)
 server.start
 # run your tests
 server.stop

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com



  

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: Test Framework

2010-12-14 Thread LizLeong
I couldn't run the sample rake command.   Any help to get it going?

$ pwd
/Users/elizabethleong/taza/google

$ rake spec:isolation:google
(in /Users/elizabethleong/taza/google)
rake aborted!
no such file to load -- spec/rake/spectask
/Users/elizabethleong/taza/google/rakefile:3:in `top (required)'
(See full trace by running task with --trace)

[NOTE: rakefile's line 3 is
require 'taza/tasks'

I don't see any 'tasks' file in the generated folders, and 'spec'
folder does not have spec/rake/spectask either.

$ ls spec
integration isolation   spec_helper.rb  story



On Dec 9, 4:19 pm, George george.sand...@gmail.com wrote:
 I think the biggest issue for me is that I'm still very new to RSpec.
 If I spend a little more time learning this, I should have a better
 sense of how your framework...erm, works.

 BTW, I tried to use your Google example and was fine except for the
 deprecation warning for activesupport. I'm still trying to figure out
 how to start writing tests, though. I'll keep poking around.

 On Dec 9, 7:09 am, Charley Baker charley.ba...@gmail.com wrote:

  Happy to do that if you can suggest what you're interested in. All the
  basic elements are described along with examples. Let me know what
  would help and I'll see what I can do.

  Cheers,

  Charley

  On Wed, Dec 8, 2010 at 5:26 PM, George george.sand...@gmail.com wrote:
   +1

   It would be helpful to have a little more documentation on how to
   implement this framework...

   On Dec 8, 2:56 pm, Yush bismitha...@gmail.com wrote:
   Hi Charley,

   I would like to know more aboutTazaframework. I installed the gem
   and had a little play around with it. Watched the 8 min screencast as
   well, but couldn't find more of it on advanced features and cross-site
   testing?

   Thanks,
   Yush

   On Dec 8, 8:14 pm, Charley Baker charley.ba...@gmail.com wrote:

I have a lot of experience and came up withTazaafter several
iterations of frameworks to test major websites - Gap, Facebook, and
others. Pros, the basic model, helps testers, particularly those new
to the field or with less experience talk the same language as the
developers and use common abstractions/models that make things easy to
understand.

Cons, I don't know of any off the top of my head, suggestions and
challenges - there might be challenges to figure out what belongs in a
flow vs a page as a helper method. Where to draw the line for
abstraction and DRY vs keeping your tests informative.

If you ask specific questions, I'm happy to answer. A lot of the
challenges take experience and someone to help shape your testing.

Charley Baker
Lead Developer, Watir,http://watir.com

On Wed, Dec 8, 2010 at 12:27 PM, Kay karthigaya...@gmail.com wrote:
 Hello all,

 I have recently read quite a lot about using sites, pages and flow
 objects when creating tests. I have been following this route in my
 current project and its still evolving. I am using quite lot of flows
 and flow data for UI testing.

 I just wanted to step back for a moment and have think about it-its
 pros and cons...

 I am throwing it out there- what do you think, any fellow and
 experienced Watirers.

 Cheers,
 Kay

 --
 Before posting, please readhttp://watir.com/support. In short: 
 search before you ask, be nice.

 watir-general@googlegroups.com
http://groups.google.com/group/watir-general
 watir-general+unsubscr...@googlegroups.com

   --
   Before posting, please readhttp://watir.com/support. In short: search 
   before you ask, be nice.

   watir-general@googlegroups.com
  http://groups.google.com/group/watir-general
   watir-general+unsubscr...@googlegroups.com

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com