Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I obtain my process in a script (for instance, by using Sys.Process), the test execution is paused for too long. Why does this happen? Can I get rid off this?

0
Posted

When I obtain my process in a script (for instance, by using Sys.Process), the test execution is paused for too long. Why does this happen? Can I get rid off this?

0

A.: Most likely the application under test is an Open Application. When TestComplete retrieves a process object, it sends requests to all the processes running in the system to find Open Applications. TestComplete may freeze until it gets responses from these processes. So, if some of the processes are busy and cannot respond immediately, you may notice the delay. To avoid the problem, you may limit the number of applications to be requested: • Open your project in TestComplete. Switch to the Object Explorer panel. • Open the project editor and activate the Properties page. • Choose the Open Applications | Process filter settings group and specify the processes to be recognized as Open. • Save the changes. Now TestComplete will send requests only to those applications that you selected in the Process filter settings.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.