Micro Focus QTP (UFT) Forums
DP on large page - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: DP on large page (/Thread-DP-on-large-page)



DP on large page - hadar - 06-05-2012

Hi,

I am using the childObjects method im my app .
On some pages where I have large number of web elements I see that qtp become "not responding" and I got empty list.
On the same page with less elements it works OK.
It also works on the large page on different computer with same qtp version.

Is this known issue in qtp ? How can it be solved ?




RE: DP on large page - supputuri - 06-05-2012

HI Hadar,

Check the resources available while the script is getting the object.

1) If you are running the script on the remote box, please delete the user profile. Then once you have deleted the profile successfully, now login to the the same machine with deleted user profile and now try to execute the scenario where it will capture more number of objects.

Let me know the outcome.


RE: DP on large page - hadar - 06-05-2012

How do I check the resources while the script is running ?
I run it on my computer.

Thanks


RE: DP on large page - supputuri - 06-06-2012

Code:
msgbox SystemMonitor.GetValue ("QTPro", "Memory Usage (in MB)")
msgbox SystemMonitor.GetValue ("iexplore", "Memory Usage (in MB)")

check these values before and after the getting the child objects


RE: DP on large page - hadar - 06-06-2012

explorer - before 48 after 67
QTPro - before 58 after 67

Thanks