childObject performance issue
I am using qtp11 to test my application and I using DP.
In the same page when I run the function childObjects sometimes I got answer and sometimes not.
If the number of objects is large than it fail and return that no objects found.
If I decrease the number of objects or remove the sap add-in It does work.
For the same page with lower number of rows in table it works OK.
What can cause this ? How can it be solved ?
Huge amounts of objects in application can cause this. You should try and avoid ChildObjects in such a case and rather use the main object to access things. For a Table you can directly use the Table object methods