Re: [wtr-general] Parallel testing

2012-11-21 Thread Ry
like selenium grid. I shared information from your first replay and I was asked for 'proof'. I hope this explains my dilemma a little further. On Wednesday, November 21, 2012 1:01:55 PM UTC-8, Željko Filipin wrote: > > On Wed, Nov 21, 2012 at 9:51 PM, Ry > > wrote: > &

Re: [wtr-general] Parallel testing

2012-11-21 Thread Ry
Yup, we're using webdriver. Zeljko, are you aware of any site providing documentation to set up and/or using watir-webdriver with selenium grid? Thanks again. On Monday, November 19, 2012 2:35:31 PM UTC-8, Željko Filipin wrote: > > On Mon, Nov 19, 2012 at 11:29 PM, Ry > >

[wtr-general] Parallel testing

2012-11-19 Thread Ry
What options are available for parallel testing in watir that is similar to Selenium Grid? I found WatirGrid, but does it require rails? Are there non-rail options? Thanks, Ryan -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-genera

[wtr-general] Re: [Cucumber] Screenshots with Cucumber/Watir on Windows 7 with IE9

2012-11-14 Thread Ry
t; IT does really matter - http://itreallymatters.net > > > On Sunday, November 11, 2012 8:04:28 PM UTC+2, Ry wrote: >> >> Thank you. >> >> 1) I removed the 'include watir" line >> >> 2) updated my hooks.rb >> >> After do |scena

[wtr-general] Re: [Cucumber] Screenshots with Cucumber/Watir on Windows 7 with IE9

2012-11-11 Thread Ry
Thank you. 1) I removed the 'include watir" line 2) updated my hooks.rb After do |scenario| if scenario.failed? Dir::mkdir('screenshots') if not File.directory?('screenshots') screenshot = "./screenshots/FAILED_#{scenario.name.gsub(' ','_').gsub(/[^0-9A-Za-z_]/, '')}.png" ie.save_

[wtr-general] [Cucumber] Screenshots with Cucumber/Watir on Windows 7 with IE9

2012-11-10 Thread Ry
I am trying to set up ability to take screen shots. I'm not concerned if they embed or are saved to a directory. I have googled several suggestions, but none have worked. Right now I am trying to use example from http://watirmelon.com/tag/cucumber/ I am using Ruby 1.9, Watir 4.0.2, and Cucum

Re: [wtr-general] [ruby watir cucumber] text assertions

2012-10-19 Thread Ry
> Second by ie.text I assume you are checking all of the text of the page > better to locate the exact text location > > Can you give us more info on what you want to do > > Sent from my iPhone > > On Oct 18, 2012, at 6:27 PM, Ry > wrote: > > Is there a better way t

[wtr-general] [ruby watir cucumber] text assertions

2012-10-18 Thread Ry
Is there a better way to write this? my goal to verifying text exists on the page and if it does to return to previous page otherwise close the window When /^I should be taken to the my text page$/ do if ie.text('Modification of awesome things').visible? = true then

Re: [wtr-general] Re: Ruby with Cucumber - Report Output

2012-10-10 Thread Ry
Thank you so much Željko! On Wednesday, October 10, 2012 4:44:00 AM UTC-7, Željko Filipin wrote: > > On Tue, Oct 9, 2012 at 7:20 PM, Ry > > wrote: > > cucumber --format 'Timestamped::HtmlFormatter' > > Create config/cucumber.yml file with this contents: > &g

[wtr-general] Re: Ruby with Cucumber - Report Output

2012-10-09 Thread Ry
;) This was my command line cucumber --format 'Timestamped::HtmlFormatter' On Tuesday, October 9, 2012 9:22:00 AM UTC-7, Ry wrote: > > Thanks Champ! > > I am newer to logging. > > I understand that what you've given me will go in the upper part of the > file

[wtr-general] Re: Ruby with Cucumber - Report Output

2012-10-09 Thread Ry
to using your suggestion? Thanks, Ryan On Tuesday, October 9, 2012 8:47:31 AM UTC-7, Champ wrote: > > filename = filename + Time.now > > On Tuesday, October 9, 2012 11:35:27 AM UTC-4, Ry wrote: >> >> Is anyone familiar with time stamping the file name or >> >&g

[wtr-general] Ruby with Cucumber - Report Output

