Menu

#2 junit error

open
nobody
None
5
2008-10-27
2008-10-27
No

[junit] Tests run: 18, Failures: 0, Errors: 1, Time elapsed: 150,515 sec
[junit] Test universalTestFramework.UniversalTestFrameworkTestSuite FAILED

this is the error from the junit.noframes.html

testInvokeSeleniumMethod Error N/A

java.lang.reflect.InvocationTargetException
at universalTestFramework.InvokeSeleniumMethod.getSeleniumMethod(InvokeSeleniumMethod.java:50)
at universalTestFramework.InvocationData.testInvokeSeleniumMethod(InvocationData.java:90)
at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
Caused by: universalTestFramework.ScreenShotException: Timed out after 60000ms
This event has been caught with a screenshot. Location: C:/UTF/Web-Projects/Demo/Logs/2008-10-27-16-14-48-578
at universalTestFramework.UniversalTestFrameworkSeleniumCommands.saveStackTraceToFile(UniversalTestFrameworkSeleniumCommands.java:1223)
at universalTestFramework.UniversalTestFrameworkSeleniumCommands.screenShot(UniversalTestFrameworkSeleniumCommands.java:1202)
at universalTestFramework.UniversalTestFrameworkSeleniumCommands.clickAndWait(UniversalTestFrameworkSeleniumCommands.java:469)

what could be the problem ?

Discussion

  • UTF

    UTF - 2008-10-28

    Hi,
    The UTF sees no difference between failure and error and will record test failure as an error.
    This report suggests that there is a failure in the AUT at this point. Selenium has timed out.
    Does this script run OK in the S-IDE?
    You may a waitFor*.

    Thanks.

     
  • UTF

    UTF - 2008-10-28

    Hi,
    The UTF sees no difference between failure and error and will record test failure as an error.
    This report suggests that there is a failure in the AUT at this point. Selenium has timed out.
    Does this script run OK in the S-IDE?
    You may a waitFor*.

    Thanks.

     
  • Nobody/Anonymous

    hi,

    Yes i saw that the failure is record as error.
    If i run the same scrip in IDE it also says error - timeout
    shoud this be logged as faliure?

     

Log in to post a comment.

MongoDB Logo MongoDB