Ask a Question

Can't get sync points to work

nbenitus
Contributor

Can't get sync points to work

Hi,



I am trying to get synchronization points to work for my distributed testing.



Here is a simple example:



Sub Test_Sync_Point1



  NetworkSuite.Synchronize("Test")

  Delay(10000) 



End Sub



Sub Test_Sync_Point2



  NetworkSuite.Synchronize("Test")

  Delay(10000)  



End Sub



The "Test" sync point has been created. My problem is that both the scripts reach the sync point, but never resume.



Am I missing something?



Thanks in advance.
4 REPLIES 4
YMinaev
Staff

Hi Benoit,



Have you added the Test synchronization point to all projects that should be synchronized? See the "Synchronization Points" help topic.
------
Yuri
TestComplete Customer Care Engineer

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
nbenitus
Contributor

Hi Jared,



Thanks for your answer.



I have read the help page concerning the Sync Points, and I have one question.



Why do they always refer to synchronizing "projects"?



Can you use the synchronize tasks in the same project?
nbenitus
Contributor

Can someone please help?


Hi Benoit,





Synchronization points are declared at a project level, not at a task level. Also, as it is impossible to run two tasks on the same machine simultaneously, you can treat two instances of the same project executing different tasks on different computers as different projects.
--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: