Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » Force waiting a Job completion
Force waiting a Job completion [message #1696393] Tue, 26 May 2015 05:23 Go to next message
Eclipse UserFriend
Hello,

How could I force the wait of a Job to complete ?
In fact, I must wait the completion of the Run/Debug launch configuration progress (visible on progress bar) in order to invoke tests on console view.
Any help is so welcome ?
Re: Force waiting a Job completion [message #1696582 is a reply to message #1696393] Wed, 27 May 2015 07:25 Go to previous message
Eclipse UserFriend
Hello,

Related topic was discussed here.

Also, the following construction might be helpful:
try -times 100 -delay 100 -command {get-view "Execution View" | get-tree | verify-error{get-item scenario1 | get-property "image.path" 
    | equals "org.eclipse.rcptt.ui/icons/launching/testrun.gif" | verify-true}} -catch {show-alert "Execution hasn't finished"}

This snippet would be executing while there is testrun.gif in UI. When testrun.gif dissapears, it would go further. Take a look at try command description.
Please let me know if it is helpful or you have any questions.
Previous Topic:Issue with Maven
Next Topic:Not able to start the record test case feature for AUT
Goto Forum:
  


Current Time: Sat Jun 14 14:16:34 EDT 2025

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

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

Back to the top