[wtr-general] Watir-classic execute_script no longer working in IE11

2015-01-16 Thread Jim Evans
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. -- --

[wtr-general] Re: watir-webdriver + protected mode in XP-IE8

2014-11-12 Thread Jim Evans
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,

Re: [wtr-general] Scripts not working in IE11 browser

2014-07-29 Thread Jim Evans
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: Hi Rahul, I

[wtr-general] Entering data to text field is taking time in Watir Web driver

2014-04-22 Thread Jim Evans
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://groups.google.com/group/watir-general watir-general+unsubscr

[wtr-general] Text Entry is very slow using IE 10+

2014-03-14 Thread Jim Evans
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

Re: [wtr-general] Can't use = sign in URL.

2013-06-06 Thread Jim Bailey
not figure out how to transform the information into usable commands. I learned the %3D should replace the = sign. On Thu, Jun 6, 2013 at 6:38 AM, Željko Filipin zeljko.fili...@gmail.comwrote: On Wed, Jun 5, 2013 at 5:52 PM, Jim Bailey jbailey...@gmail.com wrote: For now, can I forget about

Re: [wtr-general] Can't use = sign in URL.

2013-06-05 Thread Jim Bailey
zeljko.fili...@gmail.comwrote: On Tue, Jun 4, 2013 at 8:26 PM, Jim Bailey jbailey...@gmail.com 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. The magic word is probably URL

Re: [wtr-general] Can't use = sign in URL.

2013-06-04 Thread Jim Bailey
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 a

[wtr-general] Re: Internet Explorer - watir-webdriver question

2013-04-25 Thread Jim Evans
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 On Thursday, April 25, 2013 12:52

[wtr-general] .attach method

2013-02-02 Thread Jim Evans
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 that it's the use case you're

Re: [wtr-general] watir, watir-webdriver, watir-classic: history and current state?

2013-01-31 Thread Jim Evans
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

Re[2]: [wtr-general] Re: Installing the IEDriverServer

2013-01-17 Thread Jim Evans
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

[wtr-general] Re: Watir-webdriver - Screenshots - Browser is minimised before screeshot is taken and only part of the page is saved

2013-01-16 Thread Jim Evans
-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 the page (even less then visible part in the window

Re: [wtr-general] Re: Installing the IEDriverServer

2013-01-16 Thread Jim Evans
). 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 Nadieiev wrote: What about next? I got error

[wtr-general] Installing the IEDriverServer

2012-08-14 Thread Jim Evans
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

[wtr-general] Grab text from one site and find/access it on another site

2012-01-26 Thread Jim Henry
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

[wtr-general] All calls to Watir::IE.find fail

2010-02-23 Thread Jim
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

[wtr-general] Re: Cannot subclass Table

2009-08-11 Thread Jim Evans
folks? --Jim Evans Numara Software, Inc. On Aug 10, 7:50 pm, Bret Pettichord bpettich...@gmail.com wrote: Add this line to your script:   require 'watir/ie' Bret On Aug 10, 1:03 pm, Jim Evans jim.ev...@numarasoftware.com wrote: As I mentioned in a previous message, I'm trying to model

[wtr-general] Re: Modeling web pages and table rows

2009-08-11 Thread Jim Evans
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 bpettich...@gmail.com wrote: Can you show us what you tried? On Aug 10, 9:07 am, Jim Evans jim.ev

[wtr-general] Cannot subclass Table

2009-08-10 Thread Jim Evans
, but I'd really appreciate a nudge in the right direction. --Jim Evans Numara Software, Inc. --~--~-~--~~~---~--~~ 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

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Jim Matthews
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 michael_h...@yahoo.com wrote: check to see the object is in a frame. From

[wtr-general] Re: Help needed in automation using Watir

2009-05-14 Thread Jim Matthews
, 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 Shelton jas.shel

[wtr-general] Re: Unexpected error when Run the code in Netbeans.

2009-04-21 Thread Jim Matthews
this run environment. Jim On Apr 21, 10:11 am, Wesley Chen cjq@gmail.com 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 zeljko.fili...@wa-research.ch wrote: On Tue, Apr 21, 2009

[wtr-general] Re: Error in handling popup

2009-04-09 Thread Jim Matthews
?lnk=gstq=%3Cpopup#02a19203ed99e262 Jim On Apr 9, 5:09 am, spike vinaykumarl...@gmail.com wrote: sorry to tel u it isnt working, ie.button(:id, ctl00_ContentPlaceHolder1_btnNext).click ie.file_field(:id, ctl00_ContentPlaceHolder1_Uploadfile).set(D:\ \BCSBI.zip) ie.file_field(:id

[wtr-general] Watir design patterns?

2009-04-03 Thread Jim Knowlton
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-general@googlegroups.com Before posting

[wtr-general] Re: Watir design patterns?

2009-04-03 Thread Jim Knowlton
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 On Fri, Apr 3, 2009 at 2:09 PM, Jim Knowlton jknowlton...@gmail.com mailto:jknowlton...@gmail.com wrote:     I think the biggest thing alot of us Watir

