Forum Discussion
- agareevNew ContributorHi Alex,
Please pass to Dev team the following code snippets.
1:
PropNames = Array("processname", "index")
PropValues = Array("iexplore", 1)
Set IEProcess = Sys.FindChild(PropNames, PropValues, 1, True)
2:
PropNames = Array("processname", "index")
PropValues = Array("iexplore", 1)
Set IEProcess = Sys.FindChild(PropNames, PropValues, 100, True)
They both used to be working instantly.
Now (2) takes a few minutes.
It seems like in TC9 the search algorithm keeps looping through the processes and children even when the matching object has been found. Break the loop!
Thanks,
Albert
Hi Albert,
Thanks for sharing the samples here!
I am seeing the performance difference as well when running the code in version 9.0, as compared to version 8.70.
I will check with the Dev Team regarding this behavior, and report the results back to you.
Hi Albert,
Here is an update on this:
The performance problem with the FindChild method will be fixed in the next TestComplete update (should be released in October). Thanks for reporting it!- leftend86Occasional ContributorAlex,
Perhaps in the wrong thread but... Recording takes a long time to begin. The scenario is that I map items and then select Record. TestComplete.exe goes to 50-78% of CPU and takes more than 20 minutes to return, ready to record. If I select Record with the mapping changes saved, TC9 starts immediately. The workaround is to save first, then record.
If it matters, the newly mapped items were 15 layers deep from the main application. Only the bottom 3 were mapped the second time.
Jon
Hi Jon,
Thanks for reporting this problem. I have just tried a similar scenario - mapped 5 objects on the 20th level, but the recording started instantly, even though I did not save the changes before clicking Record. So, it looks like there is some specifics in your steps or environment. Can we get some more details on this?
What is the exact version of TestComplete (Help | About...)?
Do you open your project suite from a network location / a network drive?
Is your project suite bound to an SCC system? If it is, what SCC system is used?
Can you reproduce the problem using the same exact steps, but with a newly created project suite (all default settings) located on your local disk?
Thanks in advance for sharing the details - they should help us isolate the problem!
Hi!
As you probably know, TestComplete 9.10 has been released recently. We've done a lot of optimization based on the feedback in this thread!
So, now it would be really interesting to hear back from people contributed in this thread. How is it going with TestComplete 9.10? Any feedback?- agareevNew ContributorHi Alex,
Unfortunately, no performance improvement for FindChild.
You can retest with the same code snippet as I posted above - it's still extremely slow.
Thanks,
Albert - hlalumiereRegular ContributorThe speed has improved in some cases, but now TC9.10 is completely unusable for my test project, as it breaks compatibility with the Janus GridEx and ActiveBar controls which we use extensively. I submitted a support ticket last week, and opened two threads about specific issues with this version and still have got no response. In addition another issue with CPU usage of the IDE remains without response for more than two weeks.
Albert,
I confirm that the FindChild issue still exists in TestComplete 9.10, even though the problem was marked as resolved in an earlier build. The problem has been returned to the Dev Team for investigation. I will update you on the status in your M0104520 support case. Thanks!
Hugo,
Our Dev Team is actively working on these two issues in your M0105437 case. We will do our best to sort things out as soon as possible.
Thanks for reporting those!
Everyone:
Do anybody else see complexities with the upgrade? Make sure to let us know - we are ready to put the required efforts from our side to help TestComplete users if something goes wrong during switching to TestComplete 9.10!- culisseContributor
Below is my Active (I hope!) support ticket as I experience drastically slower performance in TC9. Thank goodness I installed 9.0 on only one of my VMs and so I still use TC8.7 almost exclusively. I had hoped TC9.1 would fix the issue but it has not. I hope they are still working on this.
From: SmartBear QA Support [mailto:QA-Support@SmartBear.com]
Sent: Tuesday, July 17, 2012 11:36 AM
Subject: RE: [Issue# M0101191] Snippet #1 from M0100870: Lower performance in TC9, Extended Find is used
Hello Chris,We have found an issue in TestComplete 9 that can result
in the problem you faced: TestComplete 9 accesses the process of the browser
via the Sys.Browser method. Turns out, this method works much slower than the
Sys.Process method used in TestComplete 8. We will work on the issue.In the meantime, please try modifying your test so that
it obtains a reference to the Internet Explorer process only once. For example,
you can use Name Mapping to map the Sys.Browser("iexplore") object
and access the browser via the mapped name. Is it an acceptable workaround for
you?Best regards,
David
Related Content
- 3 years ago
Recent Discussions
- 2 days ago