[wtr-general] Re: How to pass variable to attach method

2010-09-05 Thread xulivan
Never mind. I passed the variable to attach successfully. str=:title or str=:url it works. On Sep 5, 9:55 pm, xulivan 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.*/) > > a

[wtr-general] using Watir to open tab in current open browser

2010-09-05 Thread mattwatir
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.

[wtr-general] How to pass variable to attach method

2010-09-05 Thread xulivan
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 requ

Re: [wtr-general] watir dynamic value

2010-09-05 Thread goutham mandadi
Hi nix, Try this ie.link(:xpath,"//a...@href='http://xyz/foo/abcd/detail?target=details ']/").click Hope this works not sure about it Regards, Goutham On Sun, Sep 5, 2010 at 11:26 PM, nix wrote: > Iam unable to click on a dynamically generated value. Below is the > source code for the same.I

[wtr-general] watir dynamic value

2010-09-05 Thread nix
Iam unable to click on a dynamically generated value. Below is the source code for the same.I've read all the comments but not finding the solution of how to click on a dynamically generated value. http://xyz/foo/abcd/detail?target=details"; jQuery123="8">abcd Appreciate if anyone can suggest me