[wtr-general] how to double click on Element
I am a new watir user, now I am writing a function,double click a element in the table,it will jump detail page how I can to deal with double click on Element in watir? --~--~-~--~~~---~--~~ 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, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: undefined method `{ENTER}' for #Watir::IE:0x3ee7b9c
I think that there are some different for watir version if the srcipt of above is same not work you can try: Watir.autoit.Send('{ENTER}') --~--~-~--~~~---~--~~ 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, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: clicking ok on popups
may be you can use Enter key instead of clicking button Watir.autoit.Send('{ENTER}') --~--~-~--~~~---~--~~ 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, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: undefined method `{ENTER}' for #Watir::IE:0x3ee7b9c
hi Marlon: you can try method follow for it add two require in header: require 'win32ole' require 'watir/WindowHelper' and use send_keys: ie.send_keys({ENTER}) may be it will work --~--~-~--~~~---~--~~ 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, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] issue with combobox for watir
I am a new watir leaner. I have some issue with combobox for watir code file is: select xtype=combo ext_errIcoOffset=0 ext_height=18px ext_selectOnFocus=true ext_forceSelection=true ext_mode=local ext_displayField=Text ext_valueField=Value ext_maxHeight=300 ext_listWidth=-1 name=ctl00$ContentPlaceHolderBody $ComboBoxStoreName onchange=javascript:setTimeout('__doPostBack (\'ctl00$ContentPlaceHolderBody$ComboBoxStoreName\',\'\')', 0) id=ctl00_ContentPlaceHolderBody_ComboBoxStoreName style=height: 18px; option value=-1--Please choose--/option option value=120changsha one/option option selected=selected value=131Alberta/option /select i wirite ruby for : ie.select_list(:id, ctl00_ContentPlaceHolderBody_ComboBoxStoreName).select_vaule (changsha one) but it prompt me: undefined method `select_vaule' for #Watir::SelectList:0x302576c (NoMethodError) i hope someone can help me,thanks best regard! Jane --~--~-~--~~~---~--~~ 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, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: issue with combobox for watir
thank for you help, but It is also fail for your methods it prompt : d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1928:in `assert_exists': Unable to locate object, using id and ctl00_ContentPlaceHolderBody_ComboBoxStore (Watir::Exception::UnknownObjectException) from d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2940:in `select_item_in_select_list' from d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2932:in `select_value' from search1.rb:31 looking forward to your reply --~--~-~--~~~---~--~~ 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, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: issue with combobox for watir
it remain prompt me: new_appriasal.rb:27: undefined method `set' for #Watir::SelectList: 0x2e39c14 (NoMethodError) --~--~-~--~~~---~--~~ 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, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---