[wtr-general] propblem with dropdown list

2009-02-16 Thread Poo
class Watir::IE # monkey-patch Watir's IE class def element *args arg1, arg2 = args # this is needed so hashes would work as input elements = [ :table, :link, :cell, :image,:checkbox, :radio, :text_field, :select_list, :button] # Watir elements which elements.each do |el| # iterate

[wtr-general] Re: How to Include a ruby Program inside another Ruby Program

2009-02-16 Thread malar
hi I removed include Watir from my coding..its workin now.. Thanks a lot. Malar --~--~-~--~~~---~--~~ 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

[wtr-general] Re: Special Characters

2009-02-16 Thread Bill Xu
hi: I could not reproduce this problem :( (I can entered the # properly) But a good way you can try is copy and past to see whether it could not past to your program. Watir.autoit.Send('username#') On Mon, Feb 16, 2009 at 6:21 PM, jam ruby.wa...@gmail.com wrote: Hi, Iam using

[wtr-general] Re: Special Characters

2009-02-16 Thread jam
Hi Bill, I tried in another system its not working even there. Iam entering the '#' in authentication popup(Which is not working). I copied and pasted in my app its fine. Kindly let me know how to solve it. Thanks, Jam On Feb 16, 3:42 pm, Bill Xu xulei8823...@gmail.com wrote: hi:   I could

[wtr-general] popup

2009-02-16 Thread jam
hallo, I could't require enabled_popup (require 'watir/contrib/ enabled_popup') I am getting an error message d:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/ enabled_popup.rb:5: uninitialized constant Watir::PageContainer::Win32 (NameError) from

[wtr-general] popup

2009-02-16 Thread venky
hallo, I could't require enabled_popup (require 'watir/contrib/ enabled_popup') I am getting an error message d:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/ enabled_popup.rb:5: uninitialized constant Watir::PageContainer::Win32 (NameError) from

[wtr-general] unable to set checkbox from list of checkboxes with same name value

2009-02-16 Thread Mordechai
HI, I tried posting earlier but I don't think it went through. So if I double posted I apologize. I'm unable to access a checkbox based on value and I've tried different ways but I'm not succeeding. ie.checkbox(:name,'projects','c2e76d84.60f7eb8a.1a946853.b8bf93b8-

[wtr-general] need help in popup

2009-02-16 Thread venky
hallo, I could't require enabled_popup (require 'watir/contrib/ enabled_popup') I am getting an error message d:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/ enabled_popup.rb:5: uninitialized constant Watir::PageContainer::Win32 (NameError) from

[wtr-general] Re: Controlling JavaScript Pop Ups without .click_no_wait

2009-02-16 Thread Bret Pettichord
Bill Mosteller wrote: Thanks. Just tried onClick, and it doesn't work either. From the Ruby PickAxe book: And if some thread happens to make a call to the operating system that takes a long time to complete, all threads will hang until the interpreter gets control back. Exactly. Which

[wtr-general] Re: Unable to open IE window

2009-02-16 Thread Ben
Hi Jaz, No... I didn't contact Daniel Berger yet because I wanted to do some more tests. I added more debug info to the involved gems and I found that the problem occurs at line 35 of windows-pr-1.0.1\lib\windows \msvcrt\string.rb... In that file at line 35, a call is made to strtok_s and this

[wtr-general] Re: How to Verify Name in File download popup

2009-02-16 Thread zeng0...@gmail.com
Did you try to click the options and choose unblock? Also try set the IE security level as Low. Hope this helps. On Jan 20, 9:06 pm, wesley chen cjq@gmail.com wrote: When I try the method provide above, I have a question. When I turn to linkhttp://cidian.youdao.com/, and click a link

[wtr-general] Re: How to change an excel file into write mode

2009-02-16 Thread Walter Kruse
It may be that you are not exiting Excel correctly and that an instance of the Excel object is still locking the file. Look in your task manager if there are any instances of excel.exe after you have closed all the Excel windows. If this is the problem you should use something like

[wtr-general] Re: Radio button

2009-02-16 Thread wesley chen
Why don't you try $ie.radio(...).checked? Thanks. Wesley Chen. On Tue, Feb 17, 2009 at 2:44 PM, jam ruby.wa...@gmail.com wrote: Hi, how to check whether radio button is set or not. I tried with set?. does't work. How to do this? Thanks, Jam