!!

Welcome to Selenium Webdriver Forum

As a web user you can read and search through forum content. Once you have registered and signed you can post topics, post replies, set up watch lists, modify forum settings, and use private messaging.

Author Topic: Inconsistent results with selenium RC  (Read 480 times)

santhosh venkat

  • Web User
Inconsistent results with selenium RC
« on: April 12, 2012, 07:21:09 PM »
Dear All
 
I am running selenium RC. While running my regression the results are not
 consistent.
 
i.e, scripts which runs today are failing the other day. I am not sure why
 it is happening. Following are the exceptions that am getting often. I
 searched some forums and added the waitforpagetoload in many scripts. but
 still it is failing.  Kindly help what should i do to avoid this in the
 future
 
Exception 1 :
 
java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 Caused by: com.thoughtworks.selenium.SeleniumException: ERROR: Command
 execution failure. Please search the forum at http://clearspace.openqa.orgfor
 error details from the log window.  The error message is: Permission denied
 at
 com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
 at
 com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
 at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:167)
 
Exception 2 :
 
java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
 
Caused by: com.thoughtworks.selenium.SeleniumException: ERROR: Command
 execution failure. Please search the forum at
 http://clearspace.openqa.orgfor error details from the log window.
 The error message is: Unspecified
 error.
         at
 com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
         at
 com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
         at
 com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:167)
 
Exception 3 :
 
java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
 
Caused by: com.thoughtworks.selenium.SeleniumException: ERROR: Current
 window or frame is closed!
         at
 com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
         at
 com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
         at
 com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:335)
 
Thanks
 
Santhosh

David Burns

  • Web User
Re: Inconsistent results with selenium RC
« Reply #1 on: April 12, 2012, 07:21:26 PM »
Santosh
 
This is a brilliant question for the user group. I suggest asking it there.
 
David
 On Nov 10, 2011 5:36 AM, "santhosh venkat" <reach2santh...@gmail.com> wrote:
 

- Show quoted text -

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
485 Views
Last post February 22, 2012, 01:39:47 PM
by Jean-Charles Meyrignac
1 Replies
295 Views
Last post February 22, 2012, 05:25:49 PM
by Jean-Charles Meyrignac
2 Replies
696 Views
Last post February 23, 2012, 07:02:18 PM
by Maxim Vorobev
4 Replies
668 Views
Last post March 29, 2012, 02:00:25 PM
by Vijay (Lucky)
1 Replies
203 Views
Last post April 12, 2012, 06:28:23 PM
by David Burns
3 Replies
1620 Views
Last post November 20, 2012, 12:06:19 AM
by Andrew_
0 Replies
189 Views
Last post January 18, 2013, 01:33:36 AM
by bhaktishah

Review www.seleniumwebdriver.com on alexa.com