Forum Discussion

ahmad's avatar
14 years ago

TC 8 Unable to recognize passowrd text box

Hi there,



Hope I can get some support here :)



We are using TC 6,53  and never had any issue.

However, recently we thought to use TC 8 demo version on our new window base application, so this time application is new and TC is new :)



Problem we face is following:



1) Once I record test in script mode after stop record TC 8 give you message "TestComplete is processing the recorded command" but its never ending message and I have to forcefully close the application just to come out with this situation.  this is not always a case.



I am using OS win 7 -32 bit



2) Once I use recording using keyword script it works and finish recording but when I play back, my application does starts but  in the password panel it suppose to right the password which I recorded, BUT interestingly it did not recognize my passowrd text box.







3) Unexpected behvaior of TC 8 means hang and crush creates a lot of problems I have to forcefully shut down whenever it occurs.



example script:



This is a small example of code which suppose to work for the Login: I
also tried with keymethod instead of settext but no success.



function Test2()

{

  var explorer;

  var panel;

  var edit;

  TestedApps.DealWare.Run(1, true);

  panel = Aliases.DealWare2.wndwxMDIFrameClass.MDIClient.wndwxMDIChildFrameClass.panel;

  edit = panel.Edit;

  edit.Click(53, 12);

  edit.Keys("secret");

  panel.btnLogin.ClickButton();

}



I attached *.PJS for reference.



Thanks for support.

I.

3 Replies

  • Hello Imran,


    As far as I know, our Support Team has contacted you regarding the issue. We will continue working with you via e-mail.

  • 1222tmiller's avatar
    1222tmiller
    Occasional Contributor
    I am having a similar problem after upgrading to 8.

    here is my code:



    procedure Login_NormalLogin;

      var aclu : OleVariant;

      var tfrmPidiLogin : OleVariant;

      var rzMaskEdit : OleVariant;

      var aIsInit : boolean;

    begin

      TestedApps.MyApp.Run(1, true);

      MyAppInstance := Aliases.MyApp;

      tfrmPidiLogin := MyAppInstance.frmPidiLogin;

      rzMaskEdit := tfrmPidiLogin.pnlUserPass.edtPassword;

      rzMaskEdit.Click(1, 12);

      rzMaskEdit.Keys('xxxyyyzzz');

      tfrmPidiLogin.pnlButtons.btnConnect.Click();



    All I get are timeout errors not being able to find the objects.
  • 1222tmiller's avatar
    1222tmiller
    Occasional Contributor
    False alarm.  Someone change a panel name, so once I fixed that, it worked fine.