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 cross...@gmail.com
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 cross...@gmail.com javascript:
wrote
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.
://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 |scenario|
if scenario.failed?
Dir::mkdir('screenshots') if not File.directory?('screenshots')
screenshot = ./screenshots
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
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
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 cross...@gmail.com javascript: wrote:
Is there a better way to write this?
my goal
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
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 cross...@gmail.com javascript:
wrote:
cucumber --format 'Timestamped::HtmlFormatter'
Create config/cucumber.yml file with this contents:
default: --format
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
?
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
having something append to file name on output each time a cucumber/ruby
'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.
my command line currently has been 'cucumber --format
'Timestamped::HtmlFormatter' --out
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 cross...@gmail.com javascript:wrote:
Would that work if URL
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 www.someserver.com/something_else/app_path/
On Wed, Oct 3, 2012 at 1:43 PM, Ry cross...@gmail.com javascript:wrote:
Oscar,
You've piqued my interest
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
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...
I have several sites, they are essentially the same, (same menus, reports
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
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
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 cross...@gmail.com javascript:wrote:
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
, 2012 2:37:28 AM UTC-7, Željko Filipin wrote:
On Tue, Jul 17, 2012 at 4:06 PM, Ry crossan...@gmail.com 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 was running fine
/masterthought/jenkins-cucumber-jvm-reports-plugin-java
[image: Inline image 1]
On Thu, Jul 5, 2012 at 12:40 PM, Željko Filipin zel...@filipin.eu wrote:
On Thu, Jul 5, 2012 at 6:29 PM, Ry crossan...@gmail.com wrote:
Which library would be most helpful that I should invest time learning
On Tuesday, July 17, 2012 12:48:28 AM UTC-7, Željko Filipin wrote:
On Tue, Jul 17, 2012 at 3:29 AM, Ry crossan...@gmail.com 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 the script
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
:
On Fri, Jul 13, 2012 at 10:32 PM, Ry crossan...@gmail.com wrote:
I just updated my watir to latest, but script is failing in jenkins
build.
Please provide the code that causes the error message. From what version
of watir did you upgrade to 3.0? You can uninstall old versions of watir
gem
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?
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 zel...@filipin.eu wrote:
On Thu, Jul 5, 2012 at 6:29 PM, Ry crossan...@gmail.com wrote:
Which
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.
?xml
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 crossan...@gmail.com wrote:
Which library
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
:
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
that
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 http
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
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'
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
span title=Network
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
35 matches
Mail list logo