Re: [wtr-general] execute_script does't seem to work

2012-04-23 Thread Željko Filipin
Sounds like a bug to me. You shoud report it. Zeljko On Sunday, April 22, 2012, Kayen wrote: It didn't work in chrome either. Selenium::WebDriver::Error::UnknownError: Script execution failed. Script: return window.getName().getInterface().getComponent(); Maximum call stack size exceeded

Re: [wtr-general] execute_script does't seem to work

2012-04-23 Thread Chuck van der Linden
are you trying to stress test firefox, or your server? if it's the server then the browser being used really should not matter. I'd also recommend a protocol level tool for that sort of work, generating the requests at the http level and just simulating the effect of any client side code

[wtr-general] execute_script does't seem to work

2012-04-21 Thread Karthik
Hi all, I am trying to execute a piece of javascript using watir-webdriver to get handle on an object. This javascript works fine in firefox and chrome consoles but when I try the following: @browser.execute_script(return window.getName().getInterface().getComponent()) then the browser

Re: [wtr-general] execute_script does't seem to work

2012-04-21 Thread Željko Filipin
On Sat, Apr 21, 2012 at 2:57 PM, Karthik karthigaya...@gmail.com wrote: then the browser (firefox) returns an unresponsive script pop-up and hangs. It happened to me. The workaround for me was to use Chrome. Željko -- watir.com/book - author -- Before posting, please read

Re: [wtr-general] execute_script does't seem to work

2012-04-21 Thread Benny Darsono
How to test stress testing in firefox? On Sat, Apr 21, 2012 at 8:08 PM, Željko Filipin zeljko.fili...@gmail.comwrote: On Sat, Apr 21, 2012 at 2:57 PM, Karthik karthigaya...@gmail.com wrote: then the browser (firefox) returns an unresponsive script pop-up and hangs. It happened to me. The

Re: [wtr-general] execute_script does't seem to work

2012-04-21 Thread Željko Filipin
On Sat, Apr 21, 2012 at 6:36 PM, Benny Darsono drs.b...@gmail.com wrote: How to test stress testing in firefox? Is this related to execute_script problem? If not, please create new thread. Also, provide more information on what you want to do. Željko -- Before posting, please read