[wtr-general] Re: undefined method `close' for nil:NilClass (NoMethodError)

2009-04-01 Thread Jim Matthews
['PolicyNumber']) Jim On Apr 1, 7:06 am, Shweta nagman...@gmail.com wrote: Hi Am getting error in the line where i put the comment has #error occured here require 'win32ole' require 'watir' require 'Xls' xlFile = XLS.new('C:\irma1.xls') #grab the data file in the same dirrectory myData

[wtr-general] Re: Getting no such file to load error when working with excel

2009-03-30 Thread Jim Matthews
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 nagman...@gmail.com wrote: Hi When i was trying to parameterize

[wtr-general] Re: click_no_wait and click! not working javascript popup

2009-03-23 Thread Jim Matthews
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(2) do Note that I give this as a temporary solution until the wait_until is fixed. Jim On Mar 3, 10:52 am, Jim

[wtr-general] Re: select_no_wait function does not work for download pop up handling.

2009-03-17 Thread Jim Matthews
(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

[wtr-general] Watir in JRuby?

2009-03-17 Thread Jim Knowlton
, 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 group, send email to watir-general

[wtr-general] Re: MYSQL error

2009-03-09 Thread Jim Knowlton
you're executing. Jim http://www.agilerubytester.com On Mar 5, 4:56 am, Vikas Tulashyam vtulash...@gmail.com 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 becasue LIBMYSQL.dll

[wtr-general] Re: Error while running popup script on eclipse

2009-03-06 Thread Jim Matthews
that 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 kush...@gmail.com wrote: Hi, I am trying to run a watir script which is used to handle

[wtr-general] Re: enabled_popup internal error

2009-03-05 Thread Jim Matthews
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 jim_m...@swbell.net wrote: Glad to know

[wtr-general] Re: enabled_popup internal error

2009-03-04 Thread Jim Matthews
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 is throwing the error. Here

[wtr-general] Re: click_no_wait and click! not working javascript popup

2009-03-03 Thread Jim Matthews
Here are the steps to reproduct the problem. First bring up unittests \html\popups1.html in IE. \Ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\unittests\html\popups1.html Next run this script. I have extra puts in it to try to figure out what is going on. They can be remvoed or commented out. Jim

[wtr-general] New blog on agile testing with Ruby, Watir RSpec - www.agilerubytester.com

2009-02-25 Thread Jim Knowlton
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 any

[wtr-general] Re: New blog on agile testing with Ruby, Watir RSpec - www.agilerubytester.com

2009-02-25 Thread Jim Knowlton
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 b...@pettichord.com 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

[wtr-general] click! method

2009-02-25 Thread Jim Knowlton
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 you

[wtr-general] Re: LoadError: 14001: This application has failed to start because....

2009-02-24 Thread Jim Matthews
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 reed.a...@gmail.com wrote: While viewing the watir installation again, I do get one error, but it seems to be fairly innocuous: ERROR

[wtr-general] Re: Installing Watir

2009-02-23 Thread Jim Matthews
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 dduph...@redbrickhealth.com wrote: I didn't see that option, but I have to install on everyones

[wtr-general] Re: Watir -- Methods

2009-02-23 Thread Jim Matthews
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 smita.godb...@gmail.com wrote: Actually it is there.  I have total 3 environment variable Path =C:\ruby\bin ; PATHEXT = RB ;RBW and RUBYOPT

[wtr-general] Re: Problem displaying XML file with XSL in Firefox and Safari

2009-01-30 Thread Jim Matthews
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

[wtr-general] Re: Problem displaying XML file with XSL in Firefox and Safari

2009-01-30 Thread Jim Matthews
Does Firefox require a plugin to make this work? On Jan 30, 9:44 am, Jim Matthews jim_m...@swbell.net 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 work

[wtr-general] Problem displaying XML file with XLS in Firefox and Safari

2009-01-29 Thread Jim Matthews
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

[wtr-general] Cache/Cookies

2008-12-29 Thread Jim
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 post

[wtr-general] Anyone have a way of converting ci_reporter XML to pretty html?

2008-12-05 Thread Jim Matthews
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 email to watir

[wtr-general] Re: Anyone have a way of converting ci_reporter XML to pretty html?

2008-12-05 Thread Jim Matthews
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 posted an example with my test harness here

[wtr-general] Clicking a javascript image

2008-12-02 Thread Jim
I am having problems clicking a javascript button. Below is the code used for the button: a href=Javascript:doPost(document.pageForm, 'Update.m'); title=View Hotelsimg src=images/Arizona/button_viewhotels.gif width=190 height=83 alt=View Hotels class=arrow //a If I attempt to click the button

[wtr-general] Re: Clicking a javascript image

2008-12-02 Thread Jim
] 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 for the button: a href=Javascript:doPost(document.pageForm, 'Update.m'); title=View

[wtr-general] Error on just_add_watir?

2008-11-28 Thread Jim Cropcho
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

[wtr-general] How close are we to be able to run common tests with Watir and FireWatir

2008-11-04 Thread Jim Matthews
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 company and am working with him now to help get

[wtr-general] Re: Watir 1.6.1 is available for testing

2008-11-03 Thread Jim Matthews
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:

[wtr-general] Re: Watir 1.6.1 is available for testing

2008-11-03 Thread Jim Matthews
[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 Ruby 1.8.6-27 and am having a problem