Forum Discussion
sunsmile
14 years agoOccasional Contributor
Hi,
We migrated to TestExecute 8 and the problem no longer occurs. For TC7 you might want to insert below script at the start of your script run.
Good Luck!!
//CloseTestExecuteApplicationErrorWindow function closes the
// TestExecute/TestComplete memory leak error window.
function CloseTestExecuteApplicationErrorWindow()
{
if(Sys.WaitProcess("csrss").Exists)
{
if(Sys.Process("csrss").WaitWindow("#32770", "*",0).Exists)
{
Sys.Process("csrss").Window("#32770", "*").Window("Button", "OK").Click();
Log.Message("Closing unexpected TestExecute application error window.");
}
}
}
We migrated to TestExecute 8 and the problem no longer occurs. For TC7 you might want to insert below script at the start of your script run.
Good Luck!!
//CloseTestExecuteApplicationErrorWindow function closes the
// TestExecute/TestComplete memory leak error window.
function CloseTestExecuteApplicationErrorWindow()
{
if(Sys.WaitProcess("csrss").Exists)
{
if(Sys.Process("csrss").WaitWindow("#32770", "*",0).Exists)
{
Sys.Process("csrss").Window("#32770", "*").Window("Button", "OK").Click();
Log.Message("Closing unexpected TestExecute application error window.");
}
}
}
Related Content
Recent Discussions
- 3 days agoMW_Didata