Re: [wtr-general] Entering XML in textarea

2011-08-03 Thread Raveendran P
Hi, Try thi #*puts doc* = retruns the text So Pelase convert doc into String *doc=doc.to_s* puts doc.class = String (The next line works only the inoput is String or Fixnum.) *$browser.text_field(:id, NewAEPGrid_ctl02_CoDFBox2).set(doc) * Now it should work .. Let me update here On

[wtr-general] Re: Entering XML in textarea

2011-08-03 Thread Trevor
Thanks Charley - that does the trick Trevor On Aug 2, 11:25 pm, Charley Baker charley.ba...@gmail.com wrote: Try setting value instead of set. blah.value = doc Cheers, Charley On Tue, Aug 2, 2011 at 4:03 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Aug 2,

[wtr-general] Re: Entering XML in textarea

2011-08-03 Thread Trevor
This solution also works Thanks, Trevor On Aug 3, 7:36 am, Raveendran P jazzezr...@gmail.com wrote: Hi, Try thi #*puts doc*     = retruns the text So Pelase convert doc into String *doc=doc.to_s* puts doc.class = String (The next line works only the inoput is String or Fixnum.)

[wtr-general] Watir framework

2011-08-03 Thread Gaurang
I have write the custom framework using ruby test-unit. I want feedback from you people. http://qtp-help.blogspot.com/2011/08/watir-framework.html -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: Watir framework

2011-08-03 Thread Alister Scott
I'm not sure why you wouldn't just use something like rspec or cucumber? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com

[wtr-general] browser.speed?

2011-08-03 Thread GJHmf
Hi all, What is the current established way of using browser.speed to speed up text field value entering? Virtually all of my scripts use 'browser.speed = :fast', and do work well in my ageing Ruby186/Watir162/XP/IE8 environment. However, things are not the case in the new environment that I'm

[wtr-general] Re: Watir framework

2011-08-03 Thread Gaurang
Rspec and Cucumber is behavior driven system. Some people are not comfortable with that, I am one of them that's the reason i choose test-unit. On Aug 3, 3:24 pm, Alister Scott alister.sc...@gmail.com wrote: I'm not sure why you wouldn't just use something like rspec or cucumber? -- Before

Re: [wtr-general] Re: Object no longer attached to the DOM error on doing a exists call

2011-08-03 Thread Jari Bakken
On Tue, Aug 2, 2011 at 9:44 PM, Jari Bakken jari.bak...@gmail.com wrote: But, I understand the performance hit. Are we talking much slower execution times? I've changed the behaviour on the no-element-cache branch: https://github.com/jarib/watir-webdriver/tree/no-element-cache Please try