Contributions
Re: Compiling With Debug Agent
Hi My developer has created a method under the 'published' section of the main form in the Delphi app. However using Object Browser, this published method is still not visible to TestComplete. Under the Delphi Project options for the app, under Compiling, we have Debug information set to True. Regards Chris Kudla1.4KViews0likes0CommentsRe: Compiling With Debug Agent
Hi David Many thanks for your reply. Will check out the Delphi utility as well. Regarding the overhead memory usegae and possible speed degradtion when using Debug Agent, this also concerns us, as when trying to address speed issues in the software, we then are comparing a released version without the Debug Agent overheads to the WIP version which has those overheads, thus making it difficult to see speed improvements or otherwise. It seems somewhat laborious to have to use the StripTDS utility each time, in the development & testing phase, to be able to make valid comparisions. At present the main issue with Testcomplete is the menu options, which are impossibly slow when using keyboard simulations. Our menus also drive off ActionLists. Is there no way of accessing the actionlist objects with TestComplete without having to use the Debug Agent? Regards Chris www.omniaccounts.co.za1.4KViews0likes0CommentsCompiling With Debug Agent
We have just recently upgarded to TestComplete 7 from a much older version (2). We use Delphi 2009 and VCL Dev Express ExpressBars 6. It now seems that unless we compile our software with the Debug Agent, we cannot set up scripts to access the variuos menu options. My developer is reluctant to embark on this project as it seems it wwill increase memory usage and make the dll's & bpl's larger. Is this the case or does the utility that strips out the TDS info sort out this issue? Also how confident can we be the the software will behave in the same way once this info is stripped out. We will no longer be able to test the software on TestComplete as we have done before every final release in the past. I'm sorry if these are silly questions but I need to establish the facts to revert back to the developer. Chris www.omniaccounts.co.za12KViews0likes6CommentsRe: Working with VCL Dev Express ExpressBars 6
Hi My Java Script is not too hot but running this against the Dev Express and making a small change I get the error "TypeMessageTimeLink Unable to find the object BarManager.13:25:28 Looking in Object Browser, there is no BarManager under the DockControl. My script looks like this function Main_Sample() Main_Sample() { // ... var wBarControl = Sys.Process("ESBarDemo").VCLObject("ESBarDemoMainForm").Window("TdxDockControl", "", 3).Window("TdxBarControl", "MainMenu", 1) var itemStr = "&File|&Open Practice..."; if (ClickByCaption(wBarControl.BarManager, itemStr, 0)) { Sys.Process("ESBarDemo").VCLObject("ESBarDemoMainForm").VCLObject("dxBarManager1") //The menu item was successfully clicked } } There are two BarManager items in the Object Browser. Sys.Process("ESBarDemo", 4).VCLObject("ESBarDemoMainForm").VCLObject("dxBarManager1Bar1") Sys.Process("ESBarDemo", 4).VCLObject("ESBarDemoMainForm").VCLObject("dxBarManager1") Regards Chris951Views0likes0CommentsWorking with VCL Dev Express ExpressBars 6
Hi I am having problems working with menus which are done using DevExpress ExpressBars6. I have followed an older post http://www.automatedqa.com/newsgroups/d.cgi?cmd=article&group=automatedqa.public.testcomplete&item=9172&utag= but the same thing no longer works. I have tried the ESBarDemo (supplier by DevExpress)and using TestComplete 7.52 I cannot seem to access the ItemLinks and TdxBarControl_1 is not available. There is now a TxDockControl which has a TDxBarControl as a child, but this has no ItemLinks. Thefact that these controls are not normally visible makes it even harder to try and work out what is going on. This is my script. procedure Test; var p, w: OleVariant; ItemCount, i; begin p := Sys.Process('ESBarDemo'); w := p.ESBarDemoMainForm; w.Activate; ItemCount := w.dxBarManager1.TdxBarControl_1.ItemLinks.VisibleItemCount; for i := 0 to (ItemCount - 1) do Log.Message(w.dxBarManager1.TdxBarControl_1.ItemLinks.VisibleItems.Caption); end; I would really appreciate some help here as I need to try and get the menu options working to test my app. Regards Chris Test;p, w: OleVariant;ItemCount, i;p := .Process('ESBarDemo'); w := p.ESBarDemoMainForm; w.Activate; ItemCount := w.dxBarManager1.TdxBarControl_1.ItemLinks.VisibleItemCount; i := 0 (ItemCount - 1) .Message(w.dxBarManager1.TdxBarControl_1.ItemLinks.VisibleItems.Caption);end;I would really appreciate some help here as I need to try and get the menu options working to test my app. RegardsChris11KViews0likes3Comments