Perhaps you should list what the exact Javascript code you are executing as well. And what Selenium API method you are calling
selenium.getEval() or driver.executeScript()?
On Monday, May 6, 2013 9:49:26 PM UTC-7, sree kanth wrote:
Hi Guys,
I want to get the random numbers, so I used storeEval command and target with javascript and stored in X variable. When I execute in selenium Ide I am able to use that variable in other steps also. like typing that value to text field. But when I run it in selenium RC it throws an error as "Command execution failure. Please search the user group at https://groups.google.com/forum/#!forum/selenium-users for error details from the log window. The error message is: replacement.indexOf is not a function"
Please let me know the why it is not working.
Thanks,
Sree