03-12-2010, 03:12 PM
Code:
If Window("CCP").FlexApplication("Main").FlexTitleWindow("Select / Manage Community").Exist(2) Then
notLaunched = 1
logger "info", "Application started in " & DateDiff("s", curTime, Now) & " seconds"
Reporter.ReportEvent micDone, "Application", "Application started in " & DateDiff("s", curTime, Now) & " seconds"
wait 3
ExitAction(2)
Else
notLaunched = 0
logger "info", "CCP Failed to Launch after waiting " & DateDiff("s", curTime, Now) & " seconds"
Reporter.ReportEvent micDone, "Application", "CCP Failed to Launch after waiting " & DateDiff("s", curTime, Now) & " seconds"
Reporter.ReportEvent micDone, "Application", "CCP is Relaunching NOW " & DateDiff("s", curTime, Now) & " seconds"
End If