[wtr-general] [watir-general] Access elements on Widgets.

2009-02-20 Thread Narendra Gollapilli
On Fri, Feb 20, 2009 at 1:19 PM, Narendra Gollapilli narendra.gollapi...@gmail.com wrote: Hi All, I m new to Watir its very good frame work for automate web application. In my application Widgets are there m unable write code to capture/click on those Please help me out this.

[wtr-general] How to change a ruby file into an .exe file

2009-02-20 Thread Jerry
Hi, I have one main program and some sub_programs.. Is their any way to convert these Ruby programs into a single .exe file? Thanx, Malar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post

[wtr-general] Re: popup

2009-02-20 Thread Wilson Xu
try this: require 'watir/ie' require 'watir/contrib/enabled_popup' On Mon, Feb 16, 2009 at 10:36 PM, jam ruby.wa...@gmail.com wrote: hallo, I could't require enabled_popup (require 'watir/contrib/ enabled_popup') I am getting an error message

[wtr-general] Re: How to change a ruby file into an .exe file

2009-02-20 Thread Wilson Xu
refer to http://rubyforge.org/projects/exerb/ project. Wilson On Fri, Feb 20, 2009 at 4:34 PM, Jerry malar.je...@gmail.com wrote: Hi, I have one main program and some sub_programs.. Is their any way to convert these Ruby programs into a single .exe file? Thanx, Malar

[wtr-general] Re: FireWatir and unicode IDs/input, etc... Works with Watir/IE...

2009-02-20 Thread John Kolokotronis
Bret, I suspected the JSSH plugin might be to blame but don't know anything about its' internal workings. Does anyone know if it is possible to get it to accept UTF-8 encoding? Is anyone here able to work with unicode input in Firefox? Michael, the problems are with two byte Japanese characters

[wtr-general] Re: How to read the Text of a pop-up

2009-02-20 Thread pink hiii
Hi all Use the function for getting Static text on Javascript popup  w = WinClicker.new popupText= w.getStaticText(Windows Internet Explorer) From: Wilson Xu xu.xiaodong.wil...@gmail.com To: watir-general@googlegroups.com Sent: Friday, 20 February, 2009

[wtr-general] Re: assert_exists - UnknownObjectException

2009-02-20 Thread pink hiii
Hi All, Put your code snippet between the following in your code : #code begin rescue Exception print Your message From: Isabel joybe...@gmail.com To: Watir General watir-general@googlegroups.com Sent: Friday, 20 February, 2009 12:44:43 PM Subject:

[wtr-general] Re: popup

2009-02-20 Thread pink hiii
Hi , you need the modules in the following order in your code.You missed out win32ole class. require 'watir/ie' require 'win32ole' require 'watir\contrib\enabled_popup' Regards Siva. From: Wilson Xu xu.xiaodong.wil...@gmail.com To:

[wtr-general] Supporting :test in more methods, e. g., .link, .div, .hx, etc.

2009-02-20 Thread Bill Mosteller
http://wiki.openqa.org/display/WTR/Methods+Supported+by+Element tells everything kind of tag that's valid in Watir. But I don't always like to color within the lines. Specifically, in my scripting, I find myself wishing I could code .link(:text, .div(:text, .h1(:text, etc. How hard would it

[wtr-general] Re: click_no_wait firefox walkaround not working

2009-02-20 Thread zeng0030
Bug is logged as WTR-287. On Feb 18, 6:02 am, Angrez Singh ang...@gmail.com wrote: Just went through the code for click_no_wait don't think that if it is supported right now you can use startClicker for dealing with js pop ups. Look at the unit tests for more details. - Angrez On Wed, Feb

[wtr-general] Re: click_no_wait firefox walkaround not working

2009-02-20 Thread zeng0030
Hi Angrez, I tried startClicker method in the unit test. But it seems this method does't open the popup window. Any suggestions? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post

[wtr-general] Re: Gem Recall Notice: win32-api

