A time-out occurred while running command MacroCommand [message #118366] |
Fri, 16 November 2007 05:11  |
Eclipse User |
|
|
|
Hi ,
I have created around 45 testcases using AGR 4.4.0.3, but when I run
the testsuite it gets hanged some where after 30 testcases and following
error is displayed:
There was an error while running the macro associated with the test case:
org.eclipse.core.runtime.CoreException: A time-out occurred while running
command MacroCommand [select, line 163]. This is likely caused by the
presence of an unexpected dialog or the absence of an expected dialog.
at
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell.playback(MacroCommandShell.java:1090)
at
org.eclipse.tptp.test.auto.gui.internal.macro.Macro.playback (Macro.java:346)
at
org.eclipse.tptp.test.auto.gui.internal.macro.MacroManager.r unMacro(MacroManager.java:574)
at
org.eclipse.tptp.test.auto.gui.internal.macro.MacroManager.a ccess$4(MacroManager.java:568)
at
org.eclipse.tptp.test.auto.gui.internal.macro.MacroManager$1 $MacroOperationWrapper.run(MacroManager.java:501)
at java.lang.Thread.run(Thread.java:595)
I have even tried by chnaging the threshhold limit to 100 sec,still it
did not worked for me.It works fine if I get execute them by splitting
like 20 testcases and 25 tescases.
Do I need to set any parameter in order to overcome the time
out problem.Any help would be appreciable?
Thanks,
Sridhar
|
|
|
|
|
Re: A time-out occurred while running command MacroCommand [message #118494 is a reply to message #118457] |
Tue, 20 November 2007 06:58  |
Eclipse User |
|
|
|
Hi Sridhar,
Yes, the AGRA will fail when it cannot resolve the widget or there a new
dialog has focus that the test suite does not know about. Depending on your
application under test (e.g. web client connecting to a server) and what you
are testing, different test runs may produce different results (a.g.
different test cases failing between different test runs). I would remove
the 37th test case and run several times to determine if #35 is correct, and
then vice-versa.
Paul
"sridhar" <g_sridhar258@yahoo.co.in> wrote in message
news:18169a835fc833dea53ebc06a5352565$1@www.eclipse.org...
> Hi Paul,
> Thanks for your update.I want to update you on this problem.
> The testcase runs fine if I run it individually in standard mode.If AGR
> does not get the required widget it should even fail in this case right.
> Also it is not consistently failing in a single testcase.When I run
> for the 1st time it fails in 35 th testcase, but in 2nd run it fails in 37
> th tescase with the same time-out problem.
>
>
> Thanks,
> Sridhar
>
|
|
|
Powered by
FUDForum. Page generated in 0.03716 seconds