[wtr-general] Re: `const_get': no such file to load -- safariwatir (MissingSourceFile) with FireWatir
Still waiting for a response... :( Would also like to have some insight on handling modal dialog boxes with firewatir... Though the below link is old:- http://wiki.openqa.org/display/WTR/FireWatir+Release+Notes It saysModal Dialog is not supported on Firefox, so it is not supported by FireWatir as well. Need to check if there are any alternatives methods available to support modal dialog on Firefox browser. But to my not so pleasant surprise the modal dialog box on my application works perfectly well on mozilla too... What to do??? -Betsy Joy On Apr 22, 8:05 am, Betsy joybe...@gmail.com wrote: Done with the below combinations:- 1) Removed include FireWatir 2) Replaced wait_until as mentioned in the linkhttp://groups.google.com/group/watir-general/browse_thread/thread/885... 3) Tried both 1.6.2 and 1.6.5 versions of FireWatir. Now the Browser seems to get hung after opening. Does not perform any other action... -Betsy Joy On Apr 21, 2:51 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Apr 21, 2010 at 11:35 AM, Betsy joybe...@gmail.com wrote: include FireWatir Remove this and let me know if there is any improvement. The problem with this issue is that it does not come up every time. That would make it hard to debug. Željko -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed tohttp://groups.google.com/group/watir-general To post: watir-general@googlegroups.com -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed tohttp://groups.google.com/group/watir-general To post: watir-general@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com
[wtr-general] Modal Dialog Boxes and FireWatir
Hi all, Would like to have some insight on handling modal dialog boxes with firewatir... Though the below link is old:- http://wiki.openqa.org/display/WTR/FireWatir+Release+Notes It saysModal Dialog is not supported on Firefox, so it is not supported by FireWatir as well. Need to check if there are any alternatives methods available to support modal dialog on Firefox browser. But to my not so pleasant surprise the modal dialog box on my application works perfectly well on mozilla too... What to do??? -Betsy Joy -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com
[wtr-general] handling confirmations
hi, when i perform file download operation,it asks for Confirm Save As But the autoit does not click on yes Could u plz suggest me another alternative. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com
Re: [wtr-general] Modal Dialog Boxes and FireWatir
Hi, Can you please separate out that modal code and send us a sample HTML? I'll look into it and try to get some solution. I know handling pop ups is bit tricky and most of the times people face this problem. I'll highly appreciate if you can separate out some code and send that to the list. Thanks, Angrez On Mon, Apr 26, 2010 at 12:12 PM, Betsy joybe...@gmail.com wrote: Hi all, Would like to have some insight on handling modal dialog boxes with firewatir... Though the below link is old:- http://wiki.openqa.org/display/WTR/FireWatir+Release+Notes It saysModal Dialog is not supported on Firefox, so it is not supported by FireWatir as well. Need to check if there are any alternatives methods available to support modal dialog on Firefox browser. But to my not so pleasant surprise the modal dialog box on my application works perfectly well on mozilla too... What to do??? -Betsy Joy -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com
[wtr-general] Re: Modal Dialog Boxes and FireWatir
Hi Angrez, The Function code that generates the modal dialog box is as below:- function putComments() { var val=; // it does not allow to close the window until comment is entered while(val== || val==null) { if (window.showModalDialog){ val=showModalDialog(comments.jsp,window,dialogHeight: 230px; dialogWidth: 370px; dialogTop: 200px; dialogLeft: 304px; edge: Sunken; center: Yes; help: No; resizable: Yes; status: No;); }else{ val= Due to browser restriction we can not take the comment. } } document.forms[0].txtComment.value=val; } I have a Button which calls a submit function which in turn results in an OK-Cancel popup. As soon as the user clicks on Ok, the modal dialog shows up where the user has to type in some comments and click on save. This in turn initiates a simple OK popup. I need to attach to this modal dialog and perform the required actions as well as handle all the popups on the way... Thanks a lot.. -Betsy Joy. On Apr 26, 3:21 pm, Angrez Singh ang...@gmail.com wrote: Hi, Can you please separate out that modal code and send us a sample HTML? I'll look into it and try to get some solution. I know handling pop ups is bit tricky and most of the times people face this problem. I'll highly appreciate if you can separate out some code and send that to the list. Thanks, Angrez On Mon, Apr 26, 2010 at 12:12 PM, Betsy joybe...@gmail.com wrote: Hi all, Would like to have some insight on handling modal dialog boxes with firewatir... Though the below link is old:- http://wiki.openqa.org/display/WTR/FireWatir+Release+Notes It saysModal Dialog is not supported on Firefox, so it is not supported by FireWatir as well. Need to check if there are any alternatives methods available to support modal dialog on Firefox browser. But to my not so pleasant surprise the modal dialog box on my application works perfectly well on mozilla too... What to do??? -Betsy Joy -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed tohttp://groups.google.com/group/watir-general To post: watir-general@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com
[wtr-general] Re: Gem:Load Error
Hi Zeljko, The script wasn't running because of a proxy issue. I tried installing gemcutter behind proxy first using the below command gem install gemcutter -v 0.2.1 -p http://myproxyname:portno. I then ran the script. It worked fine :) Regards Chandrika On Apr 23, 3:25 pm, Chandu80 chandu.she...@gmail.com wrote: Hi Zeljko, ruby -v returns ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] gem -v returns 1.3.6 Thanks Chandrika On Apr 23, 2:30 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Apr 23, 2010 at 11:24 AM, Chandu80 chandu.she...@gmail.com wrote: `report_activate_error': Could not find RubyGem gemcutter (= 0.2.1) (Gem::LoadError) Please let us know what this returns: ruby -v gem -v Also let me know where do I get the RubyGem gemcutter from. http://rubygems.org/gems/gemcutter Željko -- watir.com - community manager pledgie.com/campaigns/2982 - donate to Watir watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed tohttp://groups.google.com/group/watir-general To post: watir-general@googlegroups.com -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed tohttp://groups.google.com/group/watir-general To post: watir-general@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com
[wtr-general] please remove me from the email list
Hi-- I keep getting emails from the watir general group, but would like to be removed from the group email list and the group. I have two emails: r.bi...@gmail.com rbi...@dfg.ca.gov Thank You! Randy Biagi -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com
[wtr-general] How to check if toggle link is open or closed
I have a javascript link that toggles a section of additional options open and closed. I can click on it to open close: $ie.link(:text, /More Choices/).click I can find it: irb(main):050:0* puts $ie.links type: id: name: value: disabled: false href: javascript:toggleRows('fields'); inner text: Hide/Show More Choices -- and -- irb(main):050:0* puts $ie.text Hide/Show More Choices But I can't figure out how to do a check on whether it's open or closed. From the user's perspective the text changes between Hide and Show accordingly but don't know where the code indicates which is engaged. I've searched around quite a bit but haven't found anything to help. Suggestions? Here is what I think is the relevant code. Let me know if that's not sufficient. Also, the website is a subscription site but I can give a temporary login if someone emails me for it. input type=hidden NAME=show_fields VALUE= tr td colspan=3 style=padding: 0; table cellspacing=0 summary=Extended Search Form class=fullWidth tr td colspan=3 class=spacer script type=text/javascript !-- if(document.getElementById) { // Write Show/Hide switch document.write('h3 '); // Force formatting of element to display try { if(document.styleSheets) { // Only display switch if browser can handle document.write('a class=bold toggle href=JavaScript:toggleRows(\'fields\'); tabindex=2span id=fieldsOffHide\/spanspan style=display: none;\/\/ spanspan id=fieldsOnShow\/span More Choices\/a'); } else { throw(e); } } catch (e) { document.write('More Choices'); } document.write('\/h3'); toggleRows('fields'); // Turns section display off } //-- /script noscript !-- Else section displayed -- h3More Choices/h3 /noscript /td /tr -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com
[wtr-general] Re: How to check if toggle link is open or closed
Hi Kim, Using the example below: http://www.tutorio.com/tutorial/javascript-expanding-menu I toyed around with Example 1. One thing you might try is determine if a link that resides in the hidden section is visible or not. This way you can know if the expanded menu is visible. browser = Watir::IE.attach(:title, /Menu/) puts browser.link(:text, /Featured./).visible? # true if the menu is expanded, false if hidden -George On Apr 26, 11:33 am, KimBrown kimbro...@yahoo.com wrote: I have a javascript link that toggles a section of additional options open and closed. I can click on it to open close: $ie.link(:text, /More Choices/).click I can find it: irb(main):050:0* puts $ie.links type: id: name: value: disabled: false href: javascript:toggleRows('fields'); inner text: Hide/Show More Choices -- and -- irb(main):050:0* puts $ie.text Hide/Show More Choices But I can't figure out how to do a check on whether it's open or closed. From the user's perspective the text changes between Hide and Show accordingly but don't know where the code indicates which is engaged. I've searched around quite a bit but haven't found anything to help. Suggestions? Here is what I think is the relevant code. Let me know if that's not sufficient. Also, the website is a subscription site but I can give a temporary login if someone emails me for it. input type=hidden NAME=show_fields VALUE= tr td colspan=3 style=padding: 0; table cellspacing=0 summary=Extended Search Form class=fullWidth tr td colspan=3 class=spacer script type=text/javascript !-- if(document.getElementById) { // Write Show/Hide switch document.write('h3 '); // Force formatting of element to display try { if(document.styleSheets) { // Only display switch if browser can handle document.write('a class=bold toggle href=JavaScript:toggleRows(\'fields\'); tabindex=2span id=fieldsOffHide\/spanspan style=display: none;\/\/ spanspan id=fieldsOnShow\/span More Choices\/a'); } else { throw(e); } } catch (e) { document.write('More Choices'); } document.write('\/h3'); toggleRows('fields'); // Turns section display off } //-- /script noscript !-- Else section displayed -- h3More Choices/h3 /noscript /td /tr -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed tohttp://groups.google.com/group/watir-general To post: watir-general@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com
[wtr-general] Re: How to check if toggle link is open or closed
George, you are my new best friend. I can now check whether or not a field in the More Choices is visible or not. Thanks! Kim On Apr 26, 2:46 pm, George george.sand...@gmail.com wrote: browser = Watir::IE.attach(:title, /Menu/) puts browser.link(:text, /Featured./).visible? # true if the menu is expanded, false if hidden -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com