SaravanaKumar_N
12 years agoContributor
Test Complete: Child numbers are increased Massively
Hi Guys,
Greetings!!!
We are currently automating an Web Application. It has some panels and TC recognizes it. After logging into application (first action) when we check for the ChildCount of the login page, it shows less than 50. But after performing some operations like opening existing dialogs/drop down options and closing it, it shows the child counts in few hundreds/thousands.
As per my observations is like TC recognizes a Panel when opening a dialog/clicking on certain drop-down. But upon closing that dialog/drop-down options corresponding panel is not removed from the object tree, instead it stays in the tree as dummy object.
Since we use FindChild function to get the exact Panel that opened in Run Time, TC is taking much time to find that Child if there are much Panels. So we are facing the performance issue with the automation project.
I have attached screenshots (ChildCountAt_Login.jpg and ChildCountAfter_SomeOperations.jpg) of the Object Tree.
Please have a look on this and advice me on the same.
Thanks,
Saravana.
Greetings!!!
We are currently automating an Web Application. It has some panels and TC recognizes it. After logging into application (first action) when we check for the ChildCount of the login page, it shows less than 50. But after performing some operations like opening existing dialogs/drop down options and closing it, it shows the child counts in few hundreds/thousands.
As per my observations is like TC recognizes a Panel when opening a dialog/clicking on certain drop-down. But upon closing that dialog/drop-down options corresponding panel is not removed from the object tree, instead it stays in the tree as dummy object.
Since we use FindChild function to get the exact Panel that opened in Run Time, TC is taking much time to find that Child if there are much Panels. So we are facing the performance issue with the automation project.
I have attached screenshots (ChildCountAt_Login.jpg and ChildCountAfter_SomeOperations.jpg) of the Object Tree.
Please have a look on this and advice me on the same.
Thanks,
Saravana.