TestComplete 11.0 - Memory Issue
Environment Details: Windows 7, 64 Bit, 8 GB RAM TestComplete 11.0 Project Details: Used NameMapping Approach Defined All object references in one script file as Global Variables. There are 3000+ Variables. Reading and Writing Data from Excels Problem: When i open my project. RAM usage is 320-340 MB When i run any of my test function RAM usage will increase to 450-500 MB If i keep on running test functions RAM usage will increase to 800+ MB This is making my test execution go slow and crashing application under test. Anybody faced this kind of issue ? Why RAM usage will be increasing every time ? Is there any memory leakage ? Why after execution RAM usage is not coming to normal ?5.4KViews1like18CommentsDropDown object don't have ClickItem method.
Hi, i'm trying to test PowerBuilder application but drop downs are not working correctly. From what I found, there should be ClickItem method on dropdown object, but I can't see that method on list. I can click dropdown but then when i'm trying to click on it's object, with dropdown.child.Click(); nothing happens. I tried to map this dropdown to Win32 Controls and Windows/Combo box/ but it did not work, the message was "The selected object does not match the criteria of the "Combo box" group. Thank you for all your help. PS: I'm using JSSolved5KViews0likes17CommentsWaitCell and object does not exist
Afternoon folks, I'm running into an intermittent issue I hope have you have ideas about. There are loads of questions that are ALMOST the same, but none of them seem to be quite what I'm experiencing. Short summary: if I use WaitCell, very occasionally the WaitCell call itself causes "The object "Cell(0,0) does not exist" error. The test will continue running, but because there's an error, the test is marked as failed. the code: grid.RefreshMappingInfo(); // I can sort the grid, so need to refresh the mapping just in case, else the mappings will be broken var waitCell = grid.WaitCell(0,0,10000); //The object doesn't exist and is output to the error about 0.5 seconds after the call grid.FindChildEx(… //this works again I'm using it as a way to confirm that RefreshMappingInfo()has completed before I try and use Find methods again. At worst it should return a stub, right ?Solved4.7KViews0likes15CommentsHow to reach the expected object to map in a combox
Hello all, I have an issue to map an object inside a combo box. Steps followed : - On TC, click on map object icon and select Point and fix option - On my app, open the combo box, point object to map and press shift + ctrl + A - Check object map : I map the border of my object not the object itself. I tried some many times and I also got the same result, I'm not successed to catch only the object, without the border. Full path of the object expected for :[...].WPFObject("ToggleButton", "", 1) Full path of the object mapped : WPFObject("ToggleButton", "", 2).WPFObject("ButtonBorder") Is it possible to "delete" this part ".WPFObject("ButtonBorder")" from the full path ? NB: usually I used the tree for "Object Browser" but because it's a combo box it's not possible (the combo box closed itself and I click somewhere else) Thank you AliciaSolved4.6KViews0likes12CommentsExists and Find Child Property didn't work
Dear Team, Today suddenly i got below type mismatch issue in various screen while executing script .It was working fine last night and also working fine in other workstation today without change . I really felt so bad because I am unable to figure out route cause and also same script worked well in last night and other work station.I have reinstalled test complete 2-3 time but i didn't get answer why still happening this issue . I tried to debug function and realized that it is giving error when 'Exists' method called .When i debug code line by line it is working fine but when i removed debug point then it is still giving same error . Could you please help me on this? Thanks you AmitSolved4.5KViews0likes14CommentsShare NameMapping, scripts unit working with team
Hello, I was thinking about how best to reuse NameMapping and script with other projects, so that a change in one project reflects on another project. File jpg is attachment. So, only map objects at General Projects. Merge each NameMapping project at NameMapping from General Projects. Share generic scripts with others projects(I know it's possible, Script > Add > Existing Item). About control version at Team Foundation Version Control: If we are working with teams, is this the better way to share same objects in NameMapping and functions already created ? Is better way to reuse ? I didn't find something like that.Solved4.4KViews0likes10CommentsTest Complete takes too long to find an object
Hi, There's something it's bothering me andit's making mytests run slower than I'd like to. I'm having (performance)problems finding an object in the screen. The application under test (asany other) shows MessageBoxes to confirm/askfor user interaction. To find such view I use the following code: var base = Sys.Process("MyProcessName"); base.FindChild("ClrClassName", "MessageBoxView", 3); There's nothing wrong with it and it works just fine. There's only one quirk. It takes almost 2seconds tobe able to find the view. BUT, during my investigation I found out that the second time Test Complete tries to find the view, it takes only about 50ms. Thatsecond-time behaviour doesn't benefit my tests at all, because that view is always destroyed (dismissed upon user interaction) and it's always "the first time" when Test Complete needs to find another MessageBox. Why is that happening? Why is it taking soooo long the first time? Is there a way to fix this behaviour? It doesn't take that long to find any other view within themain window of the application.4.2KViews0likes9CommentsIterating through items
Hey everybody, me again This time, my issue is that I have to iterate through a series of objects. The objects have objectID '0', '1', '2', and so on, but the amount of objects is not fixed. What I tried is creating a Project Variable, and go for while(Aliases.browser.pageCockpit.frameUserMenu.panelIterative.Exists) { Aliases.browser.pageCockpit.frameUserMenu.panelIterative.Click(15, 20); Project.Variables.panelIterativeIdentifier++; } And set the ObjectID identifier in namemapping to panelIterativeIdentifier as well. It just doesn't work, it keeps going for the object with the ObjectID of 0. What am I doing wrong?Solved4.2KViews0likes9CommentsIs Testcomplete compatible with Angular Material?
I have this html , taken fromhttps://material.angular.io/components/select/overview To see the rendering of the code below go tohttps://stackblitz.com/angular/vvqbegyprlm?file=package.json <form> <h4>mat-select</h4> <mat-form-field> <mat-select placeholder="Favorite food" [(ngModel)]="selectedValue" name="food" role="SELECT"> <mat-option *ngFor="let food of foods" [value]="food.value"> {{food.viewValue}} </mat-option> </mat-select> </mat-form-field> <p> Selected food: {{selectedValue}} </p> <h4>native html select</h4> <mat-form-field> <select matNativeControl placeholder="Favorite car" [(ngModel)]="selectedCar" name="car"> <option value="" selected></option> <option *ngFor="let car of cars" [value]="car.value"> {{car.viewValue}} </option> </select> </mat-form-field> <p> Selected car: {{selectedCar}} </p> </form> when I spy this object it finds all the panels for the <div class...> objects but doesnt recognize the <mat-select class...> but it correctly identifiesnative html select <select> with wSelectedItem property . Does Testcomplete not support custom html tags? Or is it somehow possible to add those custom html tags to the object spy4.1KViews0likes5CommentsProblems with TestComplete 15 and Chrome 113
Test Complete Version:15.51.4.7 x64 Chrome Version:113.0.5672.63 Hello, we are having problems running tests after updating Chrome from 112.0.5615.138 to 113.0.5672.63. No more elements are detected in the test and the following error is logged: The window with the handle 0x000000 does not exist. Also no new elements can be mapped in the NameMapping. These are not recognized. The TestExtension in Chrome seems to work, because the test can navigate via URL in the browser. An update to the latest TestComplete version and also a reinstallation of the TestExtension plugin did not solve the problem. Is there any known incompatibility between TestComplete 15.51.4.7 and Chrome 113? Best regards4.1KViews6likes37Comments