Forum Discussion
Hi,
During execution my project suite , TestComplete randomly hang on executing scripts.Afterwards I can’t do anything else than reboot /Log off my computer. In crashed test log there is no information what really happened.
Please suggest.
I combined your posts and moved them to this forum since they sound related and you mentioned desktop application (rather than web).
When the application shuts down, is this part of your test or is it a crash that you aren't expecting? In either case, what is very likely happening is that TestComplete has gone on to the next line in the test and the application isn't there. We need to help you fix the timing, but let us know first if the shutdown is intentional or not.
- sindhu107 years agoContributor
Hi,
Thanks ! no its not the expected one ..
- Marsha_R7 years agoChampion Level 3
Does the crash always happen on the same test? Let's see that code please.
- sindhu107 years agoContributor
function Exit_And_Msg_Conifrmation_for_creating_New_Prgms()
{
Log.AppendFolder("Exit_Msg_COnifrmation_creating_New_Prgms");
var currentResourceFolder = BasicBATResourceFolder() + "\\SmokeTest7_Create_Title";
//Click Exit and take screenshot of exit window
var Capture_exit = Sky_IBMS().WinFormsObject("ValidationCheckResults").WinFormsObject("panelButtons")
try
{
ComparePicture(Capture_exit.Picture(0,0,-1,-1,false),currentResourceFolder + "\\Capture_exit.png",0);
}
catch(e)
{
Log.Error(e.description);
Log.Message("Entered Catch");
}
Capture_exit.WinFormsObject("btnOkExit").Click();
//Message confirmation pop up for creating new programmes
var Confirm_msg = Sky_IBMS().WinFormsObject("XtraMessageBoxForm", "Confirm");
try
{
ComparePicture(Confirm_msg.Picture(0,0,-1,-1,false),currentResourceFolder + "\\Msg_Conifrmation_for_New_prgms.png",0);
}
catch(e)
{
Log.Error(e.description);
Log.Message("Entered Catch");
}
Sky_IBMS().WinFormsObject("XtraMessageBoxForm", "Confirm").WinFormsObject("SimpleButton", "&Yes").Click();
Delay(40000);
Log.PopLogFolder();
}
After a long delay it crashes .
Thanks
Related Content
- 2 years agoTanIlak
Recent Discussions
- 5 hours agoSubhraDas
- 24 hours agotramuntana