Use a subversion client: http://subversion.tigris.org/project_packages.html. There are installers and docs including a Windows based explorer client, easy to use and do a checkout on the head revision of Watir.
-Charley On 3/14/06, Zeljko Filipin [EMAIL PROTECTED] wrote:
Is there something like
Hi Chintakrindi, There's a datahandler.rb that's included as part of the Watir installation, I've never used it, but have looked at it and it is a similar approach to the path I took to read data. It should give you some basic guidelines for getting started, you could use it, extend it, or just
You should look at the postings on the mailing list from yesterday and today. The exact same question is being discussed.-Charley On 4/11/06, Anil Kumar Das
[EMAIL PROTECTED] wrote:
I am trying to implement data driven testingusing xls sheet watir.
For example:1. I have an xls sheet(c:/info.xls)
I had problems using gem remote installs through a corporate proxy server as well. You can however, just download the watir.gem and from the command line do: gem install watir.gem in the directory you downloaded the gem into. That should be pretty simple and will be the same process when you want
I use Eclipse with the RDT Ruby plugin: http://rubyeclipse.sourceforge.net/ I use Eclipse for other languages, have a lot of plugins which make my life simpler and of course it's all free. :) The RDT plugin has support for integrated debugging, code completion, code formatting, syntax coloring,
similar problems?
Eclipse version i am using - 3.0.0Ruby Development Tools plugin version - 0.7.0.601192300PRDThanks in advance,Chandan ROn 5/3/06,
Charley Baker [EMAIL PROTECTED] wrote:
I use Eclipse with the RDT Ruby plugin: http://rubyeclipse.sourceforge.net/
I use Eclipse for other languages
Chris is right, that's a great site and they do have a link to the vba help files which should help with the underlying object model. I've used the usedrange property of the worksheet ole object for rows and columns: rowcount = @
worksheet.usedrange.rows.countcolumncount =
You can use svn. TortoiseSVN integrates into windows explorer: http://tortoisesvn.tigris.org/Use it to keep in synch with the latest version, do a checkout from
http://svn.openqa.org/svn/watir/trunk/watir into a local directory, and then updates when you want: svn update from a right mouse
Good point, I'm a bit obtuse today. I can add these steps as a FAQ if anyone's interested, or just create a batch file that does the same to update to the latest. -cOn 5/19/06,
Bret Pettichord [EMAIL PROTECTED] wrote:
/** replace whatever version you've now downloaded with the right version
requirements.
-Charley On 5/19/06, Bret Pettichord [EMAIL PROTECTED] wrote:
On 5/19/06, Charley Baker [EMAIL PROTECTED]
wrote:
Good point, I'm a bit obtuse today. I can add these steps as a FAQ if anyone's interested, or just create a batch file that does the same to update to the latest. I'm not sure
I've just updated the FAQ with instructions to checkout the latest trunk source and install the gem: http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem Worked on it a couple of days ago and got my wiki session dumped, so finally got back to it. I'll update it for the one click installer issue
Aidy, You can use the Internet Explorer developer toolbar to view objects and the DOM for a page:
http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038displaylang=en-CharleyOn 5/26/06, Adrian Rutter
[EMAIL PROTECTED] wrote:
Hi,I am trying to locate some
I'd say like this seems like a really bad idea, automation code smells. Why do you
need human intervention? While it's possible to beep, pause, throw up a
dialog, whatever else, while waiting for people to interact with the
environment, it doesn't really make for automated tests that can run
with
Sorry if I came across a little too harsh, I'm blaming the heat, it's been 90s here for the past week. :) Maybe I'll try to actually be helpful now that I've fallen off my high horse and knocked my head. If your lag time for server cert acceptance is as much as 24 hours and variable within that,
I've been using that as well for xUnit style reporting. Highly recommended to make for nice testing reports in Cruise Control or otherwise. Just out of curiousity what changes did he make? It's been a few years since the release.
-CharleyOn 6/6/06, Chris McMahon [EMAIL PROTECTED] wrote:
here is a
Chris and I were just talking about this yesterday: http://rubyforge.org/projects/test-report/Reports in html or xml. -Charley
On 6/7/06, Adrian Rutter [EMAIL PROTECTED] wrote:
Hi,Is there anything about that sits on top of Test::Unit to produce - forexample - html reports, or would it be better
Hey Lonny, Globals in general are best avoided, there are cases where it makes sense, but having been assigned single 40+ page perl scripts and various other projects where just about every variable is a global will pretty much drive that one home. Best to use instance variables when possible,
Those pages do appear to be autogenerated, as they're not in the website directory.I'll send a message to Patrick to double check and if so, ask that he make the change. -Charley
On 6/17/06, Bret Pettichord [EMAIL PROTECTED] wrote:
On 6/17/06, Zeljko Filipin [EMAIL PROTECTED]
wrote:
at
Take a look at winClicker.rb, clickWindowsButton should work, something like this: require 'watir/winClicker'clicker = WinClicker.newclicker.clickWindowsButton('File Download', 'Save')-Charley
On 6/28/06, Andy Case [EMAIL PROTECTED] wrote:
Hi,
I get the following
Pop-up from my
You might try reducing your security permissions in ie, modifying the security settings in the advanced tab or include the domains as trusted sites in IE's settings. I'd go backwards to forwards on my suggestions.
-CharleyOn 7/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hello,
I'm
Hey Aidy, You can follow the instructions I put on the Watir FAQ wiki page: http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgemMake sure to uninstall the one click installer before installing the gem.
Let me know if you have any problems or questions. -CharleyOn 7/12/06, Adrian Rutter [EMAIL
Hi Aidy, You can send tabs through AutoIt. Take a look at WindowHelper.rb. You can easily extend it with something like this:class WindowHelper def push_tab @autoit.WinWait Your dialog title,
@autoit.Send {TAB} endend-CharleyOn 7/12/06, Adrian Rutter [EMAIL PROTECTED]
wrote:Hi,Is there a
Hi Jatinder, One of the best ways to contribute is to follow the mailing list and post. I've answered some of your points below: On 7/17/06, Jatinder Singh
[EMAIL PROTECTED] wrote:
Hi,I have spent around 2+ years working with Test Automation tools, specifically Rational Robot, Rational XDE
Your loop is 0-9 which is 10, your arrays are only 9 items long. You've overshot it by one. for x in 0..8 do...-CharleyOn 7/19/06,
Cain, Mark [EMAIL PROTECTED] wrote:You will need to these:
require 'test/unit'require 'test/unit/ui/console/testrunner'require 'watir/testUnitAddons'require
You can turn off image loading in the ie options dialog under advanced. I'm not aware of any other way to set Watir not to wait for ready state from the browser. -CharleyOn 7/18/06,
David Solis [EMAIL PROTECTED] wrote:
I have a problem with a site taking too long to load. I'm hoping somebody can
Adam, If you want to create a log file look at logger which is a Ruby library, Watir makes use of it in WatirLogger. Otherwise if you're looking for a junit type of test run dashboard and you're using Test::Unit, take a look at Test Unit Reporter:
http://rubyforge.org/frs/?group_id=319It can
Ken, You might want to follow the instructions for getting the latest development gem installed: http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem
And if you are working with an IE modal dialog, which you can verify from the html source, it should have a function showModalDialog() for the popup.
I'm assuming you are talking about a java applet. Java applets, Flash controls and the like are not supported by the current version of Watir. Since Watir uses IE through com, embedded objects are visible but there's no interface into their internals.
-CharleyOn 7/21/06, Chintakrindi Meghanath
You could use AutoIt to disable image loading in ie. Take a look at WindowHelper.rb(part of the watir distribution and uses AutoIt) as well as the AutoIt site at: http://www.hiddensoft.com/AutoIt/
-CharleyOn 7/21/06, Xavier Noria [EMAIL PROTECTED] wrote:
Is there a way to disable image loading
Hey Steve, Honestly that sounds like a defect. That being said, there is no simple way that I currently know of to get around waiting for ie to return a ready state. -Charley
On 7/21/06,
Steve Tangsombatvisit [EMAIL PROTECTED]
wrote:
Hi folks,
Relatively new to using Ruby/Watir... I
I'd recommend you uninstall your previous version if you've used the one click installer for Watir 1.4.1. Gems get installed into your ruby gems directory - ruby_install_directory\lib\ruby\gems\1.8\gems. Read through the FAQ, should help explain some basics.
-CharleyOn 7/31/06, Chintakrindi
Instead of pulling the window path to compare against, we should pull the windows class which for ie should be 'IEFrame', not sure if that that's changed with ie7, but will work with older versions of ie. btw, Bill, if you're posted the exact line from your scripts, then it makes sense, you've
Hey Bill, Just curious. It's still hitting anything outside of Internet Explorer in the title, makes sense if your browser is tied to c:\windows or something else, only problem is you're looping through more windows than you need to be, I'm hoping that class identification is more reliable.
I'm
Ruby has a builtin library for command line parsing - optparse: http://www.ruby-doc.org/stdlib/libdoc/optparse/rdoc/index.htmlCommand line processing is straight ruby not watir, will work for what you're looking for.
-Charley On 8/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:Oh, gurus of
stringèoràyields the same SOAP error I've been getting:XSD::ValueSpaceError: {
http://www.w3.org/2001/XMLSchema}string: cannotaccept 'èorà'.On 8/3/06, Charley Baker [EMAIL PROTECTED] wrote: Take a look at this link, you need to use the jcode library for unicode
support, that being said, it'll be interesting
Another option is to use the Microsoft Internet Explorer developer toolbar: http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038displaylang=en
It's one of the best ways in ie to view the dom. -CharleyOn 8/7/06, Nandan [EMAIL PROTECTED]
wrote:Is this what
Hi Chintakrindi, You should be able to do this by creating a new WinClicker object: wc = WinClicker.new wc.clickWindowsButton(Microsoft Internet Explorer, OK)-Charley
On 8/8/06, Chintakrindi Meghanath [EMAIL PROTECTED] wrote:
Hi AllI am using the clickWindowsButton to handle window pop ups in my
Hi Vikash, You are several ways to do this depending on your particular needs, here's one, add your data directory to your load path in the script you're using: $LOAD_PATH.unshift File.join(File.dirname(__FILE__),'..','data')
This assumes your data directory is one up from the file you're trying
It's a bug in the Watir codebase. As you pointed out, there is a workaround, but it should work with the existing code. It's been reported as a jira issue and we're working on it. -Charley
On 8/8/06, Bach Le [EMAIL PROTECTED] wrote:
Rand,ie.button(:src,
Hey Aidy, The back method does a straight call to ie's GoBack method, and according to the comments throws that exception only if for some reason it can't go back. If it is going back then you might want to swallow the exception and add an assert for an element on the page that you hoped to go
Just as a general reminder to the list. If you're getting the digest version, be careful about sending back the subject header, digest headers are useless in categorizing and threading the emails. The original subject header you're responding to is in the digest, ideally copy/paste that in place
Hi Manish, I haven't seen any Jira tickets for this particular issue, I was easily able to reproduce it as well. Absolutely go ahead and log the defect and we'll take a look at it. -Charley
On 8/12/06, Manish Sapariya [EMAIL PROTECTED] wrote:
Hi,Following code generates
James, Watir 1.5 development branch does support modal dialogs. I've been using it for a while with one of the applications I'm testing. If you want to install the latest development version the instructions are on the FAQ page:
http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem-CharleyOn 8/15/06,
Vikas, I'd take it from your message that you want to click on a table cell, not the table unless I'm mistaken. ie.frame(:name,frameset).frame(:name ,content).frame(:name,iframe1).table(:id , 'listTable')[1][6].click
where 1 represents the first row tr tag and 6 represents the sixth column td
Watir deals with the html of the page, not the http headers. I'm not sure what the hard way is that you're dealing with currently, but you can access most of this information through ruby's net libraries:
http://www.rubycentral.com/book/lib_network.htmlTake a look at the section: class Net::HTTP
Hi Manish, I'd recommend you try to limit the exception thrown to the specific one you're looking for and, if possible, narrow it down to a specific method call as opposed to generalizing it to an entire test case. Secondly in your rescue block you can either call an assertion or flunk which will
if http_equiv != metas[name] = content if name != end--END--Hope that helps.jdOn Sat, 19 Aug 2006 10:14:27 -0700, Charley Baker
[EMAIL PROTECTED] wrote: Watir deals with the html of the page, not the http headers. I'm not sure what the hard way is that you're dealing with currently, but you can
access
Actually I can tell you why this is happening, it's related to the issue I was looking at yesterday, ie.element(:id, 'foo') actually searches by Name:
http://jira.openqa.org/browse/WTR-77 Both are failing in the locate_input_element method. In the case of the Jira issue mentioned
Hi David, Can you post this to the user contributions wiki page? http://wiki.openqa.org/display/WTR/ContributionsThis is a good example of how to inject additional functionality into Watir.
-CharleyOn 8/23/06, David Schmidt [EMAIL PROTECTED] wrote:
I had this same problem, and the problem is
ie.table(:index, 1)[1][2].text where :index is table 1, 1st row, 2nd cell. Take a look through the mail archive, you'll find a lot of information in there.
http://www.mail-archive.com/wtr-general%40rubyforge.org/-Charley On 8/25/06, Cory [EMAIL PROTECTED]
wrote:I want to verify that some data
Hey Mark, It's good you're trying to track down the error by process of elimination, somehow not something that occurs to a lot of people. It's a bit hard to pin down what's happening remotely without some more information. Try posting your script code and possibly some part of the html.
You can use something along these lines to load a specifc version of a gem, standard operators apply (=, =, etc): require 'rubygems'require_gem 'watir', '= 1.5.1.1079'There's no need to uninstall previous gems if you want to use them.
-CharleyOn 8/31/06, Boyt, Darrel [EMAIL PROTECTED] wrote:
It looks like you're still running some files from the 1.4.1 version from site_ruby directory if you look at the path you have below for iedialog.dll. If you've already uninstalled 1.4.1 then make sure to reme the watir.rb
and watir directory from site_ruby and try it again.-CharleyOn 9/7/06,
In your example you don't mention the text_field anywhere. I just tried this with Watir 1.5.1 lateset development gem and it worked fine: $ie.div(:id, 'text_fields1').text_field(:name, 'div_text1').set(show me the money)
Send an html snippet and your script line if this doesn't work. -CharleyOn
Take a look at Test Report. It will give you html or xml output for your suites: http://rubyforge.org/projects/test-report/I'll add this to the FAQ soon.
-CharleyOn 9/8/06, John Fitisoff [EMAIL PROTECTED] wrote:
Is there any way of creating a single log filecontainingthe output for an entire test
Sure use Test Unit Report: http://rubyforge.org/projects/test-report/Read the readme for more info. I should add this to the FAQ. -Charley
On 9/12/06, Luke [EMAIL PROTECTED] wrote:
I'm writing functional, acceptance tests in ruby for web
application, I use watir library for these tests. Now
Done: http://wiki.openqa.org/display/WTR/FAQ#FAQ-reportsThis seems to have come up enough to warrant it's own faq. If it's not clear or some changes are warranted, go to town.
-CharleyOn 9/12/06, Bret Pettichord [EMAIL PROTECTED] wrote:
Charley Baker wrote: Sure use Test Unit Report: http
I'm not quite sure what you're doing. You've installed a gem, 1065 according to your email. Which file is ruby complaining about? And why are you copying your files watir and other files? It sounds like you're creating a mess of problems.
Uninstall the 1.4 version if you have it and delete
require 'stringio' I believe this is fixed in some version of test unit. -CharleyOn 9/13/06, Luke
[EMAIL PROTECTED] wrote:I practice at ruby and I've done some example test case,now I would like to create test suite and generate report
can someone look at this code and explain me what's wrong? I
Is this due to RUBYOPT not being set in 184 and 185? On 9/13/06, Bret Pettichord [EMAIL PROTECTED] wrote:
Allen Zhou wrote: With Ruby 1.8.4 or 1.8.5, I must wrote as below
require 'rubygems' require_gem 'watir'I realize Allen is using Watir 1.5, but this will also be a problem for1.4 users. I'm
I added comments and cleaned up the WinClicker code, mostly formatting as I'm not quite sure which methods people are using. The next step would be creating unit tests. -Charley
On 9/13/06, Bret Pettichord [EMAIL PROTECTED] wrote:
Sun wrote: OK thank you again. Can you tell me -- where to find
This sounds like the same idea as Adrian Lewis' post yesterday, about
adding a message to test::unit. There isn't a way to do this through
the test reporter unless you're talking about assertion strings which
can be added to assertion failures. You can also define your own
assertions using
You can pull watir/Waiter.rb from svn and use it with your current
version, download it into the watir directory alongside the
winclicker.rb file:
http://svn.openqa.org/svn/watir/trunk/watir/watir/waiter.rb
wait until some particular control is accessible before using it. Such as:
require
You've pretty much answered your own question - only null and :title
methods are supported.
modal = ie.modal_dialog # or use the :title location method to find by title
modal.close
Look at modal_dialog_test.rb in the unit tests if you need more
information and examples.
-Charley
On 9/15/06,
Here's a quick way to get the character set from the meta tags:
ie = IE.start('http://www.yahoo.com')
meta = ie.document.getElementsByTagName( 'meta' ).item(0)
content = meta.getAttribute('content')
content.strip!
content =~ /[\w+\/]\s*;\s*([\w=\-\s]+)$/
charset =
: Charley Baker [EMAIL PROTECTED]
Sent: Fri, September 15, 2006 7:25
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] watir-1.5.1.1081.gem and popups
You've pretty much answered your own question - only null and :title
methods are supported.
modal = ie.modal_dialog # or use the :title
There are examples in watir's unittests, the user guide -
http://www.openqa.org/watir/watir_user_guide.html
There's also some documentation on microsoft's site on html and dhtml:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtml_
reference_entry.asp
This
I certainly don't think the reference here is to the converse of
making Watir an elitist, high cultured, artsy testing tool. :) I'll
refer to popular in this context as widely used. Please read through
my entire post before commenting, revealing secret at the end.
To rephrase the question,
I've made some suggested fixes in the google examples for non-english
users, Jira ticket: http://jira.openqa.org/browse/WTR-72
Before closing out the ticket, I'd appreciate it if someone with a
non-english system could pull them from subversion, give them a try
and let me know if it works.
Sorry about that Paul. :) I'll give the secret away now just in case I
end up prematurely emailing again:
Kevin Spacey *is* Keyser Soze!
I'll keep it terse and summarize as opposed to rambling as I was
intending with my previous email/manifesto.
As Watir becomes more popular and used by more
Since you're using Watir 1.5, I'd recommend something along the lines of this:
[EMAIL PROTECTED](:name, 'Submit').exist?}
And then click your button. The default timeout on that is 60 seconds
with a half second default on polling.
-Charley
On 9/18/06, Jason Alexander [EMAIL PROTECTED]
You can use sleep, but I'd highly recommend avoiding it where
possible. Why? It's hard coded and it's error prone. wait_until polls
every half second which means you'll get there faster possibly and
then has a timeout in case you can also extend if you need to. sleep
is best avoided in scripts.
I completely agree. People have to understand that while there are a
lot of great reasons to use 1.5, it is still a work in progress and
does take a higher level of skill and for lack of better terms,
personal discovery, to use.
-Charley
On 9/18/06, Bret Pettichord [EMAIL PROTECTED] wrote:
Something like this:
$ie.table(:id, 'table_id')[2][4].link(:url, /part_of_link/).click
where 2 refers to the 2nd row and 4 is the 4th cell in that row,
replace with whatever row/cell you're looking for. The :url in link is
looking for some text (part_of_link) that's contained in the url for
I've never had this error, but there are a couple of threads on the
mailing list which might help you out:
http://www.mail-archive.com/wtr-general@rubyforge.org/msg04445.html
http://www.mail-archive.com/wtr-general@rubyforge.org/msg03870.html
-Charley
On 9/22/06, [EMAIL PROTECTED] [EMAIL
You can also use Ruby's Net Http standard library if you just want to
do a simple file download:
require 'net/http'
Net::HTTP.start(www.ruby-lang.org) { |http|
resp = http.get(/images/logo.gif)
open(rubylogo.gif, wb) { |file|
file.write(resp.body)
}
}
-Charley
On 9/25/06, Luke [EMAIL
If you look at the FAQ: http://wiki.openqa.org/display/WTR/FAQ, there
are two possible solutions mentioned in the 2nd entry: Handling
Javascript Pop-up Windows.
-Charley
On 9/26/06, Mayank [EMAIL PROTECTED] wrote:
How to click Ok button in javascript pop-up?
If you look above to Mark's post you'll see he's already posted the answer. To
select by index in a select list:
choices = $ie.select_list(:name,'language').getAllContents
$ie.select_list(:name,'language').select(choices[0])
getAllContents returns the contents as an array after which you can
Short answer -- it's a button and has other attributes that you need
to use, name, src, id... something:
input type=image name=clickme src=clickme.gif
$ie.button(:name, 'clickme').click
or
$ie.button(:src, /clickme/).click
It's in the FAQ and the user guide both slightly indirectly,
User Guide in
Zeljko,
Go ahead and open up a Jira ticket for this. It looks like
filefield_test.rb in the unittests is also failing for me.
Thanks,
Charley
On 9/26/06, Zeljko Filipin [EMAIL PROTECTED] wrote:
I have just installed watir 1.5.1.1100. I have ruby 1.8.4 (2006-04-14)
[i386-mswin32].
I have
Original Message
Subject:Re: [Wtr-general] Fwd: Managing the Watir Project -- Wikipedia
entry
# To handle general popups, use WinClicker.
ie.button(:name, btnG).click_no_wait # ensure popup won't block Watir
hwnd = ie.enabled_popup(5) # get a
If it's simply disabling/enabling the button element then you can do:
$ie.button(:name, clickme).enabled?
to check whether it's enabled or not.
-Charley
On 9/28/06, David Munns [EMAIL PROTECTED] wrote:
With ruby/watir, is there a way to detect if a button has been disabled?
Chris,
I took some liberties with your test and checked the files into svn.
Added id to iframes_test.html as you mentioned, changed the test to id
strings, and added it to frame_test.rb. Hope you don't mind and thanks
for the prodding. The test now fails with
1) Error:
That's pretty much it. You've got and ending slash and a beginning on
your strings which will make http://www.google.com//intl/en/about.html
Otherwise it seems fine, is there some problem you're encountering?
-Charley
On 10/3/06, Astha Raj [EMAIL PROTECTED] wrote:
Hi All,
This is what I want
Sure, here's a simple example:
require 'watir'
include Watir
ie = IE.start('http://www.gap.com')
redir = ie.url
puts redir
= http://www.gap.com/browse/home.do
-Charley
On 10/23/06, Lennon [EMAIL PROTECTED] wrote:
Is it possible to store a url that I have been redirected to by my webapp as
Hey Christian,
Try something along these lines:
irb(main):019:0 require 'watir'
irb(main):019:0 include Watir
irb(main):019:0 ie = IE.start('http://www.google.com')
= #Watir::IE:0x2f2c480
# Get the table cell, pull the first link's href, there are a few
links in this cell
irb(main):020:0
I updated winClicker, removing returns from the enum procs for
getChildHandle and getWindowHandle, returning to the changes that had
been made in build 1070. Let me know if this is working any better for
you. This is the downside of not having unit tests and as Bret said
why this is basically
You can use an approach similar to the Element#visible idea in the
user contributions portion of the wiki site if you really need to.
http://wiki.openqa.org/pages/viewpage.action?pageId=1119.
The ole object is there and you can query it to get the parent if need
be. Otherwise, using Watir 1.5.1.x
Paul,
I'm not currently testing with IE 7 but most likely will be soon,
particularly since the upgrade is part of the system updates which
means the user base will expand quickly. Can you add a JIRA task for
this?
While the browser version makes sense in context of the ie object,
the os
than using
the userAgent
Its in Jira, WTR-116
Paul
- Original Message -
From: Charley Baker [EMAIL PROTECTED]
To: wtr-general@rubyforge.org
Sent: Wednesday, November 15, 2006 12:51 PM
Subject: Re: [Wtr-general] detecting versions of browser and os
Paul,
I'm not currently
Dou,
There are a lot of libraries for Ruby that you can use along with
the Watir libraries for other pieces of your testing. If you're
looking for telnet for example you might want to take a look at Ruby's
builtin net/telnet documentation:
Zeljko,
I just ran through the same steps you list below and didn't have a
problem. The use of autoit for controlling the window state of ie
hasn't changed for quite some time and should be installed as part of
your install. Is it working with previous gems on the same machine?
-Charley
On
I don't have access to a Vista system and haven't tried running
scripts on it. What scripts are you trying to run and where is the
error? Does this happen if you simply open irb and do something like
this:
irb require 'watir'
irb include Watir
irb ie = IE.start('http://www.google.com')
Or is
This is a known issue with Watir and Ruby 185, this will work with
Ruby 182, the Jira issue is here:
http://jira.openqa.org/browse/WTR-86
-Charley
On 11/29/06, vijay [EMAIL PROTECTED] wrote:
Hi people,
My name is Vijay. I am new to Watir. Occasionally, while playing back the
script, which
with any additional information. I'll keep poking
around.
-Charley
On 11/29/06, Željko Filipin [EMAIL PROTECTED] wrote:
On 11/27/06, Charley Baker [EMAIL PROTECTED] wrote:
I just ran through the same steps you list below and didn't have a
problem. The use of autoit for controlling the window state
Chris has some salient points. Another advantage of using a delimited file
that you can use through Excel is version control. Using a delimited file
makes it easier to diff and/or merge through Subversion or whatever your SCM
tool might be as opposed to using an Excel file.
-Charley
On 12/6/06,
A snippet or use the IE developer toolbar to see what attributes in the
generated DOM you might have access to:
http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038displaylang=en
-Charley
On 12/6/06, Christian Baumann [EMAIL PROTECTED] wrote:
Hi,
what
Hey Philip,
Java applet - no, Flash - no. These are embedded objects which IE really
has no insight into. Form generated by Javascript - yes. This is what Watir
deals withthe generated DOM. I'm not yet convinced there's no way to
access the form elements in this particular scenario.
Hi Lisa,
I haven't worked with Vista and IE7, I'm trying to get a box set up with
that now. Your report gave me a nudge to set it up. The rpc server errors
you're seeing are due to closing the browser, which unfortunately doesn't
give a good indication of what's going wrong. I don't think the
Shouldn't happen if you type
require 'watir'
Note the casing. require should load files once, if, however, you change the
casing then you will load the same file multiple times.
-Charley
On 12/7/06, John Lolis [EMAIL PROTECTED] wrote:
just for fun i opened up the irb and did the following
1 - 100 of 268 matches
Mail list logo