Home Documentum

wdk ATF: A javascript error occurred while running the test case

aleTOaleTO Alessandra Boella
edited December 23, 2008 in Documentum

This is the error I get using the Launcher Monitor to test all my testcases.

error
case:[case: aperturaCircolare]
cause: A javascript error occurred while  running the test case: Line ??? of  http://aboella2:7001/geno/component/redazione_tree?Reload=1230030558185&__dmfFrameId=Environment_browser_redazione_tree_0&__dmfClientId=1230030421310  resulted in 'fail to retrieve path for frame content'
time  (START): 23-dic-2008 12.07.26 - time  (END): 23-dic-2008 12.09.25
time  (ELAPSED): 0:1:59.623

Stack  Trace

com.documentum.web.test.CreateJavascriptErrorActionHandler.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(CreateJavascriptErrorActionHandler.java:56)
com.documentum.web.test.TestCaseDriver.serviceRequest(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(TestCaseDriver.java:121)
com.documentum.web.test.servlet.TestCaseDriverServlet.setUp(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(TestCaseDriverServlet.java:101)
com.documentum.web.test.servlet.TestCaseDriverServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(TestCaseDriverServlet.java:55)
javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28)
weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
com.documentum.web.servlet.CompressionFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(CompressionFilter.java:113)
weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
com.documentum.web.env.WDKController.processRequest(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Ljavax.servlet.FilterChain;)V(WDKController.java:94)
com.documentum.web.env.WDKController.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(WDKController.java:82)
weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6724)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown  Source)

Why do this error appear?Any answer will be helpful


Comments

  • edited December 23, 2008

    Hi,

    The ATF works by simulating user actions using javascript.  Part of this is determining what frame an action should be played back in.  With Webtop's configuration, the "content" frame is the default one used.  If your application has a different default frame or other frames should be defined, they can be configured in the testframework_config.xml file.  If there are changes, you'll need to re-record so that the correct frame names can be taken into account.

    Linda

Sign In or Register to comment.