[wtr-general] Re: LoadError

2008-12-10 Thread Mark Anderson
require "watir" => true irb(main):002:0> i see that you have started irb again and to run require you are using irb require "watir" ... is wrong. (just use require "watir") -Tony __ Information from ESET NOD32 Antivirus, version of vir

[wtr-general] Re: Know how to make a screencast?

2008-12-10 Thread Pete Dignan
That's a lot less $ than Camtasia, which seems to be the most popular tool. I wonder if we should wait for the framework to be released in January, or maybe get started making one or two now for practice? Pete On Dec 9, 9:40 am, "Paul Rogers" <[EMAIL PROTECTED]> wrote: > using iShowYou on a mac

[wtr-general] Re: Know how to make a screencast?

2008-12-10 Thread Željko Filipin
On Wed, Dec 10, 2008 at 16:34, Pete Dignan <[EMAIL PROTECTED]> wrote: > I wonder if we should wait for the framework to be released in > January, or maybe get started making one or two now for practice? Release early, release often. :) Željko --~--~-~--~~~---~--~~

[wtr-general] Re: Know how to make a screencast?

2008-12-10 Thread Nathan Lane
On Windows "Windows Media Encoder" is software that can be used to create a screencast. On Wed, Dec 10, 2008 at 8:40 AM, Željko Filipin <[EMAIL PROTECTED]>wrote: > On Wed, Dec 10, 2008 at 16:34, Pete Dignan <[EMAIL PROTECTED]> wrote: > > I wonder if we should wait for the framework to be released

[wtr-general] Re: Know how to make a screencast?

2008-12-10 Thread Nathan Lane
You can also use VLX with screen://, which is more complicated, but it works pretty well (I found this on it http://www.google.com/search?q=vlc+screen+capture&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a ) Nathan On Wed, Dec 10, 2008 at 9:33 AM, Nathan Lane <[EMAIL PROTE

[wtr-general] Re: Know how to make a screencast?

2008-12-10 Thread Nathan Lane
Basic guide to doing this with VLC is available here: http://www.youtube.com/watch?v=Hn66KDbRR0c On Wed, Dec 10, 2008 at 9:36 AM, Nathan Lane <[EMAIL PROTECTED]>wrote: > You can also use VLX with screen://, which is more complicated, but it > works pretty well (I found this on it > http://www.goo

[wtr-general] Re: Please Explain core_tests.rb

2008-12-10 Thread Mark Anderson
by ESET NOD32 Antivirus. > > http://www.eset.com > > > __ Information from ESET NOD32 Antivirus, version of virus > signature database 3679 (20081209) __ > > The message was checked by ESET NOD32 Antivir

[wtr-general] Re: Please Explain core_tests.rb

2008-12-10 Thread Bret Pettichord
oes or .unshift does or generally how >> the whole script is intended to work together. >> >> Any comments are duly appreciated. >> >> >> Thanks, >> Vivek. >> >> >> __ Information from ESET NOD32 Antivirus, version of

[wtr-general] Re: Please Explain core_tests.rb

2008-12-10 Thread Bret Pettichord
ow $HIDE_IE does. I think though that that is the extent >>> of it. >>> I'm not really sure what .join does or .unshift does or generally how >>> the whole script is intended to work together. >>> >>> Any

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-10 Thread Michael Hwee
Looks like click_no_wait is doing something different from click(). Try using 'click!' for click_no_wait. Michael - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: Watir General Sent: Tuesday, December 9, 2008 2:44:01 PM Subject: [wtr-general] Re: button.Click_No

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-10 Thread Michael Hwee
Correct, Bret. That puzzles me the reason to use a new process to do the click_no_wait. Since click() is working, I suggest to use 'click!' as click_no_wait alternate way for now. - Original Message From: Bret Pettichord <[EMAIL PROTECTED]> To: watir-general@googlegroups.com Sent: T

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-10 Thread Bret Pettichord
Michael Hwee wrote: > Correct, Bret. > That puzzles me the reason to use a new process to do the click_no_wait. > > Since click() is working, I suggest to use 'click!' as click_no_wait > alternate way for now. > > The reason is complicated. The problem is that if the click triggers a modal d

[wtr-general] Re: Please Explain core_tests.rb

