Contributions
- 2.8KViews0likes0Comments
Re: Try Catch Finally don't work
Hi Friends, I used some things for to solve this problem. 1- I my windows tests I get see two new columns, for help us in this case Stop on error and Stop on exception. Was needed to click with rigth button of mouse for to look this columns. 2- In finally block, was needed change for TestedApps.NameApp.Terminate(); 3- And any errors are need to treat in TestComplete. If one error to block application, will be necessary to treat this error. Thanks Tanya and Trista for your help!2.9KViews0likes2CommentsTry Catch Finally don't work
Hi guys, I need one help friends. In one test case occurs one error, I need to jump for the next test. I'm using try catch an finally, but this functions don't work. Look my script test: function emissaoGarantiaLicitantePublicaSucesso(){ try{ LoginGGTests.testAbreGG(); cadastroDeSolicitacaoGarantiaLicitantePublicaSucesso(); LogoutGGTests.erro; listaCadastroSolicitacoesComiteCreditoFavoravel(); listaCadastroPropostaSeguroGarantiaFiancaLocat(); autorizaAssinaturaTestSucesso(); LogoutGGTests.fecharGG(); LoginGGTests.testAbreGG(); telaConsultaDocumentoSucesso(); LogoutGGTests.fecharGG(); } catch(e){ Log.Error(e); } finally{ LogoutGGTests.fecharGG(); } } Look my properties: My version is 12.60Solved2.9KViews0likes5Comments