Forum Discussion

thalesvolei's avatar
thalesvolei
Occasional Contributor
13 years ago

Error runtime execution Microsoft JScript

Hi,



I have a problem that sometimes my test shows an exception, but if I keep trying it sometimes it works.



I'm using Jscript. 



 Thanks.

15 Replies

  • thalesvolei's avatar
    thalesvolei
    Occasional Contributor
    But the problem is that even when I record the steps, and then immediately run the same system may or may not show error.
  • thalesvolei's avatar
    thalesvolei
    Occasional Contributor

    function Test1()


    {


      var  explorer;


      var  sei;


      var  tfrmLogin;


      var  edit;


      var  tfrmMenu;


      explorer = Aliases.Explorer;


      explorer.wndProgman.SHELLDLL_DefView.FolderView.DblClickItem("Lacador", 0);


      explorer.dlgAbrirArquivoAvisoDeSeguran_a.btnExecutar.ClickButton();


      sei = Aliases.SEI;


      tfrmLogin = sei.frmLogin;


      tfrmLogin.edtUsuario.wText = "thales";


      edit = tfrmLogin.edtSenha;


      edit.Click(43, 18);


      edit.wText = "123";


      tfrmLogin.RadioGroup1.TGroupButton.ClickButton();


      tfrmLogin.Acessa.ClickButton();


      tfrmMenu = sei.frmMenu;


      tfrmMenu.Image2.Click(69, 0);


      tfrmMenu.MainMenu.Click("1-Pagamento/Auditoria|Sair");


      sei.dlgFinalizarTrabalho.btnSim.ClickButton();


    }




    that one

  • thalesvolei's avatar
    thalesvolei
    Occasional Contributor
    Not working, probably the program is trying to access an area of memory already allocated. Thanks for trying to help me, I am grateful