wait command in AGR testcases [message #61967] |
Wed, 29 March 2006 07:31  |
Eclipse User |
|
|
|
Originally posted by: vladimir.au.ru
As already discussed here (
http://www.eclipse.org/newsportal/article.php?id=1616&gr oup=eclipse.tptp#1616
), I tried to use <command type="wait" time-to-wait="80000"/> for shell
org.eclipse.ui.internal.WorkbenchWindow. I.e. after all macro commands I
insert wait command. But unfortunately, I get exception during the
execution of the script:
org.eclipse.core.runtime.CoreException: A time-out occurred while running
command MacroCommand [wait, line 93]. This is likely caused by the
presence of an unexpected dialog or the absence of an expected dialog.
Workbench window certainly is present, no other dialog are opened at the
moment, but I get this exception every time I execute my script.
Do you have any ideas about it?
Thanks,
Vladimir.
|
|
|
|
Re: wait command in AGR testcases [message #62345 is a reply to message #61991] |
Wed, 29 March 2006 12:28  |
Eclipse User |
|
|
|
I just replied to your original post.
In quick mode, the time-out threshold is always 30 seconds. In standard
mode, you can adjust the time-out threshold under the behavior page.
Alternatively you can repeat wait commands to avoid a time out in both quick
and standard mode. For example
<command type="wait" time-to-wait="20000"/>
<command type="wait" time-to-wait="20000"/>
will cause a 40 second delay
"Vladimir" <vladimir@au.ru> wrote in message
news:affaf637000e52552dec0f2a74adb35a$1@www.eclipse.org...
> For instance, I try to execute (quick run) the next macro:
> <macro version="0.1" >
> <shell id="org.eclipse.ui.internal.WorkbenchWindow" return-code="-1">
> <command type="wait" time-to-wait="30000"/>
> </shell>
> </macro>
> and get the following result: org.eclipse.core.runtime.CoreException: A
> time-out occured while running command MacroCommand[wait, line 3].
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03577 seconds