Contributions
Re: Testcomplete 9: Extremely slow test execution
I upgraded to the 9.0.1312 release, but still did not fix my slow test execution or recodingon our Java app. Version 9 takes between 4 and 5 minutes to save our Namemapping file everytime there is a change to it, rebuilding it from scratch each time. You can watch it in an Explorer window, slowly building the file. I went back ver 8.7 and it saves the file almost instantaneous . The other noticeable slowness is trying to find objects in our app. I don't know if it's a problem with how it identifies Windows Processes in 9.0, or it has something to do with the new namemapping file, but there are noticeable pauses when going from Window to Window. This issue has been out there for over 2 weeks now. Has anyone heardan update from Tech Support on what they have found so far?1.6KViews0likes0CommentsRe: Is there a way to convert my project from TC 9 to TC 8.7?
I've experienced the same disappointment. I tried to train someone today, and it ended up being "Well, this is what should happen...." session. Good news is that all the code can be reused in 8.70, but you'll need to recreate the Projects (and Suite) from scratch, then manually add the units. Really bad news is that the Namemapping file cannot be used anymore! Unless Smartbear has a backwards conversion program available, you'd have to build that from scratch. There is a newer build (1312), but it didn't solve my slowness problem.919Views0likes0CommentsGoing back to TC 8.7?
Is this a way to go back from TC 9.0 to TC 8.70? I didn't bother to back up before I upgraded, hoping that v 9.0 would be an improvement. However, it's been a step backwards for us, taking too much time to record and play back our tests. Although 8.70 had some issues, it was more reliable withour Java application. Thanks Jeremy20KViews0likes1CommentTC9 is slow recording Java App
I've noticed that TC9 is slower interacting with my Eclipse RCP app than TC8.7. It takes longer to start the recording, and longer to stop. At times, the recording control is just blank, so it's difficult to tell TC to stop. TC now even records the interaction with the recording control, so I end up having todeletethose objects from the namemapping and recording. I also noticed that when you the Namemapping file changes and you do a SaveAll, TC9 recreates the namemapping file each time. I have a file which is about 2.6 MB, and it takes 4 to 5 minutes to recreate it each time. I don't have any timings from TC8, but it was much quicker than that. Any ideas? JBC21KViews0likes1CommentRe: Object Spy dosent work realy, since version 8.60 correctly
Julia That's not the case here. At one point, I could select 2 different toolbars in Namemapping, each having different index values, and TC would highlight the same toolbar in my app (there's no way the same toolbar could have an index of 1 and 3 at the same time). Unfortunately, using index values has been the most reliable way to identify objects in my app. I use required children when possible to increase the reliability, but it's not always available. I'm working with a custom Eclipse RCP app, which is a challenge due to all the extra composite objects that Eclipse generates. Since upgrading to 8.7, Namemapping just doesn't seem as reliable. I have the problem above. It also doesn't always existing object that have already been mapped. When working with a new window or screen, I like to map all the objects so that when I record, it will use meaningful names (txtName instead of Text1). I have found with 8.7, it just ignores what I have already mapped and creates brand new window and objects. Last week, I had an issue where I had two objects with the same name mapped but located on different branches. TC kept getting them mixed up. For examples, Window1 | Group1 | txtAddress Window1 | Group2 | txtAddress Window1 | Group1 | txtAddress is the active window, and my test correctly used it until it hit an error. The error then reports that it couldn't findWindow1 | Group2 | txtAddress, which was never a part of the test. I had to delete both objects and remap to move on.2.3KViews0likes0CommentsRe: Object Spy dosent work realy, since version 8.60 correctly
I've had a similar problem with objects I've already mapped not being recognized during recording or playback. I can have a text box called "txtName" in my mapping, record a new script and TC adds a whole new window and object. If I right click on txtName and select Highlight, it highlights fine. On playback, I've had 2 toolbars with different indices (1 and 3) get mixed up. Since I haven't been able to narrow down the exact steps to recreated, not much has been done to address the problem at this point. But I do think it got worse since upgrading to 8.7.2.3KViews0likes0CommentsHow to Compare Mapped Objects
I have a couple of objects ina Java app which are similar, except that the Window Title changed. The title is difference enough that I would have to wildcard the whole title, but I'm not sure if that would work as well as it sounds. I would like to combine them into a single object. How can I compare the two objects and pick which properties to use for identification? Thanks JBC24KViews0likes3Comments