2012-10-09 Thread Ry
Is anyone familiar with time stamping the file name or having something append to file name on output each time a cucumber/ruby script is ran? Currently it overwrites what is there and I want to save all my output reports. I use Cucumber and Ruby Thanks! -- Before posting, please read htt

Re: [wtr-general] Re: variable for a URL?

2012-10-03 Thread Ry
/www.someserver.com/#%7BENV['URL']%7D/app_path/> > ") > > > so by default if you just do something like > > rspec > > it will go to "www.someserver.com/test/app_path/" > but if you do > > URL=something_else rspec > it will go to &quo

Re: [wtr-general] Re: variable for a URL?

2012-10-03 Thread Ry
n On Wednesday, October 3, 2012 5:26:17 AM UTC-7, Oscar.Rieken wrote: > if its a differnt url for every build depending on the changes in the url > why not just pass that in to the url string at run time > > On Tue, Oct 2, 2012 at 8:48 PM, Ry >wrote: > >> Would that work if

[wtr-general] Re: variable for a URL?

2012-10-02 Thread Ry
ke > where test represents a test.properties file, and cuke runs our cucumber > feature files. > > Hope that helps, > > Dave > > On Tuesday, October 2, 2012 2:28:25 PM UTC-7, Ry wrote: >> >> I will try my best to explain my question. >> >> Is it possible

[wtr-general] variable for a URL?

2012-10-02 Thread Ry
I will try my best to explain my question. Is it possible... I have several sites, they are essentially the same, (same menus, reports ect..) the GUI is identical, but data may vary. Test sites, essentially, but each site has a different URL in testing or staging environment. Because that

Re: [wtr-general] Assert a date format with Watir

2012-09-04 Thread Ry
Still stumped on this. Trying to assert or verify a date format is coming back correctly. Given /^that I enter a false date or incorrect format$/ do ie.text_field(:id, 'date_range_1').set('02292011') ie.text_field(:id, 'date_range_2').set('06122012') end When /^I click go$/ do ie.button

[wtr-general] Latest Watir and Cygwin

2012-08-21 Thread Ry
Perhaps another option is better and if so please suggest. I search for this topic and found articles from 2007-2009. I wonder how things have changed. Using the latest Watir version and cygwin, is it possible? my error Window with locator {:index=>0, :hwnd=>327866} doesn't exist or is n

Re: [wtr-general] Assert a date format with Watir

2012-08-10 Thread Ry
an probably do a regex to verify the format but without some more > details of what exactly you want to compare it may be difficult to help out > > I would ask why are you trying to test this and what your test looks like > now > > On Fri, Aug 10, 2012 at 12:23 PM, Ry >wrote: >

[wtr-general] Assert a date format with Watir

2012-08-10 Thread Ry
anyone familiar with how to write an assertion for a date format. For instance, I am testing a date field to ensure it doesn't accept bad formatting or unreal dates. Our page will auto revert the date to something recent when the page refreshes so I want to write an assert to say I expect mm/dd

Re: [wtr-general] XML output from Watir

2012-07-20 Thread Ry
server > https://github.com/masterthought/jenkins-cucumber-jvm-reports-plugin-java > > [image: Inline image 1] > > > On Thu, Jul 5, 2012 at 12:40 PM, Željko Filipin wrote: > >> On Thu, Jul 5, 2012 at 6:29 PM, Ry wrote: >> > Which library would be most helpful that I sho

Re: [wtr-general] watir/ruby in Jenkins

2012-07-20 Thread Ry
nesday, July 18, 2012 2:37:28 AM UTC-7, Željko Filipin wrote: > On Tue, Jul 17, 2012 at 4:06 PM, Ry wrote: > > Just double checked and yes the script works when launching from > desktop, Ruby bash, or Windows bash. > > I guess I was not explicit. Are you saying watir 3.0.rc

Re: [wtr-general] watir/ruby in Jenkins

2012-07-17 Thread Ry
Thank you so much for that information.. I am already reading into the wiki links you attached. I wonder though if there is a better product to run automation with Watir in a windows enviroment than Jenkins? or just better to go with Linux and run headless? On Tuesday, July 17, 2012 8:18:

Re: [wtr-general] watir/ruby in Jenkins

