Forum Discussion
Hi Maria,
I recommend that you refer to the Tracing Exceptions, Crashes and Freezes in Tested Applications ( http://smartbear.com/viewarticle/75419/ ) article. It lists approaches of how you can track the crash of you tested application. Does it help?
Hi,
I read the Smartbear article about tracing exceptions, but neither of 2 approacehs can be used:
1. DbgServices plugin cannot be used, because we are not using TestedApplications to launch our application. Note that we are
using TestExecute, not TestComplete.
2. QATime - we do not have this tool.
But also I don't think that the problem is in our tested application, because we cannot duplicate the problem working with it without TestExecute.
Regards,
Maria
- TanyaYatskovska10 years ago
Alumni
I would suggest that you collect a crash report of your application and TestComplete and send it to our Customer Care Team so that they could analyze it and provide you with a solution. Follow the steps below to generate the reports:
- Run the Report Generator tool located in <TestComplete/TestExecute>\Bin\ReportGenerator.exe.
- Select the "Launch/attach to TestComplete" option.
- Run another instance of the Report Generator tool.
- Select the "Track application launch" option, specify your application executable name and click Next. The Report Generator tool will wait until the application is launched and then will track all events in it.
- Reproduce the problem.
- Click the "Generate..." button in all instances of the Report Generator tool and save reports to a local folder.
- Send the files to our Support Team: http://support.smartbear.com/product-list/
- maria_vst10 years agoContributor
Hi,
Thank you for your suggestion.
I already tried to run ReportGenerator, but when run test on the tested application this way (using ReportGenerator.exe), the problem is not reproduced.Also, tried DbgServices using the code
var Proc = Sys["Process"]("MyApplication");
DbgServices["AttachToProcess"](Proc);But there is an exception on the last row:
{"The remote procedure call failed. (Exception from HRESULT: 0x800706BE)"}
StackTrace:
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
at AutomatedQA.script.var.VarDelegate.CallNoPop(var[] args)
at AutomatedQA.script.var.VarDelegate.CallStatic(var[] args)
...Regards,
Maria