Forum Discussion

Ryan_Moran's avatar
Ryan_Moran
Valued Contributor
10 years ago

.net application plugin/support crashes during script playback

pseudo code: Sys.Process("Infinity").WinFormsObject("frmCATFRAMS").someobject.click(); //after the control is clicked the application performs a CPU intensive task Sys.Process("Infinity")...
  • Ryan_Moran's avatar
    10 years ago
    Tanya,

    I was skeptical so I gave this a try.

    Predictably this proposed solution had no impact on the issue I am experiencing.

    If the .Find method times out during CPU intensive application processing extended properties are no longer available. I am still unable to work around this without setting the Auto-wait timeout to a value greater than the applications process time. From your code the "mainForm" in this scenario does exist, but is currently "Unresponsive" while processing....during that "Unresponsive" state I am performing a .Find on the form...

    (mainForm.Find(prop,propVal,depth) )...the Find method appears to be waiting up until the auto-wait timeout and then causes the .Net plugin support to crash or become unavailable.