Sometimes, there arises a need to synchronize tests launches from various projects to have specific actions executed at the same time. Usually, it is necessary when we perform concurrent testing or testing workflows which require simultaneous actions of multiple users.
To this end, synch points are applied, which will be thoroughly dealt with in this recipe.
To synchronize tests on several Slave computers, we need to perform the following steps:
MyPoint
), and click on OK.NetworkSuite.Synchronize("MyPoint");
At the point of distributed tests launch, when reaching the synching points, the tests will pause; continuation of the tests will take place only after all the tasks have reached the synch point.
In the case that a project contains a synch point, and at least one of the projects fails to evoke the NetworkSuite.Synchronize
method, this would lead to script hang-ups, as the scripts would be waiting for all the projects to reach the synch point in view. In this case we will have to stop test execution manually.
This is why it is recommended that we attentively follow through the NetworkSuite.Synchronize
invocation, if the project contains synch points.
18.119.131.10