Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Force waiting a Job completion
Force waiting a Job completion [message #1696393] Tue, 26 May 2015 09:23 Go to next message
maherzia belaazi is currently offline maherzia belaaziFriend
Messages: 41
Registered: October 2014
Member
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 11:25 Go to previous message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

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.


Yours sincerely,
Olga.
Previous Topic:Issue with Maven
Next Topic:Not able to start the record test case feature for AUT
Goto Forum:
  


Current Time: Fri Apr 26 12:52:28 GMT 2024

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

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

Back to the top