Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » wait command in AGR testcases
wait command in AGR testcases [message #61967] Wed, 29 March 2006 12:31 Go to next message
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 #61991 is a reply to message #61967] Wed, 29 March 2006 12:41 Go to previous messageGo to next message
Eclipse User
Originally posted by: vladimir.au.ru

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].
Re: wait command in AGR testcases [message #62345 is a reply to message #61991] Wed, 29 March 2006 17:28 Go to previous message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
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].
>
>
>
>
Previous Topic:Position independent item-select in AGR
Next Topic:Sending data to File disables views?
Goto Forum:
  


Current Time: Thu Oct 02 12:33:34 GMT 2014

Powered by FUDForum. Page generated in 0.01705 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software