Contributions
Re: Testcomplete not responding while trying to commit a Dialog (Win10 Desktop Application)
Hi Robert, Thanks for your reply. I just tried it, but unfortunatly with the same problem. Regards, Thomas. begin Aliases.Handwerk.MainForm.dxRibbon.ClickItem('[0]|Mandanten|Mandantensicherung'); Delay(3000); Aliases.Handwerk.ClientBackup.btnNext.Click(); Delay(3000); Aliases.Handwerk.ClientBackup.btnNext.Click(); Delay(2000); Aliases.Handwerk.ClientBackup.LayoutControl.ed_TargetDir.TcxCustomInnerTextEdit.Keys('c:\temp'); Delay(3000); Aliases.Handwerk.ClientBackup.LayoutControl.edHowToSave.ClickItem('ZIP-Archiv (Normal)'); Delay(3000); Aliases.Handwerk.ClientBackup.btnNext.Click(); Delay(3000); Aliases.Handwerk.ClientBackup.btnNext.Click(); Delay(3000); Obj:=Sys.Process('Handwerk').Window('#32770', 'Informationen', 1); Obj.Keys('[Enter]'); end;1.4KViews0likes2CommentsTestcomplete not responding while trying to commit a Dialog (Win10 Desktop Application)
Dear community, I hope you can help me with the following problem. (Excuse my english) While trying to commit this Dialog, testcomplete does not respond anymore after the second Aliases.Handwerk.ClientBackup.btnNext.Click(); The little dialog which appears within the Tested Application is mapped alright but i just cannot commit it. If i try to stop the test, Testcomplete says "stopping..." but does not respond anymore. Only if i manually commit the Dialog it carries on. procedure Mandantensicherung; Var Obj: OleVariant; begin Aliases.Handwerk.MainForm.dxRibbon.ClickItem('[0]|Mandanten|Mandantensicherung'); Aliases.Handwerk.ClientBackup.btnNext.Click(); Aliases.Handwerk.ClientBackup.btnNext.Click(); Aliases.Handwerk.ClientBackup.LayoutControl.ed_TargetDir.TcxCustomInnerTextEdit.Keys('c:\temp'); Aliases.Handwerk.ClientBackup.LayoutControl.edHowToSave.ClickItem('ZIP-Archiv (Normal)'); Aliases.Handwerk.ClientBackup.btnNext.Click(); Delay(2000); Aliases.Handwerk.ClientBackup.btnNext.Click(); //At this Point Testcomplete does not respond anymore. If i manualy stop the test it says "stopping..." and stays like that. //I need to comit that "informations" Window somehow but not even the delay gets executed Delay(2000); //This ist the Object i am trying to commit Obj:=Sys.Process('Handwerk').Window('#32770', 'Informationen', 1); Obj.Keys('[Enter]'); end; One last information which might be helpful: If i manually navigate through the Assistent until the Dialog with the 'ok' Button appearsi can commit it by starting the following procedure within Testcomplete: begin Obj:=Sys.Process('Handwerk').Window('#32770', 'Informationen', 1); Obj.Keys('[Enter]'); end; 2. If i do not use theAliases.Handwerk.ClientBackup.btnNext.Click();and instead use a tdxbarcontrol.click with coordinates the whole thing works fine. This procedure runs fine and commits the last Diaolog as it should. However i cannot work with coordinates as the test has to run on different clients with different screen resolution. procedure Test14; var handwerk : OleVariant; var tdxBarControl,Obj : OleVariant; begin handwerk := Aliases.Handwerk; tdxBarControl := handwerk.ClientBackup.dxBarDockControl1.TdxBarControl; tdxBarControl.Click(184, 12); tdxBarControl.Click(184, 12); Obj:=Sys.Process('Handwerk').Window('#32770', 'Informationen', 1); Obj.Keys('[Enter]'); end; edit: I also tried it with the mapped name, no differenz as the script does not seam to get to that point.1.5KViews0likes5Comments