Contributions
Re: recorded script unable to find the object "GroupButtons"
tristaanogrethanks for help. I try this and keep testing, so I tell step by step: Aliases.B6.DialogCompanyAttribCodes.rbAttribType.TGroupButton.ClickButton(); Aliases.B6.DialogCompanyAttribCodes.rbAttribType.TGroupButton2.ClickButton(); Aliases.B6.DialogCompanyAttribCodes.rbAttribType.TGroupButton3.ClickButton(); Aliases.B6.DialogCompanyAttribCodes.rbAttribType.TGroupButton4.ClickButton(); Aliases.B6.DialogCompanyAttribCodes.rbAttribType.TGroupButton5.ClickButton(); this is fragment of my code, which didn't work. after that I record one click onTGroupButton2 and don't paste instead of this. Delete also new record script. Run an old fragment andTGroupButton2 works, but still not works otherTGroupButtons. Then record all five clicks on the buttons and immediately delete this record. Old code works. I think problem is an object beforeTGroupButton-s (in this case: rbAttribType), which TC should not find before new record script, even in that case if you immediately delete that new one.3KViews0likes1CommentRe: recorded script unable to find the object "GroupButtons"
I try Delay(2000) and also sleep(2000) before the TGroupButton, but result is the same. After that I record new script for groupButtons and paste it over the old groupButtons click. It works. After that I comment second line (second groupButton click) and remove the comment mark an old groupbutton click and it works also. Aliases.B6.DialogOneTimeFeeTypes.rgAppCard.TGroupButton.ClickButton(); // Aliases.B6.DialogOneTimeFeeTypes.rgAppCard.TGroupButton2.ClickButton(); Aliases.B6.DialogOneTimeFeeTypes.rgAppCard.TGroupButton2.ClickButton(); I'm am very confused what to do. Agree you that TC14 is faster than TC12, but I think this is not problem about that case. How can I increase default timeout?3KViews0likes3CommentsRe: recorded script unable to find the object "GroupButtons"
The main problem is that every groupButton in my code (and there is a lot in it) has the same problem. stops and when I reRecord script and fill it in code, it works, but there isn't any change by the view. In the old version, I had not these problem and now I should rewrite new code because of this problem, I think3.1KViews0likes0CommentsRe: recorded script unable to find the object "GroupButtons"
function OneTimeFeeTypes() { Aliases.B6.MainForm.MainMenu.Click("[8]|[10]|[17]|[0]"); //// View Aliases.B6.MainForm.MDIClient.ListOneTimeFeeTypes.ViewBtn.Click(18, 15); Aliases.B6.DialogOneTimeFeeTypes.CancelBtn.ClickButton(); //// Add Aliases.B6.MainForm.MDIClient.ListOneTimeFeeTypes.AddBtn.Click(11, 19); Aliases.B6.DialogOneTimeFeeTypes.edDescrip.Keys("ტესტკომპლიტ"); Aliases.B6.DialogOneTimeFeeTypes.edDescripLat.Click(34, 12); Aliases.B6.DialogOneTimeFeeTypes.edDescripLat.Keys("testcomplete"); Aliases.B6.DialogOneTimeFeeTypes.lcbProductCategories.Click(339, 16); Aliases.B6.DialogOneTimeFeeTypes.lcbProductCategories.Keys("[Down][Enter]"); Aliases.B6.DialogOneTimeFeeTypes.rgAppCard.TGroupButton.ClickButton(); // Aliases.B6.DialogOneTimeFeeTypes.rgAppCard.TGroupButton2.ClickButton(); Aliases.B6.DialogOneTimeFeeTypes.clbOpType.Click(444, 15); Aliases.B6.DialogOneTimeFeeTypes.clbOpType.Keys("[Down][Down][Down][Down][Down][Down][Down][Down][Down][Down][Down][Down][Enter]"); Aliases.B6.DialogOneTimeFeeTypes.OKBtn.ClickButton(); //// Change Aliases.B6.MainForm.MDIClient.ListOneTimeFeeTypes.EditBtn.Click(13, 21); Aliases.B6.DialogOneTimeFeeTypes.edDescrip.Keys(GetRandomGeorgianText(5) + "[Tab]"); Aliases.B6.DialogOneTimeFeeTypes.edDescripLat.Keys(GetTranslatedTextToEng()); Aliases.B6.DialogOneTimeFeeTypes.rgAppCard.TGroupButton.ClickButton(); Aliases.B6.DialogOneTimeFeeTypes.OKBtn.ClickButton(); //// View Aliases.B6.MainForm.MDIClient.ListOneTimeFeeTypes.ViewBtn.Click(18, 15); Aliases.B6.DialogOneTimeFeeTypes.CancelBtn.ClickButton(); Aliases.B6.MainForm.MDIClient.ListOneTimeFeeTypes.Close(); } here is my code fragment. when I record new script, there is the sameTGroupButtonMapping criteria. there is new code fragment: function Test1() { var dialogOneTimeFeeTypes = Aliases.B6.DialogOneTimeFeeTypes; var TDBRadioGroup = dialogOneTimeFeeTypes.rgAppCard; var groupButton = TDBRadioGroup.TGroupButton; groupButton.ClickButton(); var groupButton2 = TDBRadioGroup.TGroupButton2; groupButton2.ClickButton(); groupButton.ClickButton(); groupButton2.ClickButton(); var txDBLookupCombo = dialogOneTimeFeeTypes.clbOpType; txDBLookupCombo.Click(448, 12); txDBLookupCombo.Keys("[Down][Down][Down][Enter]"); groupButton.ClickButton(); var txDBMemo = dialogOneTimeFeeTypes.mmSQL; txDBMemo.Click(59, 70); txDBMemo.Keys("4564"); }3.1KViews0likes7Commentsrecorded script unable to find the object "GroupButtons"
Hello, I'm using Testcomplete 14.30.3743.7 version (License: Perpetual (Desktop)) We have desktop app, that I'm testing it with Testcomplete. There were everything OK in Testcomplete 12.60.5545.7version. But now, when I upgrade my testcomplete version, there are some bugs. There is part of my code: function test() { ... Aliases.B6.DialogOneTimeFeeTypes.rgAppCard.TGroupButton.ClickButton(); ... } There is a problem with GroupButton-s. Recorded scripts couldn't run , because program doesn't recognize GroupButtons. Problem appeared in14.30.3743.7 version. When I record new script, there are no changes in it, everything is the same, but new script runs and works correctly, before next GroupButton. We use "Record script" in javascript, not Keyword Test.3.1KViews0likes9CommentsI want some java function like faker data generator for my desktop program in Testcomplete
I'm using TestComplete for desktop program and now I want add java function in my script. something like faker data generator, to generate random keys. now I'm using javascript to test my program. and how can i integrate java in it?Solved2.1KViews0likes4Comments