[wtr-general] Re: Window Attachment with regular expression in FireWatir

2009-09-11 Thread Rajat Singhal
yes it works
but i have to attach with current window without specifying any title
string, any solution for that.

On Fri, Sep 11, 2009 at 11:24 AM, Angrez Singh ang...@gmail.com wrote:

 Does giving full title works with firewatir?


 On Fri, Sep 11, 2009 at 10:37 AM, Rajat Singhal coolraja...@gmail.comwrote:


 Hi all

 Can anyone help me how to attach window in firewatir using regular
 expression(Current window attachment)
 In Watir i m using:
 ie = Watir::IE.attach(:title,//)   which works perfectly

 .attach(:title,//) doesn't work with fire watir.
 Kindly let me know how it is possible with watir.

 Thanks in advance.




 



-- 
Regards

Rajat Singhal
+919718729742

--~--~-~--~~~---~--~~
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: Window Attachment with regular expression in FireWatir

2009-09-11 Thread Angrez Singh
right now Firewatir only supports adding by URL and title. I look into why
regex is not working during attach.

- Angrez

On Fri, Sep 11, 2009 at 11:31 AM, Rajat Singhal coolraja...@gmail.comwrote:

 yes it works
 but i have to attach with current window without specifying any title
 string, any solution for that.

 On Fri, Sep 11, 2009 at 11:24 AM, Angrez Singh ang...@gmail.com wrote:

 Does giving full title works with firewatir?


 On Fri, Sep 11, 2009 at 10:37 AM, Rajat Singhal coolraja...@gmail.comwrote:


 Hi all

 Can anyone help me how to attach window in firewatir using regular
 expression(Current window attachment)
 In Watir i m using:
 ie = Watir::IE.attach(:title,//)   which works perfectly

 .attach(:title,//) doesn't work with fire watir.
 Kindly let me know how it is possible with watir.

 Thanks in advance.








 --
 Regards

 Rajat Singhal
 +919718729742


 


--~--~-~--~~~---~--~~
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: Window Attachment with regular expression in FireWatir

2009-09-11 Thread Rajat Singhal
Hi Angrez

I got a solution for this, i made a change in firefox.rb file in firewatir
gem
in find_window method in firefox.rb, i changed
  jssh_command  var regExp = new RegExp(#{what}.inspect); to
  jssh_command  var regExp = new RegExp(#{what});
and it works for .attach(:title,//)

Thanks

On Fri, Sep 11, 2009 at 12:18 PM, Angrez Singh ang...@gmail.com wrote:

 right now Firewatir only supports adding by URL and title. I look into why
 regex is not working during attach.

 - Angrez

 On Fri, Sep 11, 2009 at 11:31 AM, Rajat Singhal coolraja...@gmail.comwrote:

 yes it works
 but i have to attach with current window without specifying any title
 string, any solution for that.

 On Fri, Sep 11, 2009 at 11:24 AM, Angrez Singh ang...@gmail.com wrote:

 Does giving full title works with firewatir?


 On Fri, Sep 11, 2009 at 10:37 AM, Rajat Singhal 
 coolraja...@gmail.comwrote:


 Hi all

 Can anyone help me how to attach window in firewatir using regular
 expression(Current window attachment)
 In Watir i m using:
 ie = Watir::IE.attach(:title,//)   which works perfectly

 .attach(:title,//) doesn't work with fire watir.
 Kindly let me know how it is possible with watir.

 Thanks in advance.








 --
 Regards

 Rajat Singhal
 +919718729742





 



-- 
Regards

Rajat Singhal
+919718729742

--~--~-~--~~~---~--~~
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: Window Attachment with regular expression in FireWatir

2009-09-10 Thread Angrez Singh
Does giving full title works with firewatir?

On Fri, Sep 11, 2009 at 10:37 AM, Rajat Singhal coolraja...@gmail.comwrote:


 Hi all

 Can anyone help me how to attach window in firewatir using regular
 expression(Current window attachment)
 In Watir i m using:
 ie = Watir::IE.attach(:title,//)   which works perfectly

 .attach(:title,//) doesn't work with fire watir.
 Kindly let me know how it is possible with watir.

 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
-~--~~~~--~~--~--~---