Ask a Question

Test script gets stuck while looking for an object when script run via Network suite

priyanshi17
Frequent Visitor

Test script gets stuck while looking for an object when script run via Network suite

I have used the waitProcess method to identify the process and perform some actions once the process is identified.

Sys.WaitProcess("JWSMenu"5000)

 

When I run this script on local , it works as expected. If the process does not show within the mentioned timeout

returns an empty stub object and the next line of code is executed.

 

But When I run the same test script via network suite in distributing test environment, Test complete keeps on looking for the process object for infinite time and test gets stuck at this line code..

cancel
Showing results for 
Search instead for 
Did you mean: