There is a short process on the wiki on how to install Eclipse.
http://wiki.openqa.org/display/WTR/Setting+up+Eclipse+for+Ruby
Maybe it will have some helpful tips.
Good luck!
Carl
___
Wtr-general mailing list
Wtr-general@rubyforge.org
I will be out of the office starting 06/13/2007 and will not return until
06/14/2007.
If you need immediate assistance please try Cari Spruiell or my cell phone
at 512-560-5773. Thanks!
--
NOTICE: The information contained in this electronic mail transmission is
intended by Convergys
I will be out of the office starting 06/13/2007 and will not return until
06/14/2007.
If you need immediate assistance please try Cari Spruiell or my cell phone
at 512-560-5773. Thanks!
--
NOTICE: The information contained in this electronic mail transmission is
intended by Convergys
I will be out of the office starting 05/26/2007 and will not return until
06/10/2007.
If you need immediate assistance please try Cari Spruiell or my cell phone
at 512-560-5773. Thanks!
--
NOTICE: The information contained in this electronic mail transmission is
intended by Convergys
Howdy,
We have no plans to upgrade to IE 7 anytime soon, so I concur with Paul
that we need to be able to support both.
Thanks,
Carl
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hello,
My understanding is that Rubyforge site is not deprecated. The site
wtr.rubyforge.org is the main release site for WATIR, which is the current
home to WATIR 1.4 When WATIR 1.5 goes live the release code and
supporting documentation will be placed here.
The openqa site is intended to
Hello Steve,
I believe the ie.show_tables prints all tables present on the page to the
console, including nested tables. Then it is a matter of isolating your
target table. There is a short example on this blog.
http://onthewatirfront.blogspot.com/
Take care,
Carl
Thanks Paul! As usual you were most helpful.
I am looking forward to figuring this out and trying your suggested
technique.
Take care,
Carl
___
Wtr-general mailing list
Wtr-general@rubyforge.org
I am sure there is a more elegant way and WATIR can emulate a shift-key,
but I do the following:
ie2.selectBox( :name Thing).select(My thing)
ie2.selectBox( :name , thingAvailable).select(002)
ie2.selectBox( :name , thingAvailable).select(002)
assert( @ie.image(:src , /ps_icon_local_loop.gif/
).exists? )
Carl L. Shaulis
Convergys - Senior Analyst
512-634-0607
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
## Begin test THIS WORKS FINE!
class DNX_1 Test::Unit::TestCase
def test 1
puts Howdy THIS DOES NOT WORK!
@ie.link(:text, ADD NEW...).click
puts Howdy THIS DOES NOT WORK!
end
end
Carl L. Shaulis
Convergys - Senior Analyst
512-634-0607
--
NOTICE
Lauren,
I use watir 1.4.1 but reviewing 1.5.1. I had a situation today where
.button(:name, ???).click did not work against our application. I changed
it to ie.button(:caption , ???).click and it worked.
Worth a try I guess.
Good luck!
Carl
Lauren,
I have concluded this week that working with the gems is the best way to
install watir. There are a few unit tests that are not perfect in my
environment, but gems are easier to manage.
I recommend uninstalling and grab the lastest gem. Then execute gem
install
Howdy,
I am not sure this will help. Here is an example of how we have been able
to locate data in table cells.
Create a file called MSNTest.rb with this code:
# CLS February 7,2007 Example for finding table data
#includes:
require 'watir' # the watir controller
require
-1.4.1
/unittests/all_tests_concurrent.rb:22:in `each'
C:/apps/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1
/unittests/all_tests_concurrent.rb:22:in `run']:
b1 expected but was
foo.
16 tests, 38 assertions, 5 failures, 9 errors
Carl L. Shaulis
Convergys - Senior Analyst
512-634-0607
--
NOTICE
Hi Maloy,
A snippet of code was provided yesterday. Did you see this code? Does this
code not work? Do you have questions about the code? Are you executing
this via IRB or someting like Eclipse?
Have you executed any of the unit tests? Do the assertions work for the
unit tests?
Thanks,
Good morning:
Perhaps you could try something like this:
#includes:
require 'watir' # the watir controller
require rexml/document
require date
require '/apps/ruby/lib/ruby/1.8/test/unit'
require '/apps/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner'
require
Howdy,
Does your select box appear as a Popup?
If my assumption is correct you can use something like this:
@ie.link(:text, link to JS Pop Up).click
ie2 = IE.attach(:title, Title of the Pop Up)
assert(ie2.selectBox(:name, search_clientid).exists?)
I will be out of the office starting 12/18/2006 and will not return until
12/26/2006.
If you need immediate assistance please try Cari Spruiell or my cell phone
at 512-560-5773. Thanks!
--
NOTICE: The information contained in this electronic mail transmission is
intended by Convergys
I will be out of the office starting 10/26/2006 and will not return until
10/27/2006.
If you need immediate assistance please try Cari Spruiell or my cell phone
at 512-560-5773. Thanks!
--
NOTICE: The information contained in this electronic mail transmission is
intended by Convergys
I will be out of the office starting 10/03/2006 and will not return until
10/04/2006.
If you need immediate assistance please try my cell phone at 512-560-5773.
Thanks!
--
NOTICE: The information contained in this electronic mail transmission is
intended by Convergys Corporation for the
Howdy,
I am not sure this addresses your question but we deal with check boxes in
two ways.
We use cells and indices when the checkbox is in a table cell.
@ie.cell(:id, 'something').checkbox(:index,1).set
@ie.checkBox(:id, something).click
Good luck,
Carl
Carl L. Shaulis
Convergys
).set
Closes the Pop Up
ie2.image(:src , /ps_save_button.gif/).click
Good luck!
Carl
Carl L. Shaulis
Convergys - Senior Analyst
Jassi Akkal
I will be out of the office starting 05/05/2006 and will not return until
05/08/2006.
I will respond to your message when I return.
--
NOTICE: The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to
Good afternoon:
I have two areas where I am currently blocked.
The most important concern is dowloading a file. I use Winclicker
successfully for handling other pop-ups in our application but when if
comes to File Download it does not appear to work. Searching the archives
I find reference
Good afternoon:
I am looking for a means to set some global variables and pass them on to
other scripts. I was attempting to set some global variables in a file
similar to the all_test.rb or the setup.rb. I would like all scripts
called from setup.rb to use these global variables. It is
Thanks for the replies! I had tried what Dara suggested and it did not
work. Well the lesson is that if you do not type the variable names
correctly it will never work!
Dara - Thanks for forcing me to peer review my code! :0)
Also thanks for the other replies.
Carl
Thank you very much for your assistance! Works like a charm!
Carl
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Good morning:
Our application permits a user to import a site file. I am able to attach
to the pop up utility, but I am not able to find the text_area. When we do
a ie.show_all_objects we are returned this
file name=file id= value=
alt=
Good morning WATIR experts,
I apologize for such an elementary post, but I am having difficulty getting
the assert methods to function. I believe my issue is fundamental. Is it
how I am attempting to use assertions? Is it path or environment related?
We have been able to write some really
Thanks for your responses!
This code is a modified version of the code in textfields_test.rb, so I
believe the syntax is accurate. I changed Test1 to test1, which provides
the same result. I also removed the $ from the ie and I get this
Loaded suite C:/Apps/PowerSeller Test
I will be out of the office starting 08/25/2005 and will not return until
08/29/2005.
I will respond to your message when I return.
--
NOTICE: The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to
32 matches
Mail list logo