2008-12-10 Thread Vivek P.Netha
ethod that is used > >>> in the core_tests.rb file. > >>> I realize it doesn't work anymore after FireWatir integration. But it > >>> seems like a good way to run > >>> Watir scripts when you have a whole suite of them with you. > >>> > >>

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-10 Thread larryni...@gmail.com
That has the same problems as click: it successfully forces the site to launch a popup, but then the script hangs instead of executing the popup-handling code. But maybe patrick will have more luck? On Dec 10, 1:12 pm, Bret Pettichord <[EMAIL PROTECTED]> wrote: > Michael Hwee wrote: > > Correct,

[wtr-general] NoMethodError: undefined method `links' for nil:NilClass

2008-12-10 Thread carl.shau...@gmail.com
Howdy, I am trying to evaluate how much effort is involved in migrating our watir code to 1.6.2. Currently I am concluding that it is going to be a lot of work. I use this code fragment often. assert(@ie.link(:text, "Sports").exists?) Has the 'link' method been deprecated or changed? I am

[wtr-general] Re: NoMethodError: undefined method `links' for nil:NilClass

2008-12-10 Thread Bret Pettichord
Upgrading to 1.6.2 for most people should be a zero-effort upgrade. Upgrading to use Browser.new and make your tests also work with FireWatir -- now that may take some effort. (This is what i think you are doing.) A full stack trace would help. Bret [EMAIL PROTECTED] wrote: > Howdy, > > I a

[wtr-general] set watir_browser=ie is not working

2008-12-10 Thread Margam
HI All, I am trying to write one script that will work on both IE and FF. As per the link: http://wiki.openqa.org/display/WTR/Browser.new I am trying to use the "set watir_browser=ie" command and Watir::Browser.new The code is : -- require 'rubygems' require 'watir' set watir_browse

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-10 Thread Michael Hwee
So, the popup is modal dialog. What did you use for handling popup? browser.enabled_popup() <-- that will not work. It requires browser to be enabled. So, try using 'autoit'. Michael - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: Watir General Sent: Wednesd

[wtr-general] do not know how to give input to a text box, which does not have a standard class or property in its HTML

2008-12-10 Thread Vijay
Hello people, In our application, we have a text box present inside a frame (text box similar to the one this message has been typed in). We do not know how to give input to it as it does not have any standard tags like text area etc. When we try to view its properties through the 'IE Developer

[wtr-general] Re: set watir_browser=ie is not working

2008-12-10 Thread marekj
set watir_browser=ie lines are 'environment variables' you would set at the command line and not in your ruby script. On the spage page on the wiki it shows you how to set the browser in Ruby code. Watir::Browser.default = 'ie' or Watir::Browser.default = 'firefox' keep expermimenting. marekj | S

[wtr-general] Re: NoMethodError: undefined method `links' for nil:NilClass

2008-12-10 Thread Alan Baird
Carl - Why are you getting an error for the "links" method when your fragment uses "link"? The error message also seems similar to what I get if I try to access methods on an object that is nil (@ie in your case). Alan On Wed, Dec 10, 2008 at 3:59 PM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote

[wtr-general] Re: set watir_browser=ie is not working

2008-12-10 Thread Margam
Thanks for the reply and explanation. The Watir::Browser.default = 'ie' and Watir::Browser.default = 'firefox' lines in my Ruby script worked fine. Will try the set lines also. On Dec 10, 7:40 pm, marekj <[EMAIL PROTECTED]> wrote: > set watir_browser=ie lines are 'environment variables' you wo

[wtr-general] Re: Updating RubyForge info for Watir?

2008-12-10 Thread Alister Scott
Hopefully watir.com will mean we won't need rubyforge. I don't think we need to call it beta. I think that's just a buzz word. Cheers, Alister On Dec 3, 6:03 am, Bret Pettichord <[EMAIL PROTECTED]> wrote: > Info has been updated to say Watir supports IE and Firefox. > > News for 1.6.2 were accid

[wtr-general] Re: do not know how to give input to a text box, which does not have a standard class or property in its HTML

2008-12-10 Thread wesley chen
Try the comment below: ie.frame(:id,//).document.body.focus ie.send_keys("hello") Thanks. Wesley Chen. On Thu, Dec 11, 2008 at 10:32 AM, Vijay <[EMAIL PROTECTED]> wrote: > Developer toolbar', it focuses on the tag in the below 'html > --~--~-~--~~~---~--~~ You