ContributionsMost RecentMost LikesSolutionsDelphi 3rd party component recognition Hi, We made a facelift to our application and now our old tests are kind of broken - or at least they are very slow (which i understand, since TC searches for component with multiple ways). During replacment we replaced old TPanels and TSpeedButtons with TMS TAdvSmoothTileList which is derived from TCustomControl and contains Tiles (which is derived from TCollection) as far as I understand tiles look like buttons in UI but testcomplete can't see them. Recording test records click to position of TAdvSmootTileList. Is this lost case, so I have to rely on positions only or is there way to map individual items? Re: TestComplete will not pass test after system reboot. I have had similar issues. Sometimes test works perfectly, sometimes not . Biggest issue was poor or missing name mapping. I fixed namemapping and test where much much reliable. Other thing is timing. Some operations take sometimes more time than usually (windows is doing something on background etc). For example in my test I preview report and then try to close that preview. Usually one report takes 2-3 seconds but sometimes it can be 10 secs. I don't know if that helps, but these are my experiences. My apps are written in Delphi 2007. Re: Can't interact with dropdown list I had also problems with dropdown. I noticed that best way to use them was by keyboard. Just figure what keystorkes it requires and then make a procedure to do them. This code is not tested, but I imagine that it would be something like this. procedure selectfromDropDown( dropdown , index) var i; begin for i:= 0 to index do dropdown.keys('[Down]'); dropdown.keys('[Enter]'); end; Re: connection to Database showing error Hi, Has it been working before? What changed? Where does this error occur? 32 or 64 bit? Some odbc drivers are only for 32 bit apps Re: Delphi RIO 10.3 TMainMenu not working as in Delphi 10.1 Berlin It's styles, those **bleep** styles. Restored to default style and everything works Delphi RIO 10.3 TMainMenu not working as in Delphi 10.1 Berlin Hi, I have just upgraded from Delphi Berlin 10.1 to RIO 10.3. Tried to run first TC test an test stopped because it couldn't access TMainMenu. I have (or at least SHOULD have :D ) all neccessery debug info, including .tds files. (according to https://support.smartbear.com/testcomplete/docs/app-testing/desktop/delphi/preparing/compiling-delphi-xe6-xe8-and-10-applications-with-debug-info.html) and it worked with Berlin. I tried to record a new keyword test. But in that test all menu access are like MainForm click. Only one time I got menu as Popup menu (which is somehow better, but not correct) I here anyone who as managed to run tests with RIO compiled apps? SolvedRe: multi language support You can also address menus by numbers.. Aliases.YourApplication.YourMainForm.MainMenu.Click('[0|0]'); Numbers are 0 based so above clicks first item in first menu. But honestely, if something changes that is quite pain in the .... I don't know if this helps anything but i'll tell anyhow.. I have made an published procedure ClikMenuByCaption to our mainform. Because for reason or other TC doesn't find items from our menu (it's TTmsAdvMenu). If you have translations available at runtime you could try to translate text and find with that. to access this you must have *.tds files function TSKJMainForm.ClickMenuByCaption(const MenuCaption: string): Boolean; var i: Integer; Item: TMenuItem; begin Result := False; Item := nil; if menucaption <>'' then begin for i:=1 to WordCountL(MenuCaption,'|') do begin if i=1 then item:= OurMainMenu.Items.Find(ExtractWordL(1,MenuCaption,'|')) else begin if assigned(item) then item:=item.Find(ExtractWordL(i,MenuCaption,'|')) else break; if (i=Integer(WordCountL(MenuCaption,'|'))) and assigned(item) then begin Result := True; SendMessage(Self.Handle,WM_COMMAND,Item.Command,0); Exit; end; end; end; end; end; Re: How do I create test for different version of same product? is there any default support with TC? Like Robert told, it depends what are differences. We are migrating our old very experienced ( ;-) ) application from Delphi 2007 to Delphis newest version. We are forced to make some component replacement and some basic layout modification. So far I have managed to handle them by writing separete handling routines to changed components. And that routine checks what type is that component and does actions based on than. If you have same logic but for example different main formy ou could write two tests which both use same logic test. Re: Script extension method parameter Thanks, tristaanogre. It works now. Re: testexecute with /silentmode parameter does not start test Actually there shouldn't be anything to convert. I use 12.6 TC also. /forceconversion is just in case if there is something to convert in future. I run TE as normal user, from command line. silent.log is not modifed after upgrade and neither new is created when i rename it as .old Access rights should be okey, I checked them.