Sorry, no. The Windows Update in question breaks a ton of functionality when
you try to automate IE from out of process. However, the February cumulative
update should resolve the issue, if the last comment (from a Microsoft
employee) on the Microsoft Connect report is to be believed.
--
--
B
How to solve it? Set the Protected Mode settings. For the technical reasons why
the IE driver requires this, see
http://jimevansmusic.blogspot.com/2012/08/youre-doing-it-wrong-protected-mode-and.html
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask,
fully
the last bullet point in the Required Configuration section[2].
--Jim
[1] https://code.google.com/p/selenium/wiki/InternetExplorerDriver
[2]
https://code.google.com/p/selenium/wiki/InternetExplorerDriver#Required_Configuration
On Tuesday, July 29, 2014 11:26:54 AM UTC-4, Joe Fl wrote:
&g
t the package maintainer has done the right thing
including the 32-bit executable.
--Jim
[1] http://code.google.com/p/selenium/issues/detail?id=5116
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://
What version of IEDriverServer.exe are you using? More importantly, are you
using the 64-bit version of the executable? If you are using the 64-bit exe,
don't. Use the 32-bit exe with IE10+. With IE10+, even on 64-bit Windows, and
even if you explicitly launch a 64-bit iexplore.exe, the content
o.Bar.com/Portal/quote?
source=club
xyzclubcode=212
state=VA
zipcode=20109
I'll try to get back to this issue for a better answer.
The links you sent earlier were somewhat helpful but I could not figure out
how to transform the information into usable commands.
I learned the %3D should repla
jko Filipin wrote:
> On Tue, Jun 4, 2013 at 8:26 PM, Jim Bailey wrote:
>
>> b.goto(properties.getUrl)
>
>
> Add this before above line:
>
> p properties.getUrl
>
> That will display the contents of the variable. That is always helpful
> when debugging.
>
>
I'm using Watir with Ruby 1.86.
I have a properties file that I point to when I fire up a Watir script.
properties = TemplateProperties.new("../properties/template_properties.txt")
Then it uses this:
b.goto(properties.getUrl)
to pull the correct url. I use several.
When I attempt to fire up
your ActiveX control is a 32-bit ActiveX control, you won't see it
when you start 64-bit IE. For the same reason, the "bitness" version of IE
that gets launched by IEDriverServer.exe (and therefore by watir-webdriver)
is determined by the "bitness" of the executable.
--Jim
does provide a Window API for that
purpose. How watir-webdriver exploits that API, I couldn't say.
--Jim
[1] Disclaimer: I don't mean to suggest that there aren't other use cases for
the .attach method, or that popup windows are the most important use case for
that API, or even
Let me piggyback off of Željko's comments to reiterate that the WebDriver
development team welcomes any and all contributions toward making the drivers
more stable. I realize that having watir-classic is a disincentive for folks to
spend time helping with the IE driver, if only because it appear
I don't want to leave you with the impression that this isn't a very helpful
place to get answers. It is, and answering your question was no trouble at all.
In the future though, it's best to start a new thread for a new question. :)
--
Before posting, please read http://watir.com/support. In s
y down while typing the number zero).
That resets the zoom level to 100%. From the WebDriver side of things,
there are ways you can tell the IE driver to ignore the zoom level, but I
don't know how to set those in the Watir API.
--Jim
On Wednesday, January 16, 2013 11:46:47 AM UTC-5, Sergii Na
IE driver uses to create full-page
screenshots in Windows 8.
--Jim
On Wednesday, January 16, 2013 9:42:45 AM UTC-5, Evgeny Shavkunov wrote:
>
> Hi,
>
> I was trying to make a screenshot from the page using
> "browser.screenshot.save" and I found that only small part of
Don't add the executable name in the path entry. In other words, if you put
IEDriverServer.exe in C:\WebDrivers, put C:\WebDrivers in your path.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.goog
I have run into a problem that I am unable to resolve on my own. We
are creating some content on one of your sites (site 1) which persists
to another site (site 2). We then need to log into site 2, find the
content we created in site 1 and then continue the process on site 2.
Does anyone know ho
When running Watir through Hudson which launches a nunit console
executable that runs a nunit test that in turns launches a ruby.exe
passing a ruby file that has Test::Unit::TestCase test cases will
always throw errors on the Watir::IE.find calls. All the find calls
error with the same OLE and HR
vide a great deal of
plumbing to make this kind of thing dead simple. However, there are
some concerns in my organization about a need for cross-platform (not
just cross-browser) test execution. Thus, I find myself in unfamiliar
territory.
On Aug 10, 7:49 pm, Bret Pettichord wrote:
> Can y
hout having
to bother you good folks?
--Jim Evans
Numara Software, Inc.
On Aug 10, 7:50 pm, Bret Pettichord wrote:
> Add this line to your script:
>
> require 'watir/ie'
>
> Bret
>
> On Aug 10, 1:03 pm, Jim Evans wrote:
>
>
>
> > As I mentioned i
27;m sure this is probably another "lack of Ruby experience" issues on
my part, but I'd really appreciate a nudge in the right direction.
--Jim Evans
Numara Software, Inc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
I have a web application that I'm trying to create a model of in
Watir, to encourage code reuse in the scripts, and I've hit a little
snag. I have a table on the main page of the application, the first
row of which has column header information. I need a method by which I
can return all other rows
carefully what is happening as your test
runs. You might discover that something earlier in your test is not
happening the way you think it is.
Jim
On May 19, 10:34 am, Michael Hwee wrote:
> check to see the object is in a frame.
>
>
> From: Ka
spond, then you should
talk to your manager who is interested in having automated tests,
explain the situation (emphasize the time you could save if you did
not have to go back and change your tests all the time) and get him to
"influence" the developers.
Jim
On May 14, 8:11 am, Jason
that the first two lines of
the trace (the ones on the bottom) have "ubygems" instead of
"rubygems".
I 'll see what else I can find out. All my old tests seem to work OK.
Jim
On Apr 21, 6:32 pm, Wesley Chen wrote:
> I have used netbeans for a long time, of course I
hat your project references this "run" environment.
Jim
On Apr 21, 10:11 am, Wesley Chen wrote:
> I have not reported yet.
> When I run the code out of netbeans, it is OK.
>
> Thanks.
> Wesley Chen.
>
> On Tue, Apr 21, 2009 at 11:03 PM, Željko Filipin
>
> wrote:
9e262?lnk=gst&q=%3Cpopup#02a19203ed99e262
Jim
On Apr 9, 5:09 am, spike wrote:
> sorry to tel u it isnt working,
>
> ie.button(:id, "ctl00_ContentPlaceHolder1_btnNext").click
> ie.file_field(:id, "ctl00_ContentPlaceHolder1_Uploadfile").se
spike,
The only thing I see right off is that you have:
wsh WIN32OLE.new('Wscript.Shell')
My guess is that it should be:
wsh = WIN32OLE.new('Wscript.Shell')
That would seem to fit with the error you are getting:
NoMethodError: undefined method `wsh' for #
Jim
The new docs for WatirCraft at the GitHub page (http://wiki.github.com/
bret/watircraft) looks terrific Bret. I'm looking forward to diving
deeper into it.
Jim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&
> I'm sure if we were starting with Watir today, we'd use WatirCraft and
> > things would be easier, but now that we're 4 years down the road and
> > have a huge suite of scripts, I'm never sure what's the best way forward.
> > -- Lisa
>
&g
ople might need to design their own
framework, but not know how to do it.
My two cents.
Jim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-gene
nce when I picked up Brian's book, and it was just the ticket.
I also have the Pickaxe book, but use it mostly as a reference, when I
am not sure how to do something.
Jim
On Apr 3, 8:45 am, Bret Pettichord wrote:
> People who are new to Watir often need to learn Ruby to be effective
Number").value = ($record
['PolicyNumber'])
Jim
On Apr 1, 7:06 am, Shweta wrote:
> Hi
>
> Am getting error in the line where i put the comment has #error
> occured here
>
> require 'win32ole'
> require 'watir'
> require 'Xls
e things
one at time until you get them working the way you want to.
Jim
On Mar 31, 3:22 am, Shweta wrote:
> I got the code for excel from old posts,but i want to know what is
> meant by Dir.pwd here
>
> require 'xls'
> require 'watir'
>
> xlFile = XLS
Shweta,
This sounds like the problem where you do not have RUBYOPT defined as -
rubygems.
Search the site for help on this and if you still have trouble, update
with additional information.
Jim
On Mar 30, 6:40 am, Shweta wrote:
> Hi
>
> When i was trying to parameterize with excel
emporary workaround for this that works for me. Because I
was getting the Watir timeout before the popup came up, I added a
sleep to my popupchecker method before the Timeout::timeout. So the
first part of the popupchecker method looks like this:
def popupchecker(text)
sleep 10
Timeout::timeout
Zeljko,
When I click on the link you provided, I get a page not found from
githubpages.
Jim
On Mar 18, 6:27 am, Željko Filipin
wrote:
> On Wed, Mar 18, 2009 at 12:24, venky wrote:
> > How to invoke a .bat file from watir script
>
> `file.bat`
>
> http://atog.be/200
Watir, but work on an enterprise Java app, and having
the "Java" side of JRuby would be cool.
Thanks,
Jim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this g
(exec_string)
to see if I can get that to work. So far I am not having any luck
getting the execution string to work. I am still not seeing any
errors when I run the script. I figure if I can get this to work, it
will give me a clue as to why click_no_wait is not working.
Jim
On Mar 17, 11:42 am
, it appears that if I specify clicking the
link twice in a row it works.
Have any of you run into this problem and more importantly, do you
know what might be causing it and how to fix it?
Jim
--~--~-~--~~~---~--~~
You received this message because you are
ctual code you're executing.
Jim
http://www.agilerubytester.com
On Mar 5, 4:56 am, Vikas Tulashyam wrote:
> Hi Friends,
> I have installed the MYSQL server 5.1. But when I am trying to connect
> it through watir I am gettin an error - "This Application has failed
> to start be
is the difference. You can find several
recent posts on watir -general about the problem.
If you can shed any light on this problem, a number of us would be
very grateful.
Jim
On Mar 5, 10:09 pm, kushnit wrote:
> Hi,
>
> I am trying to run a watir script which is used to handle ale
One thing I forgot to mention: someone else got click_no_wait to work
by going into IE ->Tools -> Internet Options...->Advanced and under
Security, check the box titled "Allow active content to run in files
on My Computer".
Jim
On Mar 5, 9:32 am, Jim Matthews wrote:
> Gl
s for you (since it sounds like the click_no_wait doesn't
work for you) and let us know your results. If you figure anything
out about system settings that might affect this, let us know. If I
find out anything else for you, I'll post it here.
Jim
On Mar 5, 8:12 am, andrew.d...@lthree.com
George, BTW I actually have a blog where I talk about my experiences
with Ruby/Watir/RSpec...feel free to check it out. The url is
http://www.agilerubytester.com.
On Mar 4, 7:39 am, "george.sand...@gmail.com"
wrote:
> I was just curious to know who is purely a QA tester (like myself) and
> who
I'm a test developer who uses Ruby/Watir for developing automated
tests. As with Lisa, the test code is managed like production code
(checked into Subversion, tagged, etc). I think one of the big
advantages of the Ruby/Watir solution is that the language is fairly
straightforward for someone to
know, I am
still trying to figure out the difference.
Jim
On Mar 4, 3:55 pm, andrew.d...@lthree.com wrote:
> Here is the code
>
> def startClicker( page_container, button , waitTime= 9,
> user_input=nil )
> # get a handle if one exists
> hwnd = page_container.enabled_popup(wait
is
is not correct or does not make sense, include your code. I also
assume we are still working on the original:
undefined local variable or method `hwnd' for #
problem?
Jim
On Mar 4, 1:23 pm, andrew.d...@lthree.com wrote:
> I was basing my code on example 4. Use click_no_wait on a b
en got the error.
I am trying to use the routine above and am finding that there must be
some things on my system that keep it from working all the time.
Sometimes it dismisses the popup and sometimes it doesn't.
Jim
On Mar 4, 5:26 am, andrew.d...@lthree.com wrote:
> Its not my code that
I thought you were having the same problem I am with popups, but I
think yours is different at this point.
The window handle is going to be on the browser and not a part of the
DOM.
You have to get the hwnd off the browser and go from there.
Jim
On Mar 3, 1:16 pm, andrew.d...@lthree.com wrote
mented out.
Jim
require 'watir'
require 'watir/ie'
require 'watir/testcase'
require 'watir/contrib/enabled_popup'
class StepTests < Watir::TestCase
def test_01_step_test
browser = Watir::IE.attach(:title, /Test page for/)
browser.row(:index, 3).bu
something different to
try?
Jim
--~--~-~--~~~---~--~~
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 followi
So is it a safe assumption that all the methods that don't have
descriptions aren't meant to be called directly?
On Feb 26, 7:07 am, Bret Pettichord wrote:
> It is used by click_no_wait. It was not designed to be used directly,
> therefore not documented.
--~--~-~--~~~---
Can someone explain to me what the click! method is for? It doesn't
have a description in the rdoc, so I was just curious what it is for.
Thanks,
Jim Knowlton
http://www.agilerubytester.com
--~--~-~--~~~---~--~~
You received this message because yo
Thanks Bret! I'll take a look at it this weekend and let you know
what I think.
Jim
On Feb 25, 3:35 pm, Bret Pettichord wrote:
> Jim,
>
> You might want to take a look at the WatirCraft framework. It supports
> rspec and libraries, and it has a script/console that is like th
> Charley Baker
> blog:http://charleybakersblog.blogspot.com/
> Lead Developer, Watir,http://wtr.rubyforge.org
> QA Architect, Gap Inc Direct
>
> On Wed, Feb 25, 2009 at 12:54 PM, Jim Knowlton wrote:
>
>
>
>
>
> > Hi, my name is Jim Knowlton. I'm a QA E
Hi, my name is Jim Knowlton. I'm a QA Engineer who works with Ruby
and Watir (and RSpec) in the doing of my job (testing web
applications). I've started a blog on my experiences and lessons
learned. It is is at http://agilerubytester.com. Feel free to check
it out and comment on
That error has been around a long time and only concerns the
documentation for builder. I has no effect on the way it runs.
Jim
On Feb 24, 10:20 am, AR wrote:
> While viewing the watir installation again, I do get one error, but it
> seems to be fairly innocuous:
>
> ERROR: Whil
the line I wrote before. Make sure it
looks like this:
RUBYOPT = -rubygems
I don't know what else to suggest right now.
Jim
On Feb 23, 11:59 am, Smita Godbole wrote:
> Actually it is there. I have total 3 environment variable
> Path =C:\ruby\bin ;
> PATHEXT = RB ;RBW
> and RU
puter" "Properties".
Jim
On Feb 23, 11:33 am, Smita Godbole wrote:
> Hi Tiffany,
> Thank you very much. One more question I have, is there any test that can
> verify the Test::Unit installation?
> I tried running core_test.rb file and got following error i.e.
>
> C
If you do the "one click" Ruby install and do not do silent mode,
there is a "Choose Components" screen that allows you to select
"SciTE" and select "Enable RubyGems".
Jim
On Feb 23, 11:17 am, "Darin Duphorn"
wrote:
> I didn't see tha
I believe that the:
RUBYOPT - Value = -rubygems
is controlled by the "enable Ruby gems" setting in the install
process.
Make sure you select the enable Ruby gems and it creates the variable
if it does not exist.
Jim
On Feb 23, 10:55 am, Moochie wrote:
> Why doesn't it au
Does Firefox require a plugin to make this work?
On Jan 30, 9:44 am, Jim Matthews wrote:
> Good that you could read my mind and know that I was talking about XSL
> instead of xls.
>
> Anyway, I tried your new stylesheet and it still works for me in IE
> but it still does not
Good that you could read my mind and know that I was talking about XSL
instead of xls.
Anyway, I tried your new stylesheet and it still works for me in IE
but it still does not work in Firefox for me. I did not try Safari
yet since it did not work in Firefox. Any other thoughts?
Jim
On Jan
had a similar experience with XLS and knew
if you had to do something different to get it to work with Firefox or
Safari. If you would like to see what is happening, you can goto:
http://www.watirbuild.com/builds/watir/1681.3
Jim
--~--~-~--~~~---~--~~
You received
Does anyone know how to clear cache (delete cookies) in a WATIR
script? I need to delete my cookies at the beginning of my script.
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To pos
I am using FireWatir with a web app which pulls from several ad
networks, in addition to its own content. A steady tide of
XmlHttpRequests ('XHRs') ensures, to my dismay, that Firefox never
thinks the page stops loading. If I manually stop pageload, the script
continues as intended. However, if I
Thanks Tiffany,
I'll give it a try.
Jim
On Dec 5, 11:43 am, Tiffany Fodor <[EMAIL PROTECTED]> wrote:
> Hi Jim!
>
> I'm also using ci_reporter and I created an xsl stylesheet to
> transform the ci_reporter xml reports to something more readable.
> I've po
this before or know of
a tool that would do it?
I have Googled and cannot find anything useful.
Jim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send emai
watir-general@googlegroups.com
>
> [mailto:[EMAIL PROTECTED] On Behalf Of Jim
> Sent: Tuesday, December 02, 2008 11:35 AM
> To: Watir General
> Subject: [wtr-general] Clicking a javascript image
>
> I am having problems clicking a javascript button. Below is the code
> used f
I am having problems clicking a javascript button. Below is the code
used for the button:
If I attempt to click the button using the title or alt, it returns an
error saying it cannot be found.
Any help with clicking this button (link) will be greatly appreciated.
thx
--~--~-~--~---
Timeout::timeout(10)do
begin
@b.goto(url)
rescue Timeout::Error
puts 'Page took longer than 10 seconds to load'
end
end
The proceeding code still throws the Timeout::Error exception. At
least in FireWatir, this doesn't work. Rather, one must
begin
Timeout::timeout(10)do
f
I believe I have gotten that error message every time I installed
Builder. It occurs while building the documentation and does not
affect how builder functions. It should work OK in spite of the
error.
Jim
On Nov 6, 11:56 am, Michael Hwee <[EMAIL PROTECTED]> wrote:
> Hi Bret,
>
efox. Let us know what issues you have. I have
started to run existing Watir tests I have with 1.6.1 on IE and
Firefox. Although I have not finished testing, a number of them run
with little or no modification.
So, "Who am I?" Jim Matthews. I have worked with Bret at a previous
com
INNT.xpi
firewatir-1[1].1.gem
jssh-WINNT-2[1].x.xpi
firewatir-1.2.1.gem
by removing the "[1]" in the name, I could get Watir 1.6.1 to
install. I have not had achance to check it out though.
Jim
On Nov 3, 2:00 pm, Bret Pettichord <[EMAIL PROTECTED]> wrote:
> When
[1].6.1.gem
Jim
On Nov 3, 11:07 am, Bret Pettichord <[EMAIL PROTECTED]> wrote:
> Somehow the filename of the gem changed when you downloaded it. I think
> that is the source of your problem.
>
> Bret
>
> Jim Matthews wrote:
> > I am trying to install Watir 1.6.1 on
I am trying to install Watir 1.6.1 on Ruby 1.8.6-27 and am having a
problem. It looks like the problem you have when you are behind a
proxy, but I am not behind a proxy. I downloaded all three watir gem
files into the same directory. When I try to do the gem install, here
is what happens:
C:\I
76 matches
Mail list logo