[wtr-general] using selenium AND watir

2009-11-25 Thread chhsiung

Hi

Has anyone ever tried to use both the selenium and watir libraries
under the same framework?  I've used selenium at a previous job and am
trying out watir now.  There are certain things I liked about selenium
that I haven't figured out how to do in watir yet - easier to write
shared scripts for IE and firefox, xpath support.  Is there any
benefit to using both (using selenium in ruby)?


--~--~-~--~~~---~--~~
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
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Extending Test::Unit::TestCase twice

2009-11-24 Thread chhsiung

Hi

I have 2 classes...

BaseTestCase  Test::Unit::TestCase
   couple of test cases to do some stuff that i want all test cases to
do
end

SpecificTestCase  BaseTestCase
   test cases to do some more specific stuff stuff
end

When I'm running SpecificTestCase, it's actually executing the
BaseTestCase's testcases twice.  Why is that?  Am I extending the
classes or using Test::Unit::TestCase incorrectly?  New to Ruby and
Watir...

Thanks!

--~--~-~--~~~---~--~~
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
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] workaround for WTR-343 (element_by_xpath issue)

2009-11-23 Thread chhsiung

Hi

I am trying to use element_by_xpath to retrieve objects to interact
with.  However, because of WTR-343, element_by_xpath is returning
WIN32OLE objects so I don't have access to Element methods (like
append, clear, set, etc).

I want to use element_by_xpath because I may have elements that are
children of other elements so I'd like to be able to construct
relative xpaths. (like Problem 3 in Angrez's post -
http://angrez.blogspot.com/2006/06/xpath-and-watir.html)

Has anyone run into similar issues?  Any workarounds?

--~--~-~--~~~---~--~~
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
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---