Displaying 20 results from an estimated 3000 matches similar to: "Screen capture"
2005 Apr 21
9
Screen capture, save to file
Is there anything in the utils to capture a screen ( or maybe just a
window) and save to a file.
I have this, but I have no idea where it came from, but it gives a
corrupted image
Paul
# -*- ruby -*-
# screen capture --
# This script runs with a Ruby/DL which is included in ruby-1.7.
require ''dl/import''
module ScreenCapture
extend DL::Importable
dlload
2007 Oct 09
0
RubyForge historical note
Hi all,
The Win32Utils project is the first project in RubyForge history (that I
know of) to reclaim a "Top Project Downloads" position.
We were in 11th place, but dropped to 12th when Watir passed us several
weeks ago. In the last day or so Win32Utils passed Watir, so we''re back
in 11th.
How did it happen? I''ve been tracking daily downloads somewhat, and
2005 Mar 12
1
FW: Watir needs a Win32GUI library
Anyone need something to do? :)
Dan
-----Original Message-----
From: Bret Pettichord [mailto:bret@pettichord.com]
Sent: Saturday, March 12, 2005 8:25 AM
To: ruby-talk ML
Cc: wtr-general@rubyforge.org
Subject: Watir needs a Win32GUI library
We''ve seen growing enthusiasm for Watir, a web-testing library that is
good
enough that it is convincing people to learn Ruby just so that they
2008 Jun 03
1
Clicking on links within facebook iframes (facebook apps)
Hello,
I have a problem with clicking on the links in facebook apps due to
iframes. I am trying to write a little script to run through the funwall
app.
I used IE Dev toolbar to get the name of the id of the iframe (those
iframes how no name attribute). So I run this command:
$ie.frame(:id, "app2378983609_fb_frame").link(:text, ''View this
post'').click
And I get
2007 May 10
1
RSpec 0.9.4
RSpec 0.9.4 has just been released. Gems haven''t rsync''ed around the
globe yet, so you might have to wait a few hours to install it.
The big news this time is Spec::Ui 0.2.0, which has been released
along with RSpec core. This RSpec extension gives you custom Watir
matchers (custom Selenium-RC matchers are not implemented yet).
Moreover, it comes with a custom KICK ASS formatter
2006 Sep 06
0
RSpec and Watir
Hi all,
(Sorry for cross-posting - please reply to only one list, preferrably
wtr-general)
I just started on a project where it looks like we might start using Watir.
I just whipped up a little example and some doco about how to (and
why) use RSpec with Watir. It''s in RSpec''s subversion under
trunk/vendor/watir
http://rubyforge.org/scm/?group_id=797
2008 Jan 15
1
Converting Watir script to Mechanize
I have a Watir script that I would like to convert to a Mechanize
script. The watir code looks like this
require ''watir''
include Watir
def test
ie = IE.new
ie.goto(''http://cpref.gsm.com/inter.asp?r=8084'')
ie.text_field(:name, ''inter_string'').set(''Potassium'')
ie.button(:id, ''image1'').click
2007 Mar 15
1
Getting the stack trace
Hi all,
I am using the following code to print the exception, but is there a
way to get the stack trace of the complete error like
Exception: No option with text of Contract form in this select element
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1145/./watir.rb:3656:in
`select_item_in_select_list''
2011 Jul 21
0
Is it possible to open particular version of browser using Watir?
Dear all:
I installed *Utilu Firefox Collection *which has all the versions of the
Firefox. After installation when I run my Watir script then FF version 2 is
getting opened and my scripts are not working.
My question is, is it possible to open particular browser version using
Watir? I am using Watir-webdrivers.
Thanks and Regards,
Amit
--
You received this message because you are subscribed
2006 Dec 17
0
Best way to do automated acceptance tests
Hi
This is only part related to rspec but I asked the Rails list and
didn''t get a reply so I thought I''d try here.
Basically, since rspec_on_rails doesn''t have an equivalent to rails
integration tests, I''m trying to find a way of doing automated
acceptance tests. I''ve found selenium and watir, but I''m struggling
to tell the two
2007 Apr 11
5
Default exclude pattern in 0.9.0
The "rspec" rake task collects all _spec files in the spec directory,
and excludes the "watir" directory.
Is this indicating a preference for using Watir over Selenium? I would
like it better to standardize on something more neutral, ''ui'' perhaps?
/Marcus
--
Marcus Ahnve
http://marcus.ahnve.net
2008 Oct 16
2
Any good conferences this year about ruby/rspec/watir?
Hello.
Sorry for this little offtopic question, but I was wondering if anyone
happens to know if there''s any good conferences coming up about rspec or
ruby or watir in this year where I could attend to?
Or any good website where such things are listed or something similar.
All suggested conferences should not take place before one month from now
(employer needs some time to get good
2006 Sep 07
0
Dead easy Watir AND Selenium
Yesterday I added some Watir examples to RSpec''s svn.
Today I added some Selenium (actually - Selenium Remote Control) examples.
It''s dead easy to use both, and the Ruby code you end up writing is
actually quite similar. Here''s a taste:
== Watir ==
require File.dirname(__FILE__) + ''/rspec_watir''
context "Google''s search page" do
2007 Sep 18
2
FW: Specifying spec and output format inline?
Anyone have any advice on this one?
Thanks,
Adam
________________________________
From: rspec-users-bounces at rubyforge.org
[mailto:rspec-users-bounces at rubyforge.org] On Behalf Of Adam Reed
Sent: Monday, September 17, 2007 2:14 PM
To: rspec-users at rubyforge.org
Subject: [rspec-users] Specifying spec and output format inline?
Howdy from Austin, TX.
I''m new to rspec, and am
2006 Feb 23
2
Calgary Ruby Users Society (CRUSERS)
Calgary Ruby Users Society (otherwise known as Association of Anonymous
Java Programmers, Calgary branch) had it''s first meeting today. After a
round of introductions, we discussed our interests and brainstormed
possible activities for the group. Paul Rogers did a presentation on
Watir [http://wtr.rubyforge.org/]. Watir is not just a great tool, but
also a way to sneak Ruby into your
2007 Sep 17
0
Specifying spec and output format inline?
Howdy from Austin, TX.
I''m new to rspec, and am currently using it with the Watir testing
library for web testing. I''m moving along at an ok pace so far, but I
had a question.
I just realized I could require ''spec'' and forego running scripts from
the command line. However, this limits me in my output formats. Is
there a way that I can specify which format
2007 Apr 24
0
how to capture text from a popup window..in watir
Hi all,
I got the answer how to click on ''ok'' button.
But still i have two problems
---
that code is not working when im trying to run that code through the exe
file of that ruby file which is using that code.
and second one is i want to capure the text of that popup..
i tried this with no success
#----- js_dialog.rb -----
require ''win32ole''
require
2007 Oct 14
1
This is a fsck log,what's the problem?
This is a fsck log of my computer ,everytime when boot the system show
this things,
what's the problem? And how can I cancel it when system boot?
Log of fsck -C -R -A -a
Sun Oct 14 21:00:34 2007
fsck 1.40.2 (12-Jul-2007)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
/dev/hdb1: 18222 files, 425355/1053230 clusters
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
/dev/hdb10: 22 files, 571488/1248831 clusters
2007 May 04
0
[1006] trunk/wxruby2/samples/bigdemo/wxArtProvider.rbw: ok method name changed to is_ok
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2002 Jul 23
1
Wierd Problem, appears Samba related perhaps?
Hello,
I'm relatively new to Samba, but have it set up on my RedHat 7.3 system, and
it's running great. Except for one thing, and I'm not sure if this is a
Samba
problem or a problem with my machines.
What the problems appears is that when I'm copying or moving images (jpegs,
bmps are the only two I've tried so far) from both my laptop and my desktop
(both Win2k mahcines),