ContributionsMost RecentMost LikesSolutionsSys.Process("msiexec") and Sys.Process("msiexec", 2)Sometimes the InstallShield Wizard is recognized by TestComplete as Sys.Process("msiexec"), and other times as Sys.Process("msiexec", 2). All my code fails if I code for one and it turns out to be the other. Any suggestions?SolvedRe: .Exist method or alternative to determine whether an object exists OR notFigured it out. Set p = Sys.Process(MyProcess) Set w = p.FindChild("WndCaption", "FindObjectContainingThisTextInWndCaption", 5) If w.Exists Then ... End If The test will not fail if w.Exists is false. FindChild method: http://support.smartbear.com/viewarticle/28019/ .Exist method or alternative to determine whether an object exists OR notIs there a way to check if an object exists that will not result in the usual complete runtime failure if the object does not exist? Thank youSendMail not working Code I used: Call SendMail("xxx@yyy.com", "yyy.com", "John Smith", "xxx@yyy.com", "Notification", "Hello Clare, Your application is nice.") I get an error: Socket Error # 10060 Connection timed out.How to send email with logs once the test has stoppedHi TestComplete community! I'm trying to find out how to perform actions AFTER playback has stopped, specifically, to send an email with the appropriate logs. Is this possible to do? Thank you! (Further information: I'm automating an installation, and my timeout is set to 5 minutes - so in this case an error means that either the installation does not complete in time, or the next expected object/window doesn't appear in time - forcing playback to stop.)Re: test complete recognizing unexpected windowsI am bumping this because I am having a hard time understanding how OnUnexpectedWindow works when script is written from scratch.