2012-07-17 Thread Ry
On Tuesday, July 17, 2012 12:48:28 AM UTC-7, Željko Filipin wrote: > > On Tue, Jul 17, 2012 at 3:29 AM, Ry wrote: > > Yes I was previously on Watir 3.0 r3 > > Just double checked and yes the script works when launching from desktop, Ruby bash, or Windows bash. > Does

Re: [wtr-general] watir/ruby in Jenkins

2012-07-16 Thread Ry
3/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/ie-class.rb:427:in `maximize' from C:/jobs/Build Test/workspace/APSEC_03.rb:8:in `' C:\jobs\Build Test\workspace>exit 1 Build step 'Execute Windows batch command' marked build as failure Finished: FAILU

[wtr-general] watir/ruby in Jenkins

2012-07-13 Thread Ry
I just updated my watir to latest, but script is failing in jenkins build. the log looks like its still trying to use classic watir and rautomation 0.7.2? is that right? do I need to do something to force my script to use the newest watir 3.0.0? *https://gist.github.com/3107219*

Re: [wtr-general] XML output from Watir

2012-07-09 Thread Ry
gt; then you just need to add this plugin to your jenkins server > https://github.com/masterthought/jenkins-cucumber-jvm-reports-plugin-java > > [image: Inline image 1] > > > On Thu, Jul 5, 2012 at 12:40 PM, Željko Filipin wrote: > >> On Thu, Jul 5, 2012 at 6:29 PM, Ry

Re: [wtr-general] XML output from Watir

2012-07-05 Thread Ry
Thank you much! I do have the Cucumber book, I have not had a chance to read into it though. I will do that and look into the other option as well. On Thursday, July 5, 2012 9:40:00 AM UTC-7, Željko Filipin wrote: > > On Thu, Jul 5, 2012 at 6:29 PM, Ry wrote: > > Which library w

[wtr-general] XML output from Watir

2012-07-05 Thread Ry
2 parter question. Which library would be most helpful that I should invest time learning to use for XML output from a watir script. We want to output the script details so that Jenkins can handle the data. Also, my company wants the XML format to be specific. below are my two options.

[wtr-general] Re: Watir + win32/screenshot = screen shots when script ends/fails?

2012-03-28 Thread Ry
eenshot) > > Jarmo > > On Mar 28, 12:12 am, enroxorz wrote: > > No worries, any time :) > > > > > > > > > > > > > > > > On Tuesday, March 27, 2012 4:23:33 PM UTC-4, Ry wrote: > > > > > that worked perfec

[wtr-general] win32/screenshot and test/unit logging conflict?

2012-03-28 Thread Ry
I can run this script https://gist.github.com/2228176 with taking screen shots or removing those features and have the script log, but if I put both features in as you see in https://gist.github.com/2228176 I receive an error C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:1279:in `initialize': No such

[wtr-general] Re: Watir + win32/screenshot = screen shots when script ends/fails?

2012-03-27 Thread Ry
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

[wtr-general] Watir + win32/screenshot = screen shots when script ends/fails?

2012-03-27 Thread Ry
cucumber is good for this. I have seen the article on watirmelon site, but I am not using cucumber unfortunately. I am hoping to continue using watir in it's purest form. Thanks for any examples, leads, or suggestions that might stir me to my goal. Ry -- Before posting, please read

[wtr-general] Re: screenshots with watir (not webdriver)

2012-03-23 Thread Ry
hilary did you find an answer to your issue? I have the same problem. I know it is related to win32screenshot because if I remove it from script, than script is fine. I am using Watir 2, no webdriver Error: test_me(My_test) LoadError: no such file to load -- watir/ie wet.rb:12:in `test_me'

Re: [wtr-general] nested selection - script passes, but selection does not change

2012-03-21 Thread Ry
Hi Zeljko, the class states it is a java-menu, but likely it makes sense for it to be a java script menu. I have not had luck with steps in the link, but I'm going to continue trying to see if I can produce something. I see this is the source when I inspect on the menu All Networks

[wtr-general] nested selection - script passes, but selection does not change

2012-03-20 Thread Ry
I have been trying to access a java-menu that has a selection in the collapsed tree that I wish to select. I am not receiving an error, the script passes, but the selection is not changing. Any ideas? https://gist.github.com/2136878 also to see the html of the window I am attempting to access htt