On Mon, Mar 26, 2012 at 2:43 PM, Joe Fl joeflec...@gmail.com wrote:
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require': cannot load such file -- ruby-debug (LoadError)
Looks like you so not have this gem installed:
http://rubygems.org/gems/ruby-debug
Željko
--
==
HTML of my form: the relevant part - (html is inside an iframe)
==
td width=128
label
input type=button title=Clear Form
onClick=document.getElementById('secondForm').value = '';
value=Clear Form id=button3 class=cyp_btn_bg name=button3
/label
I am trying to create a test for removing an item from a shopping
cart:
=
HTML snippet
=
td valign=top class=texttablectr style=
a id='remove0' href='#'
img src='/images/icons/store/btn_removeFromCart.gif' width=13
height=13 style='border:0px' alt='Click to remove
Hi Željko,
Thank you for helping.
I tried to install the gem but got the following error message:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administratorcd ..
C:\Documents and Settingscd ..
C:\gem install ruby-debug
Hi,
Many thanks for replying to my query.
I have upgraded to version 0.5.4, however when I do
browser.link(:id, 'men).hover
it returns nil.
Any thoughts please?
Thanks,
Jay
On Mar 27, 3:07 am, Chuck van der Linden sqa...@gmail.com wrote:
Why not upgrade from your old 0.3.3 to the current
Hi,
Please help out me on the following.
there is a dynamic select box which displays the options based on
matching text entered by the user. from that displayed options user
has to select one option.Simply typing the whole option data by :set
(data) in the select box is not working. user should
Yes, we're trying to follow html5 standard now as watir-webdriver
does. I myself haven't used name for link even when using html4.
Hopefully there's not many things which will break.
Also, don't forget that Watir 3 will not be itself fully backwards
compatible.
Jarmo
On Mar 26, 10:19 pm, Chuck
Wondering if possible to snap shot the last screen / event my script was on
when it finds an error / ends. I am using logging as well, but my employer
is requesting screen shots to go hand in hand with the logs to show other
users where the error on sites are. I pinged irc and got response that
1) can you show us the HTML?
2) in what you tried above I would not expect it to work since you are
neglecting the second item in the nesting (the frameset with id =
'treeMain') did you try that same sort of thing in webdriver to see if it
would work? e.g.
@browser.frame(:id =
I dont remember doing it in the past, is that a new step?
Shlomit.
On Wed, Mar 21, 2012 at 12:30 PM, Željko Filipin
zeljko.fili...@gmail.comwrote:
Did you install devkit?
https://github.com/zeljkofilipin/watirbook/blob/master/installation/windows.md
Željko
--
watir.com/book - author
After installing devkit, I am still getting an error installing watir:
After I failed with the above installation, I downgrade ruby and watir but
still failing with the same error:
C:\devkitgem install watir --no-ri --no-rdoc
Temporarily enhancing PATH to include DevKit...
Building native
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
you have to install devkit
in order to do that you have to download it and extract it
then go into that folder that you extracted devkit to thru the command
prompt
type dk.rb init in the command line
then type dk.rb install
then you
That's what I did, but then trying to do gem install watir, I got the error.
See below: now I am getting a different error:
C:\devkitdk.rb install
[INFO] RubyGems override already in place for c:/Ruby, skipping.
[WARN] DevKit helper library already exists for c:/Ruby, skipping.
C:\devkitgem
So I moved back now to the new ruby installation 193 with the new watir and
it is successfully installed watir.
I am trying to run now watir tests I have, which I used to run with older
watir version, and I am getting errors:
First they were compile error, for 'BREAK', older version was working
sorry I am not familiar with Test::Unit
On Tue, Mar 27, 2012 at 2:00 PM, Shlomit Gazit shlomitpatr...@gmail.comwrote:
So I moved back now to the new ruby installation 193 with the new watir
and it is successfully installed watir.
I am trying to run now watir tests I have, which I used to run
After do |scenario|
if scenario.failed?
@browser.maximize
screenshot = /FAILED_#{scenario.name.gsub(' ','_').gsub(/[^0-9A-Za-z_]/,
'')}_#{Time.now.strftime('%Y-%m-%d-%H-%M-%S')}.png
Win32::Screenshot::Take.of(:window, :title = /Windows Internet
Explorer/).write(screenshot)
embed
Worry, missed that last part. For pure watir (not including Test::Unit)
begin
[watir script]
rescue
screenshot = /FAILED_#{Time.now.strftime('%Y-%m-%d-%H-%M-%S')}.png
Win32::Screenshot::Take.of(:window, :title = /Windows Internet
Explorer/).write(screenshot)
end
Does that help?
On
@browser.frame(:id = FrameA).frame(:id =FrameA).iframe(:id =
framepage).div(:class = TblMgmt) works for me using webdriver but not
with page-object - don't know how to specify frameset. It's not in the
page-object documentation.
On Tuesday, March 27, 2012 9:32:26 AM UTC-7, Chuck van der
nil would be correct, as that method has nothing it returns. What you
would want to do when using that in irb is pay attention to the screen or
firebug, to see that things you expect to see (such as perhaps menus being
displayed due to a CSS psuedoclass triggered by the hover state with
I'm all for embracing HTML5, but am concerned about breaking people's
ability to test against older and legacy code bases.
For example I think HTML5 removes 'frameset' and 'frame' (leaving just
iframe) but I notice we have not yanked the frame object..
If we go this way, I wonder if we
do I need to install an earlier version of ruby?
roll back ruby? no. Install dev-kit yes!
http://rubyinstaller.org/add-ons/devkit/
I'd also recommend looking into PIK if you are on windows, it's a great way
to manage ruby versions and have multiple versions installed.
On Tuesday,
What's on line 6 of this file: c2p_test_whats_new_dev.rb
On Tuesday, March 27, 2012 11:00:59 AM UTC-7, Shlomit Gazit wrote:
So I moved back now to the new ruby installation 193 with the new watir
and it is successfully installed watir.
I am trying to run now watir tests I have, which I used
that worked perfectly! Thank you ever so much!
On Tuesday, March 27, 2012 9:23:21 AM UTC-7, Ry wrote:
Wondering if possible to snap shot the last screen / event my script was
on when it finds an error / ends. I am using logging as well, but my
employer is requesting screen shots to go hand
What is the different between watir and watir-webdriver?
--
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
No worries, any time :)
On Tuesday, March 27, 2012 4:23:33 PM UTC-4, Ry wrote:
that worked perfectly! Thank you ever so much!
On Tuesday, March 27, 2012 9:23:21 AM UTC-7, Ry wrote:
Wondering if possible to snap shot the last screen / event my script was
on when it finds an error / ends. I
looking at the code for page-object It looks like you define a frameset
just like you define a frame no difference atleast looking at the commit
for in_frame
https://github.com/cheezy/page-object/commit/c4bc08691f02db102fb35d300ac953122eebf9f0
On Tue, Mar 27, 2012 at 3:18 PM, Rick
That depends on what version of Watir you are talking about.
with 3.0, about to be released, there differences are very small, and the
really BIG difference is how the browser is driven. Watir uses Win32OLE
stuff to drive the browser, and thus only supports IE. Watir-Webdriver
uses, well as
like chuck said watir is for ie only. web-driver supports all browsers. In
my experience (i'm testing a poorly coded asp.net application) though
webdriver doesn't really work all that well with ie. Also there's a
lingering protected mode error when you try to use webdriver on xp/ie8. So
for us
yeah it kinda broke all links to nav through a tab in the webapp. So i have
to figure out a work around, because i can't really have the devs change
it. The application i'm testing wasn't coded to any type of standards so it
used name instead of id to tag links.
I'm going to be using watir to
Pik is a tool to manage multiple versions of ruby on Windows. It can be
used from the Windows command line (cmd.exe), Windows PowerShell, or Git
Bash.
https://github.com/vertiginous/pik
just so you know there is one out there :)
if you post the html for the nav maybe there is another way
On
If I install webdriver, does this mean I will not be able to use
anymore watir-classic?
Or will have both options?
On Mar 27, 3:20 pm, hillary weimar1...@gmail.com wrote:
like chuck said watir is for ie only. web-driver supports all browsers. In
my experience (i'm testing a poorly coded
I'm wondering if anyone has a strategy for dealing with the plugin
permission information bar in webdriver? I'm assuming I can simply disable
them via profiles with Firefox and Chrome, but that's not an option with
IE. Is there a way to interact with this bar via watir-webdriver or
perhaps
why not try something simple like
browser.link(:xpath, //a[@name ='#page_25']).click
On Thursday, 22 March 2012 09:23:31 UTC+11, hillary wrote:
I had been identifying some links by name. I upgraded to rc3 and now i get
an error.
browser.link(:name, #page_25).click
33 matches
Mail list logo