Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » How to wait for workspace build(Making the RCP Test Runner to wait only for workspace build)
How to wait for workspace build [message #1756396] Thu, 16 March 2017 07:45 Go to next message
Eclipse UserFriend
Currently I can only write below command to wait for a specific amount of time.
wait -ms 72000

As this is not idle to wait for a random amount of time,
sometime the build finishes way too quicker and some times it takes ages
depending on the load of the server apart from the actual task in Test Application (eclipse IDE).

Is there any way to wait for completion of any building workspace job/task.

Re: How to wait for workspace build [message #1757813 is a reply to message #1756396] Mon, 20 March 2017 05:03 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

can you check the task completion within the testcase?

If yes you could wait in a loop:

  loop [val index [int 0]] {
        if [!check if task completed]
        {
            if [$index | lt $maxIterationDefinedElsewhere] {
              wait $msToWait
              recur [$index | plus 1]
            } 
        }
  }
Re: How to wait for workspace build [message #1757814 is a reply to message #1756396] Mon, 20 March 2017 05:03 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

can you check the task completion within the testcase?

If yes you could wait in a loop:

  loop [val index [int 0]] {
        if [!check if task completed]
        {
            if [$index | lt $maxIterationDefinedElsewhere] {
              wait $msToWait
              recur [$index | plus 1]
            } 
        }
  }
Re: How to wait for workspace build [message #1757815 is a reply to message #1757814] Mon, 20 March 2017 05:20 Go to previous messageGo to next message
Eclipse UserFriend
Hello Markus,

Thanks for the reply and the logic.

Do you know how can I check the task completion of a work-space build?

     if [!check if task completed]


Do you any piece of code?

Thanks,
Ramesh.
Re: How to wait for workspace build [message #1757816 is a reply to message #1757814] Mon, 20 March 2017 05:21 Go to previous messageGo to next message
Eclipse UserFriend
No Message Body

[Updated on: Mon, 20 March 2017 05:23] by Moderator

Re: How to wait for workspace build [message #1757906 is a reply to message #1757815] Tue, 21 March 2017 11:42 Go to previous message
Eclipse UserFriend
No I am sorry.

Perhaps you can check by created artifacts with get-file <artifact> | get exists
Previous Topic:Feature: Test script active while AUT is off
Next Topic:RCPTT + GEF: scrolling does not work
Goto Forum:
  


Current Time: Sat Sep 06 15:43:13 EDT 2025

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

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

Back to the top