2009-02-20 Thread Bret Pettichord
Magnujf, You have done all that is necessary in order to repair the specific problem that this notice was written for. Could you please send a detailed description of what is not working to the Watir General mailing list? Bret On Fri, Feb 20, 2009 at 3:26 AM, magn...@ifi.uio.no wrote: Hello,

[wtr-general] Re: Supporting :test in more methods, e. g., .link, .div, .hx, etc.

2009-02-20 Thread Bret Pettichord
I think that wiki page hasn't been updated to keep pace with Watir development. Here is the current code (which you can emulate or modify if you want to add to it): http://github.com/bret/watir/blob/28e41789478e27186a144ccc72938d17e8fcf086/watir/lib/watir/non_control_elements.rb All the

[wtr-general] Select Lists

2009-02-20 Thread Jason Shelton
All, I have a control in my application, that looks a list box, but in the code it is treated as a select list. When I use the Watir select list commands, everything works fine. My problem is that when I first bring up the page that contains the list, one item in the list is already

[wtr-general] Hiding the browser

2009-02-20 Thread Jason Shelton
All, Is there a new way of hiding the browser with Watir? It seems that ie.visible = false no longer works. Thanks alot. - Shelton _ Windows Live™: E-mail. Chat. Share. Get more ways to connect.

[wtr-general] Re: Select Lists

2009-02-20 Thread Ravi
ie.select_list(:name,'name').clearSelection On Feb 20, 11:53 am, Jason Shelton jas.shel...@hotmail.com wrote: All, I have a control in my application, that looks a list box, but in the code it is treated as a select list. When I use the Watir select list commands, everything works fine.

[wtr-general] Issue converting strings

2009-02-20 Thread Moochie
I'm writing code to be able to mask out a portion of the strings. excel_value = testops on 02/19/2009* if excel_value.index(*) != nill #Equals 21 puts excel_value puts excel_value[0,excel_value.index(*).to_i].to_s.strip puts label_id.document.lastChild.nodeValue.to_s.strip puts

[wtr-general] Re: Watir -- Methods

2009-02-20 Thread Tiffany Fodor
Hi Smita - welcome to Watir! Watir is a Ruby library that allows you to manipulate objects on web pages, not a framework for tests. I think you're asking about how to set up a framework of Watir tests and that depends on your situation. You might want to check out Test::Unit, RSpec, Rasta and

[wtr-general] msvcr80-ruby18.dll was not found error troubles

2009-02-20 Thread Jeff Fry
I've seen the earlier thread on this that suggested it was happening to folks who were running Visual Studio. I'm not. I'm running ruby 1.8.5 on WinXP. I had just updated watir from 1.5.6 to 1.6.2. I saw Bret's post about the win32-api gem and so un-and-reinstalled that as well. At this point,

[wtr-general] Re: msvcr80-ruby18.dll was not found error troubles

2009-02-20 Thread Bret Pettichord
Jeff Fry wrote: irb(main):003:0 Watir::IE::BROWSER NameError: uninitialized constant Watir::IE::BROWSER from (irb):3 This is correct, and what I get too. There is no such thing as Watir::IE:BROWSER. Bret --~--~-~--~~~---~--~~ You received this

[wtr-general] Re: msvcr80-ruby18.dll was not found error troubles

2009-02-20 Thread Jeff Fry
Al: Yeah, I was referencing that thread above. It pointed toward Visual Studio, which I don't have. Charley theorized off list that one of the gems on my system might have been compiled using Visual Studio. Bret: Doh. Typo, but the first error (msvcr80-ruby18.dll was not found) was occuring when I

[wtr-general] Re: Hiding the browser

2009-02-20 Thread wesley chen
Add $HIDE_IE=true before your IE process has been created. Thanks. Wesley Chen. On Sat, Feb 21, 2009 at 1:59 AM, Jason Shelton jas.shel...@hotmail.comwrote: All, Is there a new way of hiding the browser with Watir? It seems that ie.visible = false no longer works. Thanks alot. -