I tried to completely uninstall (using gem uninstall packagename)
and re-install win32-* gems, windows-* gems and Watir.. I still have
the same problem. Here's my gem list :
*** LOCAL GEMS ***
activesupport (2.2.2)
builder (2.1.2)
commonwatir (1.6.2)
firewatir (1.6.2)
fxri (0.3.6)
fxruby
Since Watir and SafariWatir have moved to GitHub, I wanted to
share this information about a free course (Git and GitHub):
It happens between Feb 21 and 27.
http://rubylearning.com/blog/2009/02/10/git-and-github-a-free-course/
FYI,
Al Snow
--~--~-~--~~~---~--~~
30 June 2006, dannyy wrote:
We are able to write very robust and concise test cases, such as
automating drag-and-drop without knowing how such behavior is
implemented.
I'm wondering what he's talking about?
I've successfully written drag and drop scripts in SilkTest and
Selenium, but doing so
This is the same as Exception handling.
begin
...
rescue
...
end
- Original Message
From: Prince3105 prince3...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Wednesday, February 11, 2009 11:11:36 PM
Subject: [wtr-general] On Error Resume Next - Equal statement in
Maybe.
You should talk to Daniel Berger, who maintains the windows gems. I
don't think he reads this list.
djber...@gmail.com
Bret
Ben wrote:
Ok... I tried a brand new installation of Ruby and Watir on a fresh
win xp install using a VMWare virtual machine and everything works
perfectly...
This notice applies to people who installed Watir last week and are
seeing problems.
There was a bad gem, win32-api version 1.3.0 distributed last week. The
problem was fixed with a new gem that was given the same version number.
As a result, the gem installer can't tell whether you have the
Here is a stack trace that indicates that you have the error discussed
below:
C:/ruby/lib/ruby/gems/1.8/gems/win32-api-1.3.0-x86-mswin32-80/lib/win32/api.so:
126: The specified module could not be found. -
C:/ruby/lib/ruby/gems/1.8/gems/win32-api-1.3.0-x86-mswin32-80/lib/win32/api.so
You can compare arrays very easily in ruby use the == method. I think
order matters so you might wish to sort (.sort) your array.
There is a method on a select box to get all of the options
( .options() ). This returns an array.
You can then store your expected results in an array and
All,
I have read the tutorial about killing a 'Windows Internet Explorer' javascript
popup, but I am writing to ask if there is a way to verify the text on these
popups first, with a method similar to .contains_text? If this question is not
clear, I can elaborate. Thanks in advance.
-
Interesting.
I found the options() method from the rdoc. However, I do not get the
behaviour I expect.
Use getAllContents() instead; this does return an array, as expected.
Alex
On 12 Feb 2009, at 19:15, Jason Shelton wrote:
I tried the following code, and I am getting the undefined
I have searched through the archives, but have not been able to find any
examples of what I am looking for. I have never used autoit, so are there any
ways to do this without it? I am willing to learn it if necessary. Thanks in
advance.
- Shelton Date: Thu, 12 Feb 2009 12:54:20 -0800
The AutoIt function name WinGetText should be a good keyword to
google to see some useful example code. Here's a Watir list thread
from earlier this year about it:
http://groups.google.com/group/watir-general/browse_thread/thread/5b6f529b16616bbc?pli=1
And a Watir wiki page that shows a little
Al and Marekj, thanks for the links!
On Thu, Feb 12, 2009 at 1:01 PM, marekj marekj@gmail.com wrote:
I updated 2 concepts in the latest intro slides.
1) git config and autocrlf
- point to path/to/etc/gitconfig as the global and the defualt
autocrlf = true setting
- point to
Thanks, autoit is definitely something I will begin to utilize. My issue now
is that script that causes the popup to prompted, stops whenever the popup is
prompted, so the code after if(the autoit code) is not executed until the popup
is canceled. I can elaborate if necessary. Thanks in
Yeah, that blocking behavior is a common problem. It seems at the
moment the easiest way to get around that is to execute the code to
handle the popup in a separate process.
To experiment with this you can put the popup handling code in its own
script, verify that it works as expected when run
The first public training class on Watir (including the new WatirCraft
framework) is March 25-26 in Austin TX. We're discussing where to
hold additional public classes after that. Portland OR has been
mentioned. Bay Area? Chicagoland? We're looking for suggestions
based on need.
Pete
I'm trying to figure out how to use an OR statement between two
wait_unti{exist?}
Steps/Scenario is as follows:
1. Page with Link
2. Click Link
3 Opens Confirmation
4. Click button in popup
5. Page does a postback in javascript.
At this point I need to wait until the page is re-reendered
how about Washington DC? or someplace off GREEN BELT turnpike in
Reston Virginia
bring the show to the east PLEASE
On Feb 12, 5:57 pm, Pete Dignan p...@watircraft.com wrote:
The first public training class on Watir (including the new WatirCraft
framework) is March 25-26 in Austin TX. We're
The whole condition, with the OR, goes in the block. Like this:
Watir::Waiter.wait_until{ ie.p(:id,'savewarning').exists? ||
ie.p(:id,'saveconfirm').exists? }
Richard
--
Richard Lawrence
Certified Scrum Coach
Founder and Principal Consultant, Humanizing Work, LLC
303-895-7688
I ran into a similar issue and was able to work around it by calling
click! instead of click or click_no_wait. We're not using SproutCore
so this may not be relevant to your issue.
## snip
# Click on the Export button then Save the file as an
artifact
export =
Hi,
I have to include a ruby program inside another ruby program.
i used the following command,
require ' logintest.rb'
But i am getting an error,
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
core_ext/module/introspection.rb:70:in `const_get': no such
Try
require File.dirname(__FILE__)+'/../***.rb
Thanks.
Wesley Chen.
On Fri, Feb 13, 2009 at 12:46 PM, malar malar.je...@gmail.com wrote:
Hi,
I have to include a ruby program inside another ruby program.
i used the following command,
require ' logintest.rb'
But i am getting
I seem to get myself stuck every Friday evening with seemingly trivial
Watir / Ruby problems. Here's this week's problem.
I'm struggling to match by XPath with a variable inside the xpath
syntax.
The following works perfectly:
$browser.element_by_xpath(//dl/dt[contains(text
23 matches
Mail list logo