[wtr-general] How to pass variable to attach method
Hi Folks, I am going to pass variable to attach method to use general code to support multiple scripts. ie. @ie = Watir::IE.attach(:title,/.*MatchString.*/) as we know, attach method can use :title or :url to attach. also, the string to match I would like to use variable to support different requirement. in this case, if I want to pass :url as how, and another string variable as what in attach method. I used irb to try this way, but no luck. Anybody can help me? Your assistance is much appreciated. xulivan -- 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 To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] using Watir to open tab in current open browser
I have been trying to find out how to allow Watir to open a tab in a current browser (which is already opened) with it opening a new browser window... I am using Firefox as my browser... Any information about this would be most helpful... -- 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 To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: How to pass variable to attach method
Never mind. I passed the variable to attach successfully. str=:title or str=:url it works. On Sep 5, 9:55 pm, xulivan xuli...@yahoo.com wrote: Hi Folks, I am going to pass variable to attach method to use general code to support multiple scripts. ie. @ie = Watir::IE.attach(:title,/.*MatchString.*/) as we know, attach method can use :title or :url to attach. also, the string to match I would like to use variable to support different requirement. in this case, if I want to pass :url as how, and another string variable as what in attach method. I used irb to try this way, but no luck. Anybody can help me? Your assistance is much appreciated. xulivan -- 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 To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] How to pass variable to attach method
On Mon, Sep 6, 2010 at 6:55 AM, xulivan xuli...@yahoo.com wrote: @ie = Watir::IE.attach(:title,/.*MatchString.*/) If I understood what you want, this should work (not tested): how = :title what = /.*MatchString.*/ @ie = Watir::IE.attach(how, what) or how = :url what = http://stackoverflow.com/; @ie = Watir::IE.attach(how, what) Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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 To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] using Watir to open tab in current open browser
On Mon, Sep 6, 2010 at 1:46 AM, mattwatir green...@gmail.com wrote: I have been trying to find out how to allow Watir to open a tab in a current browser (which is already opened) with it opening a new browser window... Why do you care if a page is opened in a tab or in a window? If the new page is opened after clicking a link, you could set firefox to open links in a new tab instead of new window (preferences tabs open new windows in a new tab instead). Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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 To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir dynamic value
On Sun, Sep 5, 2010 at 7:56 PM, nix amritd...@gmail.com wrote: Iam unable to click on a dynamically generated value. How would you know which link to click if you were doing it manually? In other words, is any portion of the link not changing? Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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 To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Minor changes to watir.com
I have just noticed this on watir.com: They support Internet Explorer on Windows, Firefox on Windows, Mac and Linux, Safari on Mac, Chrome on Windows and Flash testing with Firefox. I have changed it to: They support Internet Explorer on Windows, Firefox and Chrome on Windows, Mac and Linux and Safari on Mac. (Chrome is now supported with watir-webdriver on all platforms, and I could not find any mention of flashwatir on watir.com, so I have removed it from the home page.) Please let me know if I have messed it up. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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 To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir
http://stackoverflow.com/questions/3643179/failed-watir-installation-server-2003 -- 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 To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Testing flex application
On Sat, Sep 4, 2010 at 12:30 PM, chunchu kartheek chunchukarth...@gmail.com wrote: Can anyone help me how to test flex apps using Watir Introduction (the first page of Watir Tutorial) says: Watir will not work with ActiveX plugin components, Java Applets, Macromedia Flash, or other plugin applications. http://wiki.openqa.org/display/WTR/Introduction I have found that using funfx is needed for flex apps. Please post your question to funfx fourm/list then. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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 To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] HTML element order different in IE8 from IE7
On Sat, Sep 4, 2010 at 4:36 PM, Lisa Crispin lisa.cris...@gmail.com wrote: I tried to create a Jira account to enter this bug and got a npe, rats. Lisa, thanks for letting us know. I will contact Patrick Lightbody ( http://twitter.com/plightbo), he is in charge of Jira. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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 To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: watir dynamic value
strange it looks like the OP deleted their message, we now have a thread that basically starts in the middle On Sep 6, 1:37 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Sun, Sep 5, 2010 at 7:56 PM, nix amritd...@gmail.com wrote: Iam unable to click on a dynamically generated value. How would you know which link to click if you were doing it manually? In other words, is any portion of the link not changing? Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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 To unsubscribe: watir-general+unsubscr...@googlegroups.com