Contributions
Chrome Page Element Issue
I'm currently using TestComplete 8, but have also downloaded and installed TC 9 in an effort to address this: In TC8, Chrome has the Page listed as a child of the process, but it doesn't have any of the sub objects, even after refreshing. I have seen, on rare occasions, this information populate seemingly randomly after awhile. In TC9, I'm not seeing the Page listed as a child of the process, so I get different behavior. There used to be a setting to tell TC to list the Page as a child of the main process, but I don't seem to be able to find it. Anyone have a similar issue?6.3KViews0likes1CommentRadioButton with an onclick property and event...
I'm currently working with TC 7.52 and IE8. There is a Radio Button in the application which fires a Javascript Post Back "onclick". I haven't been able to find a way to smoothly wait for the page to finisha post back without first identifying that the control is associated with one (other than causing every manipulation of every control to have a delay). This particular control gives the only indication that it will cause a Post Back in a property which is named "onclick". In the Object Properties it shows the text, including the anonymous function which contains text which I can visually see is a Post Back. Unfortunately, if I try to access this property, it appears that I get the "onclick" event, rather than the property. (In fact, though the Object Properties shows the text, when I click on the symbol on the right to get the full text, it shows an object which appears to be the event). Is there any way to tell TC to use the property, rather than the event?19KViews0likes3CommentsRe: Extended Find_NameMapping vs. FindChild
FindChild on an entire page can be fairly slow. The solution I've used for this in the past is to do something akin to what AQA is suggesting, which is to narrow the search. If your page has 5 main panels, for instance, you can gather the panel that the control is a part of when you first identify it, so that you can either directly address the panel (if it's static), or use a FindChild with a low depth value to get the panel, then FindChild from there to get the specific control. It really depends on the structure of your page (ours had 5 panels, which were all children of the Form, which made finding them quick - and that cut down the raw number of objects we had to search significantly).814Views0likes0CommentsRe: TC 7.52 working with Delphi App - New crash behavior
I decided to examine the caption property for the objects which are loaded when this happens. After scrolling through a few hundred objects, I came across something indicating it's part of "WMS Notif Engine", where the Caption property was "W ?||??", and when I copied that caption into Wordpad it had several line breaks in it. Windows Media Server (WMS)seems to be involved with the Microsoft Script Debugger, as well as MAPI/Outlook. Anyone ever run into this?1.1KViews0likes0CommentsRe: TC 7.52 working with Delphi App - New crash behavior
Looking at the bug fixes for 7.52, this may be related to changes to the Caption property. I'm using Windows XP, and the code above is being called with the following parameters: property = "Caption" value = "Add Opportunity" depth = undefined So effectively it's calling FindChild("Caption", "Add Opportunity", 30), since depth is defaulted to 30 earlier in the function. Could this be a side effect of the changes to make the Caption property perform correctly in Windows 7?1.1KViews0likes0CommentsTC 7.52 working with Delphi App - New crash behavior
I'm running into an odd crash resulting from a FindChild call, and working with the object returned. Here's the function that's triggering it: function slxCoreFind(property, value, depth) { var control, found; if (depth == undefined) depth = 30; found = Sys.Process("SalesLogix").FindChild(property, value, depth); if (found != null && found.Exists && IsSupported(found, "FullName")) return found.FullName; else return null; } It appears the application (SalesLogix) is crashing when I try to examine the found object that was returned by FindChild. After the app crashes, I can still examine the found object (by setting a break point), and it appears to have managed to find the object, though of course the RPC server is showing up as unavailable due to the crash. This script worked under TC 7.5116KViews0likes4CommentsPause test execution on posting an error
Currently this setting doesn't quite do what it says. If you create an exception handler which will prevent the error from actually posting to the log, having this option set will cause code execution to pause on the first line of the handler. If we could either get this fixed (so that it only happens when there is actually an error posted to the log), or alternatively another option that does that, it would be extremely helpful.16KViews0likes1CommentExtremely Slow Performance
I'm encountering extemely slow performance when trying to view Object Properties with TC 7.52. I've tried using the drag and drop method, as well as the Ctrl-Shft-A method of selecting the object. I'm running XP with IE 8, and trying to view objects on a SharePoint site. So far, it takes at least 5+ minutes for TC to start responding again, if it does. I had the same issue with 7.51, and recently upgraded trying to fix some of these types of issues.18KViews0likes1Comment