Hi,
Has anyone managed to set the browser through Rake?
require 'cucumber/rake/task'
require 'watir'
Cucumber::Rake::Task.new("default", "features") do |t|
t.cucumber_opts = "-f TeamCityFormatter -f html --out story-results.html"
end
task :ff do
ENV['ENVIRONMENT']='systest'
Watir::Bro
or goto the command line
ri String
ri String#split
Aidy
2009/5/4 Željko Filipin :
> On Fri, May 1, 2009 at 15:02, ash wrote:
>> I don't really know Ruby yet
>
> And if you want to know what can you do with strings in Ruby (for future
> reference):
>
> http://www.ruby-doc.org/core/classes/Stri
Hi,
Do we have a visible? method that works in Firefox?
--
Aidy
blog: www.agiletester.co.uk
twitter: http://twitter.com/aidy_lewis
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to
Ruf,
I quite like it, but I would wrap your assertions etc in Rspec and use
their outputting\reporting.
Aidy
2009/5/5 Ruf, Wadud :
> All,
>
>
>
> As I mentioned a few weeks back I have created a DSL for WATiR, I call it
> the WATiR Scripting Langauge – WSL. I have been creating a lot of collat
Ruf,
I would also suggest you get rid of #start and #finish and use
setup\teardown, Before\After, initialize\at_exit.
Aidy
2009/5/5 aidy lewis :
> Ruf,
>
> I quite like it, but I would wrap your assertions etc in Rspec and use
> their outputting\reporting.
>
> Aidy
>
Hi,
I am trying to override a js confirm in FireWatir:
$jssh_socket.send("window.confirm=function(){return true};\n", 0)
read_socket
Without success, has anyone managed to do this?
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Chuck
2009/6/2 Chuck van der Linden :
>
> Have you reviewed the general info on the types of popups and how to
> handle them? http://wiki.openqa.org/display/WTR/Pop+Ups
>
The aim was to override the js confirm function without using wsh or
the autoit wrapper that is shown in these examples, whi
Chuck,
Your comments are highly simplistic: We still have differences with
list based indexes; Watir being one based and Firewatir zero based
(as Watir wraps OLE and FireWatir, javascipt), the text representation
of the HTML (browser.text), #click_no_wait, and to my knowledge
parallelism.
Aidy
> ff.frame(:index, 1).form(:name, "lay0803234_src350a").select_list(:id,
> "LOV6") .inspect
Try :index, 0
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send emai
def wait_for?(seconds=0)
slept = 0
until yield || slept == seconds
sleep 0.5
slept += 0.5
end
yield
end
boolean = wait_for?(35) { @@ie.div(:text, 'Loading...').exists? }
assert(boolean)
#you may get more benefit from using Rspec or Cucumber
Aidy
2009/6/3 Jer :
Is it simply a true or
> false?
>
> 2009/6/3 aidy lewis
>>
>> def wait_for?(seconds=0)
>> slept = 0
>> until yield || slept == seconds
>> sleep 0.5
>> slept += 0.5
>> end
>> yield
>> end
>>
>>
>> bool
As I side note I have replaced REXML with nokogiri which will greatly
improve the speed of your IE tests (at a guess 3 - 5 times faster)
http://github.com/aidylewis/watir/blob/467c42a079c6f0b3e78a187353e288f8e3787503/watir/lib/watir/ie-class.rb
Aidy
--~--~-~--~~~---~
2009/6/3 Jerry Lane :
> Can I just use a simple if to do that thou? Something simple such as
>
> if boolean = true
> puts 'Test Passed'
> else
> puts 'Test Failed'
> end
xUnit saves you from writing your own assertions (as above). Although
I believe it to be of t
Hi Jason
How then would you explain this?
require 'rubygems'
require 'watir'
['watir', 'firewatir'].each { | g | require g }
ie = Watir::IE.new
ff = FireWatir::Firefox.new
[ie, ff].each { |b| b.goto("http://www.google.com";) }
ff.table(:index, 1).rows[0].html
ie.table(:index, 1).rows[0
Ironically Watir's easy-to-use API may have been WatirCraft's downfall
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.
Ruby and Watir are now getting some traction in London...
http://skillsmatter.com/event/agile-testing/utilising-watir-to-test-in-an-agile-environment
--
Aidy
blog: www.agiletester.co.uk
twitter: http://twitter.com/aidy_lewis
--~--~-~--~~~---~--~~
You received th
Hi,
Has anyone experienced this socket error with the jssh:
> An established connection was aborted by the software in your host machine. -
> recvfrom(2)
And managed to solve it?
--
Aidy
blog: www.agiletester.co.uk
twitter: http://twitter.com/aidy_lewis
--~--~-~--~~~
Hi,
Is there a windows firefox jssh.xpi for 3.5?
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, pleas
Hi Guys,
Do we have a timeline on when Watir 1.7 will be released?
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Bef
I am not so sure you can use Celerity through the standard Ruby MRI.
Aidy
2009/10/5 Željko Filipin :
> I have created a new wiki page:
>
> http://wiki.openqa.org/display/WTR/Platforms
>
> Feel free to comment, edit, improve, fix bugs...
>
> Željko
> --
> http://watirpodcast.com/
>
>
> >
>
--~--
Hi,
Does anyone know of a verified Windows Ruby 1.9.1 installer?
Aidy
2009/10/5 Charley Baker :
> Watir in the github master should be working with 1.9.1. Jari made some
> fixes, so for Watir we should be good. The one dependency we do have on
> user-choices isn't working. Talked to Jari on Sat
me it's worth taking a look at for
> experimentation, helping out with the project and/or looking at changes and
> potential compatibility issues.
>
> hth,
>
> Charley Baker
> blog: http://blog.charleybaker.org/
> Lead Developer, Watir, http://wtr.rubyforge.org
> QA Architect
You could overwrite the the pop-up with something like:
browser.document.parentWindow.execScript("window.confirm=function(){return
true}");
browser.document.parentWindow.execScript("window.alert=function(){return
true}");
browser.document.parentWindow.execScript("window.
Hi,
Cucumber or Rspec? I will add to zeljko's link today. The example
doesn't even use matchers.
Richard Downie has a Waitr\Cucumber example here:
http://wiki.github.com/aslakhellesoy/cucumber/watircuke, but I don't
agree with his approach.
Aidy
2009/10/9 Željko Filipin :
> On Fri, Oct 9, 2009
I have written a new example here:
http://wiki.openqa.org/display/WTR/RSpec
Aidy
2009/10/9 aidy lewis :
> Hi,
>
> Cucumber or Rspec? I will add to zeljko's link today. The example
> doesn't even use matchers.
>
> Richard Downie has a Waitr\Cucumber example he
Hi Charley
2009/10/5 Charley Baker : wrote:
> http://wiki.openqa.org/display/WTR/Development+Builds
Would it not be an idea to install the gem(s) directly from github?
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi,
If there were better examples, then I wouldn't have to re-write them.
Your comments should have been taken off-line.
Aidy
On 13/10/2009, Željko Filipin wrote:
> On Fri, Oct 9, 2009 at 1:46 PM, aidy lewis
> wrote:
>> I have written a new example here:
>> http://wiki
Hi,
If there were better examples, then I wouldn't have to re-write them.
Your comments should have been taken off-line.
Aidy
On 13/10/2009, Željko Filipin wrote:
> On Fri, Oct 9, 2009 at 1:46 PM, aidy lewis
> wrote:
>> I have written a new example here:
>> http://wiki
Using the mozilla component classes you could set javascript.enabled
to equal true
Aidy
2009/10/15 arihan sinha :
> Hi All,
>
> Is there any way to disable java script of IE/Firefox through ruby+watir?
>
> Thanks
>
> Arihan
>
>
>
> >
>
--~--~-~--~~~---~--~~
You
lPref(\"#{key}\", #{value});"
$jssh_socket.send("#{jssh_command}\n", 0)
read_socket()
end
@browser.set_bool_preference("javascript.enabled", false)
Aidy
Aidy
2009/10/15 aidy lewis :
> Using the mozilla component classes you could set javascript.e
If you are trying to change IE options would it not be better to alter
the registry settings?
Aidy
2009/10/15 Paul Rogers :
> you'll have to use autoit. This page has the key combinations
> http://www.autoitscript.com/autoit3/docs/functions/Send.htm
>
> Paul
>
> On Thu, Oct 15, 2009 at 10:36 AM,
Matt Ellis has blogged has experiences with the jssh, Mozilla classes
and FireWatir
http://tinyurl.com/ykarwvv
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send
Hi,
Has anyone received 'cannot register window class' errors when running
Watir tests in IE8?
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-
Hi Bret,
I am getting an unspecified WIN32OLERuntimeError.
Not much information, I know.
Aidy
2009/10/22 Bret Pettichord :
>
> I haven't heard of this. Can your provide a stack trace and complete
> error message?
>
> Bret
>
> aidy lewis wrote:
>> Hi,
&
&cat=&lang=&cr=&sloc=&p=1
> In a nutshell, three potential options:
> 1. Ctrl-F5
> 2. Delete temporary internet files
> 3. Disable Fireshot plugin in FF and try again
>
> On Thu, Oct 22, 2009 at 11:38 AM, aidy lewis
> wrote:
>>
>> Hi Bret,
>>
Can you not set your trusted uri's in about:config
network.automatic-ntlm-auth.trusted-uris ?
Aidy
2009/10/27 Aedorn Varanis :
> I took a look around but it doesn't like there's any answer to this. I've
> recently been tasked to automate testing of a product, and the only thing I
> can't seem
not have that kind of mandate.
>
> I suggest a well-designed set of manual tours.
>
> -Chris
>
> On Oct 27, 1:53 pm, Aedorn Varanis wrote:
>> This doesn't really solve the problem.
>>
>> On Tue, Oct 27, 2009 at 1:09 PM, aidy lewis wrote:
>>
>>
&
IE8 has Developer tools, so we do not need to download extraneous tools.
Press F12 and then clicking on the far-left hand arrow will allow you
to select and read HTML elements
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Awaiting your reply
>>
>> Thanks
>>
>> On Wed, Oct 28, 2009 at 6:03 AM, Ethan wrote:
>>>
>>> Yeah, you should be able to get a handle to the window where you enter
>>> username/password, get the text fields on that window, set them, click the
&
What file and methods should I be looking at?
Thanks
Aidy
2009/10/28 Angrez Singh :
> Its in my fork on github. You can have a look.
> - Angrez
>
> On Wed, Oct 28, 2009 at 7:31 PM, aidy lewis
> wrote:
>>
>> Angrez,
>>
>> Is that code on github though?
&
Sorry Angrez
But where is the getWindows method coming from?
Aidy
2009/10/28 Angrez Singh :
> firefox.rb file contains code for basic authentication.
>
> On Wed, Oct 28, 2009 at 10:42 PM, aidy lewis
> wrote:
>>
>> What file and methods should I be looking at?
The file is attached
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines:
Hi,
Does anyone know why I need to use two ie objects here?
http://pastie.org/681645
http://pastie.org/681647
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send
Watir::IE. the second is the #ie method of Watir::IE, which returns the
> win32ole object representing the browser.
>
> On Tue, Nov 3, 2009 at 10:43, aidy lewis wrote:
>>
>> Hi,
>>
>> Does anyone know why I need to use two ie objects here?
>>
Sai, Jarib,
Would it not be an idea to put Chrome and Firewatir on top of
WebDriver, to avoid duplication of browser access methods with all
that entails?
Aidy
2009/11/7 sai :
>
> Sorry for the delay guys... I am still working on the fix. Got delayed
> in setting up the environment in my new b
This missing 'a's were a problem with an older version of Cucumber and
the parser on win32.
This is an old example I wrote some time ago
http://code.google.com/p/cucumber-and-watir
Aidy
2009/11/10 Wesley Chen :
> That's funny.
>
> Thanks.
> Wesley Chen.
> For life, the easier, the better.
>
>
Angrez,
Have you included cookie manipulation methods in FireWatir yet?
If not I was think of using the Mozilla Classes
https://developer.mozilla.org/en/Code_snippets/Cookies
Thanks
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribe
istent with IE and FF.
>
> - Angrez
>
> On Tue, Nov 17, 2009 at 4:44 PM, aidy lewis
> wrote:
>>
>> Angrez,
>>
>> Have you included cookie manipulation methods in FireWatir yet?
>>
>> If not I was think of using the Mozilla Classes
>>
>>
there.
>
> - Angrez
>
> On Tue, Nov 17, 2009 at 4:50 PM, aidy lewis
> wrote:
>>
>> Are you going to take this up then, otherwise I can do it, if you
>> provide your preferred method names.
>>
>> Not sure how we are going to do it in Wat
gt;
>> I've never used it. I would like to hear from some people who have. What
>> functionality do you use the cookiemanager for?
>>
>> Bret
>>
>> Angrez Singh wrote:
>> > Yes, I have seen that preety interesting stuff. Need to see what all
>&
, 2009 at 07:15, Angrez Singh wrote:
>>
>> Aidy,
>>
>> You can go ahead and write it. I'll write the corresponding methods in
>> Watir.
>>
>> -Angrez
>>
>> On Wed, Nov 18, 2009 at 3:56 PM, aidy lewis
>> wrote:
>>>
>>>
Ethan
2009/11/18 aidy lewis :
> Going to put the URI in, for #read_cookies or something
>
> 2009/11/18 Ethan :
>> That seems to be lacking the URI to set the cookie on. Would the method just
>> infer that from the current location of the browser, or should that be be
>&g
or if not supplied
>
> Browser#remove_cookie(opts) where opts is a hash of :domain and :name
>
> Browser#remove_all_cookies or Browser#remove_cookie(:all)?
>
> Thanks,
>
> Angrez
>
>
> On Wed, Nov 18, 2009 at 10:16 PM, aidy lewis
> wrote:
>>
>> Etha
How about this
browser.get_cookies(:domain => 'domain')
browser.get_cookies(:all)
browser.remove_cookies(:domain => 'domain')
remove_cookies(:all)
?
Aidy
2009/11/19 aidy lewis :
> Angrez et al
>
> It is unlikely that we would want to get all cookies, but
Hi,
I am trying to execute some js in IE8:
browser.ie.document.parentWindow.execScript("window.confirm=function(){return
true}");
However, I am getting an 'Access denied' error when I have scripting
allowed in my IE settings and I am on the same domain as the
application server.
Aidy
--~--~-
Ethan,
Same thing, but good suggestion.
I am not even sure of the differences between eval and execScript.
Cheers
Aidy
2009/11/25 Ethan :
> Do you get the same thing if you try
> browser.document.parentWindow.eval(whatever) ?
>
> On Wed, Nov 25, 2009 at 13:26, aidy lewis wro
#js off
(0..4).each { |zone| toggle_javascript_capability(false, zone) }
Need to close and re-start the browser though
Aidy
2009/11/25 aidy lewis :
> Ethan,
>
> Same thing, but good suggestion.
>
> I am not even sure of the differences between eval and execScrip
Hi,
I am trying to install Watir 1.6.5 on Ruby 1.9.1, but this is the
issue. I am encountering:
E:\>gem install watir
Building native extensions. This could take a while...
ERROR: Error installing watir:
ERROR: Failed to build gem native extension.
E:/Ruby19/bin/ruby.exe extconf.rb
che
y done, this topic had been discussed
> on many other forums as well
>
> Karim Rayani
>
> On Mon, Nov 30, 2009 at 6:37 PM, aidy lewis
> wrote:
>>
>> Hi,
>>
>> I am trying to install Watir 1.6.5 on Ruby 1.9.1, but this is the
>> issue. I am encoun
Hi,
As @Jarib pointed out, I need to unzip the devkit into C:\Ruby19.
Thanks
Aidy
2009/11/30 aidy lewis :
> Hi,
>
> I can install Watir straight
>
> gem install watir --ignore-dependencies
>
> I think the problem has something to do with the win32 gems
>
> Aidy
http://wiki.openqa.org/display/WTR/Install+Ruby
Aidy
--
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines:
http://wiki.openqa.
alex,
On 07/10/2008, Pete Dignan <[EMAIL PROTECTED]> wrote:
>
> Alex - if you can wait a few months, Watircraft (www.watircraft.com)
> is starting work on a framework using RSpec (rspec.info), designed for
> use with Watir, that we intend to open-source. It should be available
> in late Dece
On 07/10/2008, bugs apple <[EMAIL PROTECTED]> wrote:
>
> I am very interesting in your code for learning the objects in discovery.rb,
> but it does not work in my machine, and it work well in firewatir.
> Have you the similar method code for the IE watir to discovery the objects
> on page? Or cou
On 07/10/2008, bugs apple <[EMAIL PROTECTED]> wrote:
> ie.text_field(:name => "test").set "abb",
If you are just hooking onto one attribute use
ie.text_field(:name, "test").set "abb"
for > 1
ie.text_field(:name => "test", :id => "aidy").set "abb"
or
ie.text_field(:name => "test", :index=> 1).
> On Tue, Oct 7, 2008 at 5:16 AM, wesley chen <[EMAIL PROTECTED]> wrote:
> > When I locate the element A,
anchor = ie.document.getElementByTagName("A")
how can I locate the element close to A with
> node(child node, father node) or directory attributes?
>
anchor.getAttribute("title")
anchor.getE
Hi,
Is there anything in the external api that will check to see if the
page is currently loading?
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to wa
Hi,
On 08/10/2008, bugs apple <[EMAIL PROTECTED]> wrote:
>
> Even if I go through the JAF code, but the discoveryobject.rb still does not
> work in Watir Environment, maybe it was banded in FireWatir.
>
I will write something at weekend and put it on the wiki.
Aidy
--~--~-~--~~
Hi,
I need to verify a radio button text of 'MPEG 1'
MPEG
1
However, I am unsure on how to hook onto the label other than text.
I have tried xpath, without success.
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
Željko
2008/10/13 Željko Filipin <[EMAIL PROTECTED]>:
> On Mon, Oct 13, 2008 at 3:06 PM, aidy lewis <[EMAIL PROTECTED]>
> wrote:
>> I need to verify a radio button text of 'MPEG 1'
>
> Don't you just _love_
Hi Moochie,
On 15/10/2008, Moochie <[EMAIL PROTECTED]> wrote:
>
> I've got to automate a test script that opens outlook and emails a
> message to our application. Then I verify the email appears within
> the application.
>
> Has anyone done any scripting agains outlook?
>
> Does anyone have
juuser ,
2008/10/16 juuser <[EMAIL PROTECTED]>:
>
> 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 watir
> or ruby or rspec in this year where I could attend to?
>
> Or any good website where such
Hi,
My boss has just asked for a Ruby coding conventions document. I don't
know of one; I know there are Ruby idioms outlined in 'The Ruby Way',
but not an official document.
Does anyone have or know off a Ruby coding conventions document?
Aidy
--~--~-~--~~~---~--~-
2008/10/29 al3kc <[EMAIL PROTECTED]>:
>
> Did anyone try to integrate Watir scripts with TeamCity continuous
> build system? Is there way TeamCity to kick off Watir scripts
> automatically?
1) Must run from interactive session
2) Team city rake runner is experimental
3) Fair a bit of setup (FireW
http://www.jetbrains.com/ruby/index.html
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read th
On 04/11/2008, Michael Hwee <[EMAIL PROTECTED]> wrote:
>
>
> yes, next version of firewatir will support multiple attributes.
>
Michael did the original work on this, so maybe he could give you more
information on what objects support multiple attributes and what do
not?
Aidy
--~--~-~-
HI,
1.6.1 should contain some objects that we can use multiple attributes upon.
http://jira.openqa.org/browse/WTR-233
Aidy
2008/11/4 Angrez Singh <[EMAIL PROTECTED]>:
> As of now FireWatir doesn't support multiple attributes but you can do the
> same using XPath query which is quite efficient
Hi,
Does anyone know why I would get this:
Watir.rb:113: warning: already initialized constant ATTACHER ?
Thanks
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group,
Hi Bret,
On 11/11/2008, Bret Pettichord <[EMAIL PROTECTED]> wrote:
>
> aidy lewis wrote:
> > Do we still need to require 'firewatir' in 1.6.2.
>
> Probably not, although it doesn't hurt.
>
> > And if not shall I
> > 'gem unist
Hi,
Do we still need to require 'firewatir' in 1.6.2. And if not shall I
'gem unistall firewatir'?
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to wa
On 12/11/2008, Natasha Ranney <[EMAIL PROTECTED]> wrote:
> Hi Charley,
>
> I found the same behavior. It was typing at 1 character per second.
>
> Firefox version: 2.0.0.17
> OS: Windows XP
> JSSH: 0.9
>
> It would be great if you can sort this out.
>
> Thanks,
> Natasha
>
How are you running you
Hi,
I have written a simple test and I am attempting to use threads for
multiple browsers
require 'thread'
threads = []
3.times do
threads << Thread.new {concurrency_test}
end
threads.each {|x| x.join}
I am getting this error
c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/brows
Hi,
On 13/11/2008, Bret Pettichord <[EMAIL PROTECTED]> wrote:
>
> We don't have a way to do this right now. However, the -p argument to
> the gem install command allows you to specify a proxy server.
>
You can also set an HTTP proxy variable with this syntax in the command line:
set HTTP_PRO
Hi,
On 14/11/2008, Chuck vdL <[EMAIL PROTECTED]> wrote:
>
> OTOH I really would like to see some kind of fully integrated
> 'logging' built into watir.. Somethig where I could just set a flag
> to enable the logging and specify a few things like where to establish
> the logging file, and the
Natasha,
I would try to stay away from using globals and use an instance
variable instead or pass your browser object across classes.
You could use traditional Rspec instead of Test::Unit - this will also
give you a HTML report.
There are examples on the Watir framework's page and on rsepc.info
Natasha,
On 20/11/2008, Natasha Ranney <[EMAIL PROTECTED]> wrote:
> Hi Aidy,
>
> Thanks for your inputs.
>
> I am not very clear what can we use Rspec for? How is it better that
> Test::Unit?
Unit tests can be a way to describe your software system. Traditional
Rspec is a layer above xUnit to ma
Hi,
On 20/11/2008, Natasha Ranney <[EMAIL PROTECTED]> wrote:
> Hi Tifanny,
>
> Thanks for sharing this link.
>
> One way to to get rid of the dirty console output is to completely redirect
> it to a log file.
These methods will prevent console output:
def puts_off
Kernel.module_eval %q{
Hi,
>
> For the other one, I was asked to automate an application that is written in
> .Net. I'm just wondering if Paul or Bret have been working with the
> individuals that have put together Watin.
>
>
>
> There doesn't appear to be a good form on Watin like the Watir forms, I'm
> just curious o
Bret,
On 25/11/2008, Bret Pettichord <[EMAIL PROTECTED]> wrote:
>
> I don't want to answer Paul's questions for him, but everyone should
> understand that Watir is not for Ruby applications. It is for web
> applications written in any language. It works great for .Net applications.
>
> Bret
Natasha,
Lower case you 'I' in 'If'
Also dont underscore your module names.
What editor you using?
Aidy
On 26/11/2008, Natasha <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Please could you help me understand the fix for a syntax error in the
> following code:
>
>
>
Hi Natasha,
Below is a list of editors
On 27/11/2008, Natasha Ranney <[EMAIL PROTECTED]> wrote:
> Hi Aidy/Charley/John,
>
> I am using Notepad to write my scripts and at times I use SciTE.
Open-Source\Free Software
* Netbeans Ruby: http://www.netbeans.org/downloads/index.html
* Aptana Radrail
Hi,
An example of the problem below
['watir', 'firewatir'].each { | g | require g }
ie = Watir::IE.new
ff = FireWatir::Firefox.new
[ie, ff].each { |b| b.goto("http://www.google.com";) }
ff.table(:index, 1).rows[0].html
ie.table(:index, 1).rows[0].html
Aidy
On
Hi,
Has anyone experienced index variations in Watir and FireWatir?
This in FireWatir
row.cell(:index, 0)
Will be this in Watir
row.cell(:index, 1)
We think this is because Watir uses win32ole and FireWatir uses JavaScript.
If this is a known and common bug, we will fix it.
Aidy
--~--~-
On 28/11/2008, al3kc <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Does click_no_wait method exists in firewatir? I didn't found it in
> firewatir sorce files and it does not work in my tests.
> I use firewatir - 1.2.1
Try something like this:
def click_no_wait(object_name)
$jssh_socket.sen
Natasha,
Try putting this include in your module
include Test::Unit::Assertions
Bret wrote around this topic some time ago
http://www.io.com/~wazmo/blog/archives/2006_05.html#000238
Aidy
On 28/11/2008, Natasha <[EMAIL PROTECTED]> wrote:
>
> Hello All,
>
> I am unable to call the assert me
Hi,
On the wiki I am informed that the browser.attach method is not
supported in 1.6.2
What alternative method can I use to hook onto an existing browser?
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Wati
Hi Bret,
2008/12/4 Bret Pettichord <[EMAIL PROTECTED]>:
>
> Where do you see that it is not supported?
>
http://wiki.seleniumhq.org/display/WTR/Browser.new
"Compatibility
Watir 1.6.2 does not support Browser.attach. This will be supported in
a future version"
Aidy
--~--~-~--~~
Hi,
Can anyone tell me where the code is that uses the Browser class to
wrap up the separate implementations of Watir and FireWatir?
So we can do this:
browser ||= Watir::Browser.new
I tried re-opening the Browser class
class Watir::Browser
def add_some_addtional_methods
end
end
But go
technically Watir::Browser is a
> module, not a class. Thus:
>
>module Watir::Browser
> def add_some_addtional_methods
>
> end
>
>end
>
>
> However, if your intent is to add a method to both Watir::IE and
> FireWatir::Firefox, this won'
Hi,
Is anyone still use an object map?
def project_action_dropdown
browser.select_list(:id, /ProjectListControl_ddlActions/)
end
project_action_dropdown.select("aaa")
I found it highly cumbersome and timeconsuming and felt I didn't
really need it when using RegEx.
What are other's opinions?
> http://www.bitbucket.org/marekj/watirloo/src/tip/test/select_list_as_face_test.rb
>
>
> marekj | Semantic Page Objects Automation
>
> Watirloo: Browser Page Helper Framework
> http://www.bitbucket.org/marekj/watirloo/
> for IE, Firefox and others?
>
>
>
>
>
> On Mo
1 - 100 of 171 matches
Mail list logo