Forum Discussion
gentlesea
13 years agoFrequent Contributor
I have the same problem getting random "The window does not respond" messages while trying to write text into a textfield.
I read the proposed workaround here http://www.sqaforums.com/showflat.php?Cat=0&Number=478373&an=0&page=0&gonew=1 but it does not help in my case.
function isProcessResponding(p)
{
var process = dotNET.System_Diagnostics.Process.GetProcessById(p.ProcessID);
return process.Responding;
}
Aliases.MainWnd.MenuBar.CircularArcEditor.EdtTable.Edit.WaitProperty("Enabled", true, 60000);
if (isProcessResponding(Sys.Process("iplanRT")))
Aliases.MainWnd.MenuBar.CircularArcEditor.EdtTable.Edit.SetText("90");
Aliases.MainWnd.MenuBar.CircularArcEditor.EdtTable.Edit.WaitProperty("wText", "90", 60000);
When I have a look at TestComplete running this script I noticed that isProcessResponding is passed immediately.
SetText however takes ages since our application is not responding for quite a time (only seconds though).
Freeze Diagnostics - Application hanging timeout is set to 300000. This should be enough...
What can I do?
I read the proposed workaround here http://www.sqaforums.com/showflat.php?Cat=0&Number=478373&an=0&page=0&gonew=1 but it does not help in my case.
function isProcessResponding(p)
{
var process = dotNET.System_Diagnostics.Process.GetProcessById(p.ProcessID);
return process.Responding;
}
Aliases.MainWnd.MenuBar.CircularArcEditor.EdtTable.Edit.WaitProperty("Enabled", true, 60000);
if (isProcessResponding(Sys.Process("iplanRT")))
Aliases.MainWnd.MenuBar.CircularArcEditor.EdtTable.Edit.SetText("90");
Aliases.MainWnd.MenuBar.CircularArcEditor.EdtTable.Edit.WaitProperty("wText", "90", 60000);
When I have a look at TestComplete running this script I noticed that isProcessResponding is passed immediately.
SetText however takes ages since our application is not responding for quite a time (only seconds though).
Freeze Diagnostics - Application hanging timeout is set to 300000. This should be enough...
What can I do?
Related Content
- 4 years ago
Recent Discussions
- 10 hours ago
- 7 days ago
- 10 days ago