Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
Downgrading win-process works On Saturday, 8 September 2012 03:19:04 UTC+5:30, Željko Filipin wrote: > > On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio > > > wrote: > > ffi (1.1.5) > > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in > > `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) > > This looks like a problem with ffi gem. We had problems with that gem > before. Try upgrading or downgrading the gem. Let us know if you do not > know how to do that. > > Željko > -- > filipin.eu > -- 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] does watir classic, not webdriver support IE 10 ?
does watir classic support IE 10 on win 8 box ? -- 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: How To Find The Absolute Links Behind Javascript...
Hi, did you find a solution for this one? Thanks a lot, Leandro Em segunda-feira, 10 de março de 2008 10h38min42s UTC+1, Deb escreveu: > Here Is The page Code > > > onClick="javascript:downloadInvestorReports('20080225');return > false;">February 25, 2008 > onClick="javascript:downloadInvestorReports('20080125');return > false;">January 25, 2008 > onClick="javascript:downloadInvestorReports('20071226');return > false;">December 26, 2007 > onClick="javascript:downloadInvestorReports('20071126');return > false;">November 26, 2007 > onClick="javascript:downloadInvestorReports('20071025');return > false;">October 25, 2007 > onClick="javascript:downloadInvestorReports('20070925');return > false;">September 25, 2007 > > > I Want To Download A PDF Linked Behind The Month February... So I Need > To Know The Absolute Path For The File... > I Managed To Use MouseClick & Handel The "SaveAs" Window To Download > It... > But I Don't Want To Use Window Automation e.g Handeling The SaveAs > Window... I Need To Download It Behind... > > So Is There Any Way To Know The Link Behind & Download It By NET/Http > Or Something Else... :) > > Thanks For Your Help... :) > -- 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] undefined method `exists?' for link (PageObject gem)
Try this: Then /^I should have access to my account$/ do on(LoginPage).signout_element.should exist end Explanation: on(LoginPage).signout # clicks the link on(LoginPage).signout_element # returns the link More information: https://github.com/cheezy/page-object/wiki/Elements Željko -- filipin.eu -- 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] Random numbers
How would you write something to generate a random number that aren't sequential. E.g. generate a random number picked from these four: 10, 9, 55, 3 Cheers Aidy -- 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] Random numbers
This is really more a ruby question than a watir one. I suggest you look into http://www.ruby-doc.org/core-1.9.3/Array.html#method-i-sample number_from_array = %w{2 3 9 55 11} number_from_array.sample On Fri, Nov 2, 2012 at 6:00 AM, Adrian Killens wrote: > How would you write something to generate a random number that aren't > sequential. > > E.g. generate a random number picked from these four: 10, 9, 55, 3 > > Cheers > Aidy > > -- > 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
Re: [wtr-general] Watir-WebDriver vs Selenium WebDriver Python bindings
On Sat, Oct 27, 2012 at 10:45 PM, Chris Smalley wrote: > I don't want this to turn into a Python vs. Ruby conversation, but I'd like some insight on the Selenium WebDriver bindings vs Watir-WebDriver. Another Chris wrote something that could help you: https://github.com/watir/watir-bazaar/wiki/browser-test-%22stack%22-language-comparison Željko -- filipin.eu -- 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: Flash objects identification in Watir
They can't be identified by Watir. Watir can only interact with html elements. Jarmo Pertman - IT does really matter - http://itreallymatters.net On Friday, November 2, 2012 8:15:29 AM UTC+2, Inder Pal wrote: > > hi all, > I am using Watir for automation testing of our website. Recently > our developers have introduced a lot of Flash elements in the application. > Hence I will require your inputs on how these elements (Buttons and > uploaded options) can be identified in Watir. > > Thanks and regards > Inder Pal Singh > -- 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] Random numbers
I hven't had any coffee yet but could you use rand? either directly or to generate a random index for an array From: Adrian Killens To: watir-general@googlegroups.com Sent: Friday, November 2, 2012 3:00 AM Subject: [wtr-general] Random numbers How would you write something to generate a random number that aren't sequential. E.g. generate a random number picked from these four: 10, 9, 55, 3 Cheers Aidy -- 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
Re: [wtr-general] undefined method `exists?' for link (PageObject gem)
The page object gem automatically creates a method for checking existence - see the docs http://rubydoc.info/github/cheezy/page-object/master/PageObject/Accessors#link-instance_method. So for: link(:signout, :text => 'Sign Out') There should be able to do: signout? - Justin Ko On Friday, November 2, 2012 4:46:31 AM UTC-4, Željko Filipin wrote: > > Try this: > > Then /^I should have access to my account$/ do > on(LoginPage).signout_element.should exist > end > > Explanation: > > on(LoginPage).signout # clicks the link > on(LoginPage).signout_element # returns the link > > More information: > > https://github.com/cheezy/page-object/wiki/Elements > > Željko > -- > filipin.eu > -- 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