the actual full text of the error is generally more helpful than just knowing the type of error..
for example we might learn which line in which file is trying to require 'watir/ie' I'm curious why you would require 'watir/ie' and not just 'watir' I've seen that in some old scripts around here, my gut impression is that it's some legacy practice that may not be correct with current versions of watir. In my case I say that in part because the same code that is doing that is also doing "include 'watir'"' a few lines later, and I remember a posting 3 or more years ago in the watir 1.6 days (http://wiki.openqa.org/display/WTR/include+Watir) where brett warned us that was bad practice. But nobody here can tell me why it's that way, it's just how those old scripts were done and 'if it's working....." On Feb 28, 12:47 pm, hillary <[email protected]> wrote: > no such file to load -- watir/ie' error. > > I'm running into the same error in another place with a new taza project i > created, so i think i'm running into a mixture of problems. > > > > > > > > On Tuesday, February 28, 2012 12:27:08 PM UTC-8, enroxorz wrote: > > > What is the error you are getting? Also, note that rautomation 0.6.3 > > and 0.7.0 throws an error. Did you update to the latest > > win32screenshot? > > > On Feb 28, 2:52 pm, hillary <[email protected]> wrote: > > > any reason why win32/screenshot would have a problem? > > > > On Tuesday, February 28, 2012 7:10:43 AM UTC-8, Jarmo Pertman wrote: > > > > > No, there shouldn't be any difference how the browser object is > > > > created since RAutomation doesn't depend on Watir at all and the > > > > dependency between Watir-RAutomation shouldn't play any role in here > > > > either... > > > > > Jarmo > > > > > On Feb 28, 2:42 am, hillary <[email protected]> wrote: > > > > > so it's not working, because the latest version of rautomation > > having a > > > > > problem with how taza starts up the watir browser event. > > > > > def self.watir_ie(params) > > > > > require 'watir' > > > > > puts "running watir" > > > > > if params[:attach] > > > > > browser = Watir::IE.find(:title, //) > > > > > end > > > > > browser || Watir::IE.new > > > > > end > > > > > end > > > > > > I'm sure it's the latest version, because with the previous version > > of > > > > > rautomation and the pre release version of watir i didn't get a 'no > > such > > > > > file to load -- watir/ie' error. i can't change the code snippet > > because > > > > > for some reason taza tries to open firefox. > > > > > > Any reason why the latest version of rautomation would have a > > problem > > > > with > > > > > starting the browser with b = Watir::IE.new? > > > > > > On Thursday, February 23, 2012 4:57:04 AM UTC-8, Jarmo Pertman > > wrote: > > > > > > > Yes, since that method is deleted a long time ago already. Use > > > > > > Win32::Screenshot instead. > > > > > > > First, install Win32::Screenshot > > > > > > gem install win32screenshot > > > > > > > Then, take the screenshot by providing browser.rautomation as a > > > > > > parameter: > > > > > > Win32::Screenshot::Take.of(:rautomation, > > > > > > browser.rautomation).write("screenshot.png") > > > > > > > More examples athttps://github.com/jarmo/win32screenshot > > > > > > > Jarmo Pertman > > > > > > ----- > > > > > > IT does really matter -http://itreallymatters.net > > > > > > > On Feb 23, 2:30 am, hillary <[email protected]> wrote: > > > > > > > for the pre-release version of watir (3.0.rc2) I get a no method > > > > error > > > > > > > > my code: > > > > > > > browser.screen_capture($file_path,true,false) > > > On Tuesday, February 28, 2012 7:10:43 AM UTC-8, Jarmo Pertman wrote: > > > > > No, there shouldn't be any difference how the browser object is > > > > created since RAutomation doesn't depend on Watir at all and the > > > > dependency between Watir-RAutomation shouldn't play any role in here > > > > either... > > > > > Jarmo > > > > > On Feb 28, 2:42 am, hillary <[email protected]> wrote: > > > > > so it's not working, because the latest version of rautomation > > having a > > > > > problem with how taza starts up the watir browser event. > > > > > def self.watir_ie(params) > > > > > require 'watir' > > > > > puts "running watir" > > > > > if params[:attach] > > > > > browser = Watir::IE.find(:title, //) > > > > > end > > > > > browser || Watir::IE.new > > > > > end > > > > > end > > > > > > I'm sure it's the latest version, because with the previous version > > of > > > > > rautomation and the pre release version of watir i didn't get a 'no > > such > > > > > file to load -- watir/ie' error. i can't change the code snippet > > because > > > > > for some reason taza tries to open firefox. > > > > > > Any reason why the latest version of rautomation would have a > > problem > > > > with > > > > > starting the browser with b = Watir::IE.new? > > > > > > On Thursday, February 23, 2012 4:57:04 AM UTC-8, Jarmo Pertman > > wrote: > > > > > > > Yes, since that method is deleted a long time ago already. Use > > > > > > Win32::Screenshot instead. > > > > > > > First, install Win32::Screenshot > > > > > > gem install win32screenshot > > > > > > > Then, take the screenshot by providing browser.rautomation as a > > > > > > parameter: > > > > > > Win32::Screenshot::Take.of(:rautomation, > > > > > > browser.rautomation).write("screenshot.png") > > > > > > > More examples athttps://github.com/jarmo/win32screenshot > > > > > > > Jarmo Pertman > > > > > > ----- > > > > > > IT does really matter -http://itreallymatters.net > > > > > > > On Feb 23, 2:30 am, hillary <[email protected]> wrote: > > > > > > > for the pre-release version of watir (3.0.rc2) I get a no method > > > > error > > > > > > > > my code: > > > > > > > browser.screen_capture($file_path,true,false) > > > On Tuesday, February 28, 2012 7:10:43 AM UTC-8, Jarmo Pertman wrote: > > > > > No, there shouldn't be any difference how the browser object is > > > > created since RAutomation doesn't depend on Watir at all and the > > > > dependency between Watir-RAutomation shouldn't play any role in here > > > > either... > > > > > Jarmo > > > > > On Feb 28, 2:42 am, hillary <[email protected]> wrote: > > > > > so it's not working, because the latest version of rautomation > > having a > > > > > problem with how taza starts up the watir browser event. > > > > > def self.watir_ie(params) > > > > > require 'watir' > > > > > puts "running watir" > > > > > if params[:attach] > > > > > browser = Watir::IE.find(:title, //) > > > > > end > > > > > browser || Watir::IE.new > > > > > end > > > > > end > > > > > > I'm sure it's the latest version, because with the previous version > > of > > > > > rautomation and the pre release version of watir i didn't get a 'no > > such > > > > > file to load -- watir/ie' error. i can't change the code snippet > > because > > > > > for some reason taza tries to open firefox. > > > > > > Any reason why the latest version of rautomation would have a > > problem > > > > with > > > > > starting the browser with b = Watir::IE.new? > > > > > > On Thursday, February 23, 2012 4:57:04 AM UTC-8, Jarmo Pertman > > wrote: > > > > > > > Yes, since that method is deleted a long time ago already. Use > > > > > > Win32::Screenshot instead. > > > > > > > First, install Win32::Screenshot > > > > > > gem install win32screenshot > > > > > > > Then, take the screenshot by providing browser.rautomation as a > > > > > > parameter: > > > > > > Win32::Screenshot::Take.of(:rautomation, > > > > > > browser.rautomation).write("screenshot.png") > > > > > > > More examples athttps://github.com/jarmo/win32screenshot > > > > > > > Jarmo Pertman > > > > > > ----- > > > > > > IT does really matter -http://itreallymatters.net > > > > > > > On Feb 23, 2:30 am, hillary <[email protected]> wrote: > > > > > > > for the pre-release version of watir (3.0.rc2) I get a no method > > > > error > > > > > > > > my code: > > > > > > > browser.screen_capture($file_path,true,false) > > > On Tuesday, February 28, 2012 7:10:43 AM UTC-8, Jarmo Pertman wrote: > > > > > No, there shouldn't be any difference how the browser object is > > > > created since RAutomation doesn't depend on Watir at all and the > > > > dependency between Watir-RAutomation shouldn't play any role in here > > > > either... > > > > > Jarmo > > > > > On Feb 28, 2:42 am, hillary <[email protected]> wrote: > > > > > so it's not working, because the latest version of rautomation > > having a > > > > > problem with how taza starts up the watir browser event. > > > > > def self.watir_ie(params) > > > > > require 'watir' > > > > > puts "running watir" > > > > > if params[:attach] > > > > > browser = Watir::IE.find(:title, //) > > > > > end > > > > > browser || Watir::IE.new > > > > > end > > > > > end > > > > > > I'm sure it's the latest version, because with the previous version > > of > > > > > rautomation and the pre release version of watir i didn't get a 'no > > such > > > > > file to load -- watir/ie' error. i can't change the code snippet > > because > > > > > for some reason taza tries to open firefox. > > > > > > Any reason why the latest version of rautomation would have a > > problem > > > > with > > > > > starting the browser with b = Watir::IE.new? > > > > > > On Thursday, February 23, 2012 4:57:04 AM UTC-8, Jarmo Pertman > > wrote: > > > > > > > Yes, since that method is deleted a long time ago already. Use > > > > > > Win32::Screenshot instead. > > > > > > > First, install Win32::Screenshot > > > > > > gem install win32screenshot > > > > > > > Then, take the screenshot by providing browser.rautomation as a > > > > > > parameter: > > > > > > Win32::Screenshot::Take.of(:rautomation, > > > > > > browser.rautomation).write("screenshot.png") > > > > > > > More examples athttps://github.com/jarmo/win32screenshot > > > > > > > Jarmo Pertman > > > > > > ----- > > > > > > IT does really matter -http://itreallymatters.net > > > > > > > On Feb 23, 2:30 am, hillary <[email protected]> wrote: > > > > > > > for the pre-release version of watir (3.0.rc2) I get a no method > > > > error > > > > > > > > my code: > > > > > > > browser.screen_capture($file_path,true,false) > > > On Tuesday, February 28, 2012 7:10:43 AM UTC-8, Jarmo Pertman wrote: > > > > > No, there shouldn't be any difference how the browser object is > > > > created since RAutomation > > ... > > read more » -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
