Re: [wtr-general] Firewatir attach method doesn't work properly

2010-09-02 Thread Amit
Hi Ethan,

I used VAPIR 1.7.1 for attaching two browsers. Now i'm able to work on two
instance on browser simultaneously.
Thank you very much..

Btw .. did you fixed that problem recently?

Thank You

On Mon, Aug 16, 2010 at 11:19 AM, Ethan notet...@gmail.com wrote:

 Vapir is currently broken on 3.0.*. A fix is coming, but I have a number of
 other higher-priority issues to fix first. You can upgrade to 3.5 or 3.6, or
 wait until I can get 3.0 support working.


 On Thu, Aug 12, 2010 at 11:50, Amit amit.e...@gmail.com wrote:

 its 3.06


 On Thu, Aug 12, 2010 at 8:56 PM, Ethan notet...@gmail.com wrote:

 What version of firefox are you using?


 On Thu, Aug 12, 2010 at 06:17, Amit amit.e...@gmail.com wrote:

 Hi Ethan,

 I tried below code:

 require 'watir-vapir'

 ff = Vapir::Firefox.new
 ff.start(www.google.com)



 After executing above code, A new instance of firefox opened and got
 following error. Could you please tell me why i'm getting this error?

 C:/Ruby/lib/ruby/gems/1.8/gems/vapir-firefox-1.7.0/lib/vapir-firefox/jssh_socket.rb:118:in
 `initialize': Something went wrong loading Prototype - message 
 SyntaxError:
 unterminated comment\n SyntaxError: return not in function\n TypeError:
 this.getUTCMonth is not a function\n SyntaxError: syntax error\n
 SyntaxError: return not in function\n SyntaxError: syntax error\n
 SyntaxError: syntax error\n \n SyntaxError: syntax error\n \n
 SyntaxError: syntax error\n \n SyntaxError: syntax error\n \n function
 () {\nif (!this.currentlyExecuting) {\ntry {\n
 this.currentlyExecuting = true;\nthis.execute();\n}
 catch (e) {\n} finally {\nthis.currentlyExecuting =
 false;\n}\n}\n}\n SyntaxError: syntax error\n SyntaxError:
 syntax error\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: syntax error\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n 
 \n
 \n \n \n \n \n \n \n \n \n \n \n SyntaxError: unterminated
 comment\n ReferenceError: document is not defined\n TypeError:
 this.replace is not a function\n SyntaxError: return not in function\n
 SyntaxError: invalid label\n SyntaxError: missing ; before statement\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n 
 \n
 \n \n \n \n \n \n \n \n SyntaxError: unterminated comment\n
 SyntaxError: return not in function\n SyntaxError: syntax error\n \n \n
 \n \n \n ReferenceError: reference to undefined XML name *::*\n \n \n
 \n \n \n \n \n \n \n \n \n SyntaxError: return not in function\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid 
 label\n
 \n SyntaxError: invalid label\n SyntaxError: invalid label\n 
 SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid 
 label\n
 \n \n \n \n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: syntax error\n SyntaxError:
 syntax error\n SyntaxError: return not in function\n SyntaxError: syntax
 error\n SyntaxError: return not in function\n SyntaxError: syntax 
 error\n
 SyntaxError: syntax error\n \n function (object) {\nif (object 
 Object.isFunction(object.toTemplateReplacements)) {\nobject =
 object.toTemplateReplacements();\n}\nreturn
 this.template.gsub(this.pattern, function (match) {if (object == null)
 {return match[1] + \\;}var before = match[1] || \\;if (before ==
 \\) {return match[2];}var ctx = object, expr = match[3];var pattern =
 /^([^.[]+|\\[((?:.*?[^])?)\\])(\\.|\\[|$)/;match = 
 pattern.exec(expr);if
 (match == null) {return before;}while (match != null) {var comp =
 match[1].startsWith(\[\) ? match[2].gsub(\]\, \]\) :
 match[1];ctx = ctx[comp];if (null == ctx || \\ == match[3]) {break;}expr 
 =
 expr.substring(\[\ == match[3] ? match[1].length : match[0].length);match
 = pattern.exec(expr);}return before + String.interpret(ctx);});\n}\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n 
 \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n SyntaxError: return not
 in function\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid 
 label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid 
 label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: syntax error\n SyntaxError: syntax error\n
 SyntaxError: return not in function\n SyntaxError: return not in
 function\n ReferenceError: iterable is not defined\n \n SyntaxError:
 return not in function\n SyntaxError: syntax error\n SyntaxError: 

Re: [wtr-general] Firewatir attach method doesn't work properly

2010-09-02 Thread Ethan
fixing vapir-firefox for 3.0.* is buried on my backlog, I'm afraid, and it
will be some time before I am able to get to that.

On Thu, Sep 2, 2010 at 14:27, Amit amit.e...@gmail.com wrote:

 Hi Ethan,

 I used VAPIR 1.7.1 for attaching two browsers. Now i'm able to work on two
 instance on browser simultaneously.
 Thank you very much..

 Btw .. did you fixed that problem recently?

 Thank You


 On Mon, Aug 16, 2010 at 11:19 AM, Ethan notet...@gmail.com wrote:

 Vapir is currently broken on 3.0.*. A fix is coming, but I have a number
 of other higher-priority issues to fix first. You can upgrade to 3.5 or 3.6,
 or wait until I can get 3.0 support working.


 On Thu, Aug 12, 2010 at 11:50, Amit amit.e...@gmail.com wrote:

 its 3.06


 On Thu, Aug 12, 2010 at 8:56 PM, Ethan notet...@gmail.com wrote:

 What version of firefox are you using?


 On Thu, Aug 12, 2010 at 06:17, Amit amit.e...@gmail.com wrote:

 Hi Ethan,

 I tried below code:

 require 'watir-vapir'

 ff = Vapir::Firefox.new
 ff.start(www.google.com)



 After executing above code, A new instance of firefox opened and got
 following error. Could you please tell me why i'm getting this error?

 C:/Ruby/lib/ruby/gems/1.8/gems/vapir-firefox-1.7.0/lib/vapir-firefox/jssh_socket.rb:118:in
 `initialize': Something went wrong loading Prototype - message 
 SyntaxError:
 unterminated comment\n SyntaxError: return not in function\n TypeError:
 this.getUTCMonth is not a function\n SyntaxError: syntax error\n
 SyntaxError: return not in function\n SyntaxError: syntax error\n
 SyntaxError: syntax error\n \n SyntaxError: syntax error\n \n
 SyntaxError: syntax error\n \n SyntaxError: syntax error\n \n function
 () {\nif (!this.currentlyExecuting) {\ntry {\n
 this.currentlyExecuting = true;\nthis.execute();\n}
 catch (e) {\n} finally {\nthis.currentlyExecuting =
 false;\n}\n}\n}\n SyntaxError: syntax error\n SyntaxError:
 syntax error\n SyntaxError: invalid label\n SyntaxError: invalid 
 label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: syntax 
 error\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n 
 \n
 \n \n \n \n \n \n \n \n \n \n \n SyntaxError: unterminated
 comment\n ReferenceError: document is not defined\n TypeError:
 this.replace is not a function\n SyntaxError: return not in function\n
 SyntaxError: invalid label\n SyntaxError: missing ; before statement\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n 
 \n
 \n \n \n \n \n \n \n \n SyntaxError: unterminated comment\n
 SyntaxError: return not in function\n SyntaxError: syntax error\n \n 
 \n
 \n \n \n ReferenceError: reference to undefined XML name *::*\n \n 
 \n
 \n \n \n \n \n \n \n \n \n SyntaxError: return not in function\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid 
 label\n
 \n SyntaxError: invalid label\n SyntaxError: invalid label\n 
 SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid 
 label\n
 \n \n \n \n SyntaxError: invalid label\n SyntaxError: invalid 
 label\n
 SyntaxError: invalid label\n SyntaxError: syntax error\n SyntaxError:
 syntax error\n SyntaxError: return not in function\n SyntaxError: syntax
 error\n SyntaxError: return not in function\n SyntaxError: syntax 
 error\n
 SyntaxError: syntax error\n \n function (object) {\nif (object 
 Object.isFunction(object.toTemplateReplacements)) {\nobject =
 object.toTemplateReplacements();\n}\nreturn
 this.template.gsub(this.pattern, function (match) {if (object == null)
 {return match[1] + \\;}var before = match[1] || \\;if (before ==
 \\) {return match[2];}var ctx = object, expr = match[3];var pattern 
 =
 /^([^.[]+|\\[((?:.*?[^])?)\\])(\\.|\\[|$)/;match = 
 pattern.exec(expr);if
 (match == null) {return before;}while (match != null) {var comp =
 match[1].startsWith(\[\) ? match[2].gsub(\]\, \]\) :
 match[1];ctx = ctx[comp];if (null == ctx || \\ == match[3]) 
 {break;}expr =
 expr.substring(\[\ == match[3] ? match[1].length : 
 match[0].length);match
 = pattern.exec(expr);}return before + String.interpret(ctx);});\n}\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n 
 \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 
 \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n SyntaxError: return 
 not
 in function\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid 
 label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid 
 label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: syntax error\n SyntaxError: 

Re: [wtr-general] Firewatir attach method doesn't work properly

2010-08-15 Thread Ethan
Vapir is currently broken on 3.0.*. A fix is coming, but I have a number of
other higher-priority issues to fix first. You can upgrade to 3.5 or 3.6, or
wait until I can get 3.0 support working.

On Thu, Aug 12, 2010 at 11:50, Amit amit.e...@gmail.com wrote:

 its 3.06


 On Thu, Aug 12, 2010 at 8:56 PM, Ethan notet...@gmail.com wrote:

 What version of firefox are you using?


 On Thu, Aug 12, 2010 at 06:17, Amit amit.e...@gmail.com wrote:

 Hi Ethan,

 I tried below code:

 require 'watir-vapir'

 ff = Vapir::Firefox.new
 ff.start(www.google.com)



 After executing above code, A new instance of firefox opened and got
 following error. Could you please tell me why i'm getting this error?

 C:/Ruby/lib/ruby/gems/1.8/gems/vapir-firefox-1.7.0/lib/vapir-firefox/jssh_socket.rb:118:in
 `initialize': Something went wrong loading Prototype - message SyntaxError:
 unterminated comment\n SyntaxError: return not in function\n TypeError:
 this.getUTCMonth is not a function\n SyntaxError: syntax error\n
 SyntaxError: return not in function\n SyntaxError: syntax error\n
 SyntaxError: syntax error\n \n SyntaxError: syntax error\n \n
 SyntaxError: syntax error\n \n SyntaxError: syntax error\n \n function
 () {\nif (!this.currentlyExecuting) {\ntry {\n
 this.currentlyExecuting = true;\nthis.execute();\n}
 catch (e) {\n} finally {\nthis.currentlyExecuting =
 false;\n}\n}\n}\n SyntaxError: syntax error\n SyntaxError:
 syntax error\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: syntax error\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n SyntaxError: unterminated
 comment\n ReferenceError: document is not defined\n TypeError:
 this.replace is not a function\n SyntaxError: return not in function\n
 SyntaxError: invalid label\n SyntaxError: missing ; before statement\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n SyntaxError: unterminated comment\n
 SyntaxError: return not in function\n SyntaxError: syntax error\n \n \n
 \n \n \n ReferenceError: reference to undefined XML name *::*\n \n \n
 \n \n \n \n \n \n \n \n \n SyntaxError: return not in function\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 \n SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 \n \n \n \n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: syntax error\n SyntaxError:
 syntax error\n SyntaxError: return not in function\n SyntaxError: syntax
 error\n SyntaxError: return not in function\n SyntaxError: syntax error\n
 SyntaxError: syntax error\n \n function (object) {\nif (object 
 Object.isFunction(object.toTemplateReplacements)) {\nobject =
 object.toTemplateReplacements();\n}\nreturn
 this.template.gsub(this.pattern, function (match) {if (object == null)
 {return match[1] + \\;}var before = match[1] || \\;if (before ==
 \\) {return match[2];}var ctx = object, expr = match[3];var pattern =
 /^([^.[]+|\\[((?:.*?[^])?)\\])(\\.|\\[|$)/;match = pattern.exec(expr);if
 (match == null) {return before;}while (match != null) {var comp =
 match[1].startsWith(\[\) ? match[2].gsub(\]\, \]\) :
 match[1];ctx = ctx[comp];if (null == ctx || \\ == match[3]) {break;}expr =
 expr.substring(\[\ == match[3] ? match[1].length : match[0].length);match
 = pattern.exec(expr);}return before + String.interpret(ctx);});\n}\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n SyntaxError: return not
 in function\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: syntax error\n SyntaxError: syntax error\n
 SyntaxError: return not in function\n SyntaxError: return not in
 function\n ReferenceError: iterable is not defined\n \n SyntaxError:
 return not in function\n SyntaxError: syntax error\n SyntaxError: return
 not in function\n ReferenceError: string is not defined\n SyntaxError:
 return not in function\n SyntaxError: syntax error\n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n SyntaxError: unterminated comment\n \n \n
 SyntaxError: return not in 

Re: [wtr-general] Firewatir attach method doesn't work properly

2010-08-12 Thread Ethan
What version of firefox are you using?

On Thu, Aug 12, 2010 at 06:17, Amit amit.e...@gmail.com wrote:

 Hi Ethan,

 I tried below code:

 require 'watir-vapir'

 ff = Vapir::Firefox.new
 ff.start(www.google.com)



 After executing above code, A new instance of firefox opened and got
 following error. Could you please tell me why i'm getting this error?

 C:/Ruby/lib/ruby/gems/1.8/gems/vapir-firefox-1.7.0/lib/vapir-firefox/jssh_socket.rb:118:in
 `initialize': Something went wrong loading Prototype - message SyntaxError:
 unterminated comment\n SyntaxError: return not in function\n TypeError:
 this.getUTCMonth is not a function\n SyntaxError: syntax error\n
 SyntaxError: return not in function\n SyntaxError: syntax error\n
 SyntaxError: syntax error\n \n SyntaxError: syntax error\n \n
 SyntaxError: syntax error\n \n SyntaxError: syntax error\n \n function
 () {\nif (!this.currentlyExecuting) {\ntry {\n
 this.currentlyExecuting = true;\nthis.execute();\n}
 catch (e) {\n} finally {\nthis.currentlyExecuting =
 false;\n}\n}\n}\n SyntaxError: syntax error\n SyntaxError:
 syntax error\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: syntax error\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n SyntaxError: unterminated
 comment\n ReferenceError: document is not defined\n TypeError:
 this.replace is not a function\n SyntaxError: return not in function\n
 SyntaxError: invalid label\n SyntaxError: missing ; before statement\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n SyntaxError: unterminated comment\n
 SyntaxError: return not in function\n SyntaxError: syntax error\n \n \n
 \n \n \n ReferenceError: reference to undefined XML name *::*\n \n \n
 \n \n \n \n \n \n \n \n \n SyntaxError: return not in function\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 \n SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 \n \n \n \n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: syntax error\n SyntaxError:
 syntax error\n SyntaxError: return not in function\n SyntaxError: syntax
 error\n SyntaxError: return not in function\n SyntaxError: syntax error\n
 SyntaxError: syntax error\n \n function (object) {\nif (object 
 Object.isFunction(object.toTemplateReplacements)) {\nobject =
 object.toTemplateReplacements();\n}\nreturn
 this.template.gsub(this.pattern, function (match) {if (object == null)
 {return match[1] + \\;}var before = match[1] || \\;if (before ==
 \\) {return match[2];}var ctx = object, expr = match[3];var pattern =
 /^([^.[]+|\\[((?:.*?[^])?)\\])(\\.|\\[|$)/;match = pattern.exec(expr);if
 (match == null) {return before;}while (match != null) {var comp =
 match[1].startsWith(\[\) ? match[2].gsub(\]\, \]\) :
 match[1];ctx = ctx[comp];if (null == ctx || \\ == match[3]) {break;}expr =
 expr.substring(\[\ == match[3] ? match[1].length : match[0].length);match
 = pattern.exec(expr);}return before + String.interpret(ctx);});\n}\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n SyntaxError: return not
 in function\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: syntax error\n SyntaxError: syntax error\n
 SyntaxError: return not in function\n SyntaxError: return not in
 function\n ReferenceError: iterable is not defined\n \n SyntaxError:
 return not in function\n SyntaxError: syntax error\n SyntaxError: return
 not in function\n ReferenceError: string is not defined\n SyntaxError:
 return not in function\n SyntaxError: syntax error\n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n SyntaxError: unterminated comment\n \n \n
 SyntaxError: return not in function\n SyntaxError: syntax error\n \n \n
 \n \n \n \n \n ReferenceError: Enumerable is not defined\n \n
 function reverse() {\n[native code]\n}\n \n TypeError: Object.extend
 is not a function\n \n \n \n \n \n \n \n SyntaxError: syntax
 error\n SyntaxError: return not in function\n SyntaxError: syntax error\n
 \n \n \n \n \n \n \n \n 

Re: [wtr-general] Firewatir attach method doesn't work properly

2010-08-12 Thread Amit
its 3.06

On Thu, Aug 12, 2010 at 8:56 PM, Ethan notet...@gmail.com wrote:

 What version of firefox are you using?


 On Thu, Aug 12, 2010 at 06:17, Amit amit.e...@gmail.com wrote:

 Hi Ethan,

 I tried below code:

 require 'watir-vapir'

 ff = Vapir::Firefox.new
 ff.start(www.google.com)



 After executing above code, A new instance of firefox opened and got
 following error. Could you please tell me why i'm getting this error?

 C:/Ruby/lib/ruby/gems/1.8/gems/vapir-firefox-1.7.0/lib/vapir-firefox/jssh_socket.rb:118:in
 `initialize': Something went wrong loading Prototype - message SyntaxError:
 unterminated comment\n SyntaxError: return not in function\n TypeError:
 this.getUTCMonth is not a function\n SyntaxError: syntax error\n
 SyntaxError: return not in function\n SyntaxError: syntax error\n
 SyntaxError: syntax error\n \n SyntaxError: syntax error\n \n
 SyntaxError: syntax error\n \n SyntaxError: syntax error\n \n function
 () {\nif (!this.currentlyExecuting) {\ntry {\n
 this.currentlyExecuting = true;\nthis.execute();\n}
 catch (e) {\n} finally {\nthis.currentlyExecuting =
 false;\n}\n}\n}\n SyntaxError: syntax error\n SyntaxError:
 syntax error\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: syntax error\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n SyntaxError: unterminated
 comment\n ReferenceError: document is not defined\n TypeError:
 this.replace is not a function\n SyntaxError: return not in function\n
 SyntaxError: invalid label\n SyntaxError: missing ; before statement\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n SyntaxError: unterminated comment\n
 SyntaxError: return not in function\n SyntaxError: syntax error\n \n \n
 \n \n \n ReferenceError: reference to undefined XML name *::*\n \n \n
 \n \n \n \n \n \n \n \n \n SyntaxError: return not in function\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 \n SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 \n \n \n \n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: syntax error\n SyntaxError:
 syntax error\n SyntaxError: return not in function\n SyntaxError: syntax
 error\n SyntaxError: return not in function\n SyntaxError: syntax error\n
 SyntaxError: syntax error\n \n function (object) {\nif (object 
 Object.isFunction(object.toTemplateReplacements)) {\nobject =
 object.toTemplateReplacements();\n}\nreturn
 this.template.gsub(this.pattern, function (match) {if (object == null)
 {return match[1] + \\;}var before = match[1] || \\;if (before ==
 \\) {return match[2];}var ctx = object, expr = match[3];var pattern =
 /^([^.[]+|\\[((?:.*?[^])?)\\])(\\.|\\[|$)/;match = pattern.exec(expr);if
 (match == null) {return before;}while (match != null) {var comp =
 match[1].startsWith(\[\) ? match[2].gsub(\]\, \]\) :
 match[1];ctx = ctx[comp];if (null == ctx || \\ == match[3]) {break;}expr =
 expr.substring(\[\ == match[3] ? match[1].length : match[0].length);match
 = pattern.exec(expr);}return before + String.interpret(ctx);});\n}\n
 SyntaxError: syntax error\n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n SyntaxError: return not
 in function\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: invalid label\n SyntaxError: invalid label\n
 SyntaxError: invalid label\n SyntaxError: invalid label\n SyntaxError:
 invalid label\n SyntaxError: syntax error\n SyntaxError: syntax error\n
 SyntaxError: return not in function\n SyntaxError: return not in
 function\n ReferenceError: iterable is not defined\n \n SyntaxError:
 return not in function\n SyntaxError: syntax error\n SyntaxError: return
 not in function\n ReferenceError: string is not defined\n SyntaxError:
 return not in function\n SyntaxError: syntax error\n \n \n \n \n \n
 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 \n \n \n \n \n \n SyntaxError: unterminated comment\n \n \n
 SyntaxError: return not in function\n SyntaxError: syntax error\n \n \n
 \n \n \n \n \n ReferenceError: Enumerable is not defined\n \n
 function reverse() {\n[native code]\n}\n \n TypeError: Object.extend
 is not a function\n \n \n \n \n \n \n \n SyntaxError: syntax
 error\n SyntaxError: 

Re: [wtr-general] Firewatir attach method doesn't work properly

2010-08-11 Thread Amit
Hi Ethan,

Can you please explain how can i integrate Vapir in my Watir framework? I
just want to use attach method from vapir.

Can you show me sample command for attaching a window in Vapir?

Thank you

On Tue, Aug 3, 2010 at 5:13 AM, Ethan notet...@gmail.com wrote:

 Vapir should be almost entirely compatible with Watir, so a framework
 written for Watir should not require much change, if any, to work with
 Vapir. see

 http://wiki.github.com/vapir/vapir/coming-from-watir

 and

 http://wiki.github.com/vapir/vapir/differences-from-watir-api


 On Wed, Jul 28, 2010 at 02:06, Amit Kumar amit.e...@gmail.com wrote:

 Hi Ethan,

 My whole framework has been written in Watir.. So, at this point i can't
 use Vapir.

 Guys, is there any other solution to attach multiple browser at a time?

 Thank You





 On Mon, Jul 26, 2010 at 10:58 PM, Ethan notet...@gmail.com wrote:

 I'd recommend Vapir-Firefox, which is a fork of FireWatir which I have
 updated and improved a lot. See the site for Vapir at http://vapir.org/

 -Ethan

 On Mon, Jul 26, 2010 at 07:07, Amit Kumar amit.e...@gmail.com wrote:

  Hi All!

 I'm using Firewatir 1.6.5
 I want to test an web application which open a pop up window.
 I want to attach this pop up window with firewatir. So, i have written
 below code:

 require 'firewatir'
 ff =FireWatir::Firefox.new
 ff.goto(www.example.com)
 ff.link(:text,Pop_up).click
 ff2= FireWatir::Firefox.attach(:title,New Pop Up Window)

 Now, the problem is... After attaching new pop up window, firewatir
 loose control over parent window. It remember only pop up window which have
 attached recently and forget parent window. So, i can't access parent
 application anymore.

 eg: puts ff.title == New Pop Up Window
  puts ff2.title == New Pop Up Window

 It doesn't return window title of parent window.

 Any comments or solution??

 Thank You







  --
 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.comwatir-general%2bunsubscr...@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
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@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
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@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
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@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
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Firewatir attach method doesn't work properly

2010-08-11 Thread Ethan
Same as the Watir API:

Vapir::Browser.attach(:title, the title)
or
Vapir::Browser.attach(:title, /part of the title/)
or
Vapir::Browser.attach(:url, /foobar.html/)

If you want to continue using the watir namespace so that you don't have to
modify your existing code extensively, you can do so using the watir-vapir
require - see http://wiki.github.com/vapir/vapir/coming-from-watir for more
information.

On Wed, Aug 11, 2010 at 07:50, Amit amit.e...@gmail.com wrote:

 Hi Ethan,

 Can you please explain how can i integrate Vapir in my Watir framework? I
 just want to use attach method from vapir.

 Can you show me sample command for attaching a window in Vapir?

 Thank you


 On Tue, Aug 3, 2010 at 5:13 AM, Ethan notet...@gmail.com wrote:

 Vapir should be almost entirely compatible with Watir, so a framework
 written for Watir should not require much change, if any, to work with
 Vapir. see

 http://wiki.github.com/vapir/vapir/coming-from-watir

 and

 http://wiki.github.com/vapir/vapir/differences-from-watir-api


 On Wed, Jul 28, 2010 at 02:06, Amit Kumar amit.e...@gmail.com wrote:

 Hi Ethan,

 My whole framework has been written in Watir.. So, at this point i can't
 use Vapir.

 Guys, is there any other solution to attach multiple browser at a time?

 Thank You





 On Mon, Jul 26, 2010 at 10:58 PM, Ethan notet...@gmail.com wrote:

 I'd recommend Vapir-Firefox, which is a fork of FireWatir which I have
 updated and improved a lot. See the site for Vapir at http://vapir.org/


 -Ethan

 On Mon, Jul 26, 2010 at 07:07, Amit Kumar amit.e...@gmail.com wrote:

  Hi All!

 I'm using Firewatir 1.6.5
 I want to test an web application which open a pop up window.
 I want to attach this pop up window with firewatir. So, i have written
 below code:

 require 'firewatir'
 ff =FireWatir::Firefox.new
 ff.goto(www.example.com)
 ff.link(:text,Pop_up).click
 ff2= FireWatir::Firefox.attach(:title,New Pop Up Window)

 Now, the problem is... After attaching new pop up window, firewatir
 loose control over parent window. It remember only pop up window which 
 have
 attached recently and forget parent window. So, i can't access parent
 application anymore.

 eg: puts ff.title == New Pop Up Window
  puts ff2.title == New Pop Up Window

 It doesn't return window title of parent window.

 Any comments or solution??

 Thank You







  --
 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.comwatir-general%2bunsubscr...@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
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@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
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@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
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@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
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@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
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Firewatir attach method doesn't work properly

2010-08-02 Thread Ethan
Vapir should be almost entirely compatible with Watir, so a framework
written for Watir should not require much change, if any, to work with
Vapir. see

http://wiki.github.com/vapir/vapir/coming-from-watir

and

http://wiki.github.com/vapir/vapir/differences-from-watir-api


On Wed, Jul 28, 2010 at 02:06, Amit Kumar amit.e...@gmail.com wrote:

 Hi Ethan,

 My whole framework has been written in Watir.. So, at this point i can't
 use Vapir.

 Guys, is there any other solution to attach multiple browser at a time?

 Thank You





 On Mon, Jul 26, 2010 at 10:58 PM, Ethan notet...@gmail.com wrote:

 I'd recommend Vapir-Firefox, which is a fork of FireWatir which I have
 updated and improved a lot. See the site for Vapir at http://vapir.org/

 -Ethan

 On Mon, Jul 26, 2010 at 07:07, Amit Kumar amit.e...@gmail.com wrote:

  Hi All!

 I'm using Firewatir 1.6.5
 I want to test an web application which open a pop up window.
 I want to attach this pop up window with firewatir. So, i have written
 below code:

 require 'firewatir'
 ff =FireWatir::Firefox.new
 ff.goto(www.example.com)
 ff.link(:text,Pop_up).click
 ff2= FireWatir::Firefox.attach(:title,New Pop Up Window)

 Now, the problem is... After attaching new pop up window, firewatir loose
 control over parent window. It remember only pop up window which have
 attached recently and forget parent window. So, i can't access parent
 application anymore.

 eg: puts ff.title == New Pop Up Window
  puts ff2.title == New Pop Up Window

 It doesn't return window title of parent window.

 Any comments or solution??

 Thank You







  --
 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.comwatir-general%2bunsubscr...@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
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@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
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@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
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Firewatir attach method doesn't work properly

2010-07-28 Thread Amit Kumar
Hi Ethan,

My whole framework has been written in Watir.. So, at this point i can't use
Vapir.

Guys, is there any other solution to attach multiple browser at a time?

Thank You




On Mon, Jul 26, 2010 at 10:58 PM, Ethan notet...@gmail.com wrote:

 I'd recommend Vapir-Firefox, which is a fork of FireWatir which I have
 updated and improved a lot. See the site for Vapir at http://vapir.org/

 -Ethan

 On Mon, Jul 26, 2010 at 07:07, Amit Kumar amit.e...@gmail.com wrote:

 Hi All!

 I'm using Firewatir 1.6.5
 I want to test an web application which open a pop up window.
 I want to attach this pop up window with firewatir. So, i have written
 below code:

 require 'firewatir'
 ff =FireWatir::Firefox.new
 ff.goto(www.example.com)
 ff.link(:text,Pop_up).click
 ff2= FireWatir::Firefox.attach(:title,New Pop Up Window)

 Now, the problem is... After attaching new pop up window, firewatir loose
 control over parent window. It remember only pop up window which have
 attached recently and forget parent window. So, i can't access parent
 application anymore.

 eg: puts ff.title == New Pop Up Window
  puts ff2.title == New Pop Up Window

 It doesn't return window title of parent window.

 Any comments or solution??

 Thank You







  --
 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.comwatir-general%2bunsubscr...@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
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@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
To unsubscribe: watir-general+unsubscr...@googlegroups.com