Re: [wtr-general] JSSH for Mac Firefox 3.6
On Mon, Mar 8, 2010 at 3:08 AM, Brian Rosenthal brosent...@facebook.com wrote: Hey, can someone upload a JSSH version for Mac FF 3.6, please? :) I guess nobody compiled it so far. (we should document instructions on how to compile this so that we can spread out the load) There is some documentation: http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-AdvancedUsers:CompilingJSSH Ž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 -- 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
Re: [wtr-general] How to subscribe the following E-googlegroup?
On Sun, Mar 7, 2010 at 4:56 AM, Yuping Zhong littlezhong...@gmail.com wrote: Anyone knows how to subscribe the following googlegroup??? wtr-developm...@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development webdri...@googlegroups.com http://groups.google.com/group/webdriver/subscribe selenium-develop...@googlegroups.com http://groups.google.com/group/selenium-developers/subscribe Ž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 -- 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
Re: [wtr-general] How to subscribe the following E-googlegroup?
Cool,thanks! On Mon, Mar 8, 2010 at 6:39 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Sun, Mar 7, 2010 at 4:56 AM, Yuping Zhong littlezhong...@gmail.com wrote: Anyone knows how to subscribe the following googlegroup??? wtr-developm...@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development webdri...@googlegroups.com http://groups.google.com/group/webdriver/subscribe selenium-develop...@googlegroups.com http://groups.google.com/group/selenium-developers/subscribe Ž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 -- 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.comwatir-general%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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
Re: [wtr-general] JSSH for Mac Firefox 3.6
I think those instructions are to build Firefox with JSSH, not instructions for how to build the extension... Who usually uploads it? Maybe we could send them an email? Best, Brian On Mar 8, 2010, at 1:07 AM, Željko Filipin wrote: On Mon, Mar 8, 2010 at 3:08 AM, Brian Rosenthal brosent...@facebook.commailto:brosent...@facebook.com wrote: Hey, can someone upload a JSSH version for Mac FF 3.6, please? :) I guess nobody compiled it so far. (we should document instructions on how to compile this so that we can spread out the load) There is some documentation: http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-AdvancedUsers:CompilingJSSH Željko -- watir.comhttp://watir.com/ - community manager pledgie.com/campaigns/2982http://pledgie.com/campaigns/2982 - donate to Watir watirpodcast.comhttp://watirpodcast.com/ - host testingpodcast.comhttp://testingpodcast.com/ - audio podcasts on software testing. all of them -- 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.commailto: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.commailto:watir-general+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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
Re: [wtr-general] JSSH for Mac Firefox 3.6
On Mon, Mar 8, 2010 at 4:48 PM, Brian Rosenthal brosent...@facebook.com wrote: Who usually uploads it? Maybe we could send them an email? I think Joseph Liu provided FF 3.5 jssh for Mac, but I am not sure: http://groups.google.com/group/watir-general/msg/e67a2e5ed34d7f06 Željko -- 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
Re: [wtr-general] JSSH for Mac Firefox 3.6
yep, that works with Mac but firefox 3.5, but what about firefox 3.6 :S Thanks On Mon, Mar 8, 2010 at 9:57 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Mar 8, 2010 at 4:48 PM, Brian Rosenthal brosent...@facebook.com wrote: Who usually uploads it? Maybe we could send them an email? I think Joseph Liu provided FF 3.5 jssh for Mac, but I am not sure: http://groups.google.com/group/watir-general/msg/e67a2e5ed34d7f06 Željko -- 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.comwatir-general%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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
Re: [wtr-general] JSSH for Mac Firefox 3.6
On Mon, Mar 8, 2010 at 5:04 PM, Moises Siles moises.si...@gmail.com wrote: yep, that works with Mac but firefox 3.5, but what about firefox 3.6 :S Brian asked who provided jssh for 3.5 and I said I think it is Joseph. You can ask Joseph how to compile jssh. Željko -- 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] Question about javascript in watir
Hi all I'm exporting my selenium scripts to watir, but I have some functions in my user-extensions.js file, here is one of them if (selenium.browserbot.getCurrentWindow().document.getElementById(id).style.display=='none') { storedVars[value] = true; } else { storedVars[value] = false; } how can I run that kind of validation in watir, or how can I execute js code in watir? Thanks -- 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
Re: [wtr-general] JSSH for Mac Firefox 3.6
oh sorry Željko, my bad :P On Mon, Mar 8, 2010 at 10:08 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Mar 8, 2010 at 5:04 PM, Moises Siles moises.si...@gmail.com wrote: yep, that works with Mac but firefox 3.5, but what about firefox 3.6 :S Brian asked who provided jssh for 3.5 and I said I think it is Joseph. You can ask Joseph how to compile jssh. Željko -- 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.comwatir-general%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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
Re: [wtr-general] Re: Another VERIFY question
thanks Tiffany, also I have a similar question, how can I verify a css, I mean I need to check if the element have the following property display: block or display:none is there a way to check that? thanks in advance On Thu, Feb 11, 2010 at 11:51 AM, Matt thurman_m...@yahoo.com wrote: Thanks Tiffany! On Feb 11, 11:28 am, Tiffany Fodor tcfo...@comcast.net wrote: Hi Matt! You're on the right track, but verifying text is a bit different. Give this a try: verify(($browser.text.include?(Find Offer)), message=Field not active.) Hope this helps! -Tiffany On Feb 11, 7:46 am, Matt thurman_m...@yahoo.com wrote: Hi, I have another question about the verify method. Can it be used to verify text on a page? I tried using it like this: verify(($browser.text(Find Offer).exists?), message=Field not active.) Received the following error: ArgumentError: wrong number of arguments (1 for 0) Thanks! Matt -- 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.comwatir-general%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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] Access to dojopopupmenu2
Hi, I will start by saying I am very new to this concept of Watir and Ruby. I am attempting to write a beginning test script to do the following: 1. Login to the web application 2. Navigate to the new project page 3. Enter the required data 4. Right click and select Save It is the the 4th step that is kicking me around. The issue I believe is the application is using a dojo menu within a table within a frame. I have included the script thus far and the components to the item. I did try the element_by_xpath solution I found here but received the following in my irb session ).form(:id, 'ipbObject').text_field(:name, 'value(name)').set('webmet test') = ement_by_xpath(//d...@dojomenuitem2label='Save']).click NoMethodError: undefined method `click' for nil:NilClass from (irb):23 from C:/Ruby19/bin/irb:12:in `main' The maddening part is I can see what I want to access in the IE Developer toolbar..I just do not know how. I am sure it is rather simple but I am not seeing the solution. Also thanks for maintaining a group on this topic. Thanks in Advance. Barb Here is the script thus far it all works. require 'watir' browser = Watir::Browser.start http://##.##.#.##/foo/; browser.text_field(:name, j_username).set(name1) browser.text_field(:name, j_password).set(Pwd!) browser.button(:value,Sign-In).click Watir::Waiter::wait_until {browser.div(:text, Produce).exists? } #click on the Produce blue bar browser.div(:text, Produce).click #Click on New to expose the choices browser.div(:text,New).click #Click on Project to get the new project browser.link(:text,Project).click #Enter the required data browser.frame(:name, foobIFrame).form(:id, 'ipbObject').text_field(:name, 'value(name)').set('webmet test') #right click and select save browser.element_by_xpath(//d...@dojomenuitem2label='Save']).click The last line above is what generate the error posted above. Here is the Element source from within the IE Developer tool !DOCTYPE HTML PUBLIC -//W3C//DTD HTML Strict//ENMETA http- equiv=Content-Type content=text/html; charset=windows-1252 HTMLHEADFORM id=ipbObject action=/ipb/IpbItemAction.do method=post BODY class=turbo-ie style=CURSOR: default __doClobber__ TABLE class=dojoPopupMenu2 style=Z-INDEX: 1001; LEFT: 280px; TOP: 145px cellSpacing=0 cellPadding=0 border=0 TBODY dojoAttachPoint=containerNode TR class=dojoMenuItem2 __doClobber__ dojoAttachEvent=onMouseOver: onHover; onMouseOut: onUnhover; onClick: _onClick; onKey:onKey; unselectable=on dojoinsertionindex=1 TD class=dojoMenuItem2Label Save /TD /TR/TBODY/TABLE/BODY/FORM/HEAD/HTML -- 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] Verify a hide element
Hi guys,I'm new with watir, how can I verify an element with the display property in none. I need to check if an element is hide or not in the page. I think this is too easy, but I couldn't find any solution for this, I'm trying to verify the css using xpath but doesn't work for me :S thanks in advance -- 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
Re: [wtr-general] Verify a hide element
browser.whatever(:etc, etc).visible? That should cascade and work. Otherwise there are other ways. If that doesn't work paste a bit of html code and be more specific. - Charley Baker Lead Developer, Watir, http://watir.com QA Architect, Gap Inc Direct On Mon, Mar 8, 2010 at 3:47 PM, Moises Siles moises.si...@gmail.com wrote: Hi guys,I'm new with watir, how can I verify an element with the display property in none. I need to check if an element is hide or not in the page. I think this is too easy, but I couldn't find any solution for this, I'm trying to verify the css using xpath but doesn't work for me :S thanks in advance -- 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.comwatir-general%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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
Re: [wtr-general] Access to dojopopupmenu2
For the HTML you provide, we can't do anything. Do you want a right click? Why? element_by_xpath is not a good method to locate an element. Wesley. For life, the easier, the better. On Tue, Mar 9, 2010 at 4:56 AM, barb bfwork2h...@yahoo.com wrote: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML Strict//ENMETA http- equiv=Content-Type content=text/html; charset=windows-1252 HTMLHEADFORM id=ipbObject action=/ipb/IpbItemAction.do method=post BODY class=turbo-ie style=CURSOR: default __doClobber__ TABLE class=dojoPopupMenu2 style=Z-INDEX: 1001; LEFT: 280px; TOP: 145px cellSpacing=0 cellPadding=0 border=0 TBODY dojoAttachPoint=containerNode TR class=dojoMenuItem2 __doClobber__ dojoAttachEvent=onMouseOver: onHover; onMouseOut: onUnhover; onClick: _onClick; onKey:onKey; unselectable=on dojoinsertionindex=1 TD class=dojoMenuItem2Label Save /TD /TR/TBODY/TABLE/BODY/FORM/HEAD/HTML -- 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] Window close and Javascript popup problem on Watir 1.6.5/Ruby 1.8.6-26
Hi, I've noticed the following behavioural differences between Watir 1.6.2 and 1.6.5. Has anyone experienced the following? Under Ruby 1.6.2 if I do the following from irb: 1. Attach to the window; ie=Watir::IE.attach(:title,/Blah blah/) 2. Change properties of the application in the window attached to thus dirtying the window. 3. Closing the window; ie.close and because of this forcing a pop-up to appear that requests the user to save changed state because they are attempting to navigate away from the page. 4. When I do this, the Javascript popup appears but ie.close COMPLETES (irb does not hang) so that I can subsequently programmatically OK/Cancel the popup. If I do steps 1-3 under watir 1.6.5 then the Javascript popup appears but ie.close BLOCKS (irb hangs, control-C or OK on the Javascript popup unblocks it is required to cause ie.close to complete). Something appears to behave differently (to ie.close???) between watir 1.6.2 and watir 1.6.5. Since these experiments were carried out under IE 8 and Windows 7 in both cases I believe that I can rule these factors out. Is this a possible issue with Watir 1.6.5? Regards, Derek Wong. -- 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
Re: [wtr-general] Window close and Javascript popup problem on Watir 1.6.5/Ruby 1.8.6-26
Watir::IE#close does wait until the window ceases to exist before returning. Not sure when that was added, but I guess it was between 1.6.2 and 1.6.5. (see Watir::IE#close in http://github.com/bret/watir/blob/master/watir/lib/watir/ie-class.rb ) You could get around this by calling browser.ie.quit where the browser is a Watir::IE object; #ie is an accessor returning @ie which is a win32ole object; and #quit being a win32ole method which you'd be calling directly rather than through watir's #close method. -Ethan On Mon, Mar 8, 2010 at 23:11, DerekW derek.wong...@gmail.com wrote: Hi, I've noticed the following behavioural differences between Watir 1.6.2 and 1.6.5. Has anyone experienced the following? Under Ruby 1.6.2 if I do the following from irb: 1. Attach to the window; ie=Watir::IE.attach(:title,/Blah blah/) 2. Change properties of the application in the window attached to thus dirtying the window. 3. Closing the window; ie.close and because of this forcing a pop-up to appear that requests the user to save changed state because they are attempting to navigate away from the page. 4. When I do this, the Javascript popup appears but ie.close COMPLETES (irb does not hang) so that I can subsequently programmatically OK/Cancel the popup. If I do steps 1-3 under watir 1.6.5 then the Javascript popup appears but ie.close BLOCKS (irb hangs, control-C or OK on the Javascript popup unblocks it is required to cause ie.close to complete). Something appears to behave differently (to ie.close???) between watir 1.6.2 and watir 1.6.5. Since these experiments were carried out under IE 8 and Windows 7 in both cases I believe that I can rule these factors out. Is this a possible issue with Watir 1.6.5? Regards, Derek Wong. -- -- 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
Re: [wtr-general] Verify a hide element
for example this is one of the element I have to check label id=form:j_id94 class=iceOutLbl tituloEscalas/label I'm using the following code to verify the element until ie.label(:id, form:j_id94).visible? do sleep 1 tries += 1 puts Test #{tries} end but I'm getting the following error /Library/Ruby/Gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb:315:in `close': undefined method `' for nil:NilClass (NoMethodError) from avizpate_search.rb:101 not sure what could be the problem on this. On Mon, Mar 8, 2010 at 5:53 PM, Charley Baker charley.ba...@gmail.comwrote: browser.whatever(:etc, etc).visible? That should cascade and work. Otherwise there are other ways. If that doesn't work paste a bit of html code and be more specific. - Charley Baker Lead Developer, Watir, http://watir.com QA Architect, Gap Inc Direct On Mon, Mar 8, 2010 at 3:47 PM, Moises Siles moises.si...@gmail.comwrote: Hi guys,I'm new with watir, how can I verify an element with the display property in none. I need to check if an element is hide or not in the page. I think this is too easy, but I couldn't find any solution for this, I'm trying to verify the css using xpath but doesn't work for me :S thanks in advance -- 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.comwatir-general%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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.comwatir-general%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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