Forum Discussion

jkrolczy's avatar
jkrolczy
Regular Contributor
11 years ago

McAfee SiteAdvisor: Closing IE8 windows through TestComplete creates an IE crash


Using TC: 9.31



Issue:



I have an application that opens up an IE8 window, does some validation, and then attempts/does close it.



I have tried different approaches on how an IE window can be closed.  Visually, it does close the IE window, but once the script completes, it has flagged an IE crash after the close.



I have seen this with Sys.Browser("iexplore")...  and Sys.Process("iexplore").



May be seen using other IE versions as well?





My current approach that does work is either:



Sys.Browser("iexplore", idx[0]).Find("WndCaption", strChildWin, DEPTH).Close();



or



Sys.Process("iexplore", idx[0]).Find("WndCaption", strChildWin, DEPTH).Close();





Now how does SiteAdvisor come into play ?





Running this script on a Windows OS desktop, with McAfee SA disabled and/or IEPlugIn removed, the script works as expected.



Running this script on a Windows OS desktop, with McAfee SA active, the script works, but an IE crash is generated in the test script log.



Anyone seen this issue as well ?



JamesK