Micro Focus QTP (UFT) Forums
Script execution slows the application - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Script execution slows the application (/Thread-Script-execution-slows-the-application)



Script execution slows the application - sharmi84 - 03-25-2011

Hi Ankur,

My application is very slow when i excute my script. Its slower than the manual execution.

What might be the reason for this.

I've given more 'sync' since the application took mor etime to load each page.

I've also added the properties for most of the objects from the object identification option. Pls help me fix this to reduce the time consumption

Regards,
sharmila


RE: Script execution slows the application - basanth27 - 03-25-2011

I am not ankur. But here is what i can ask you to check,

1. What is the syncronization timeout set?
2. Does your sync contain time defined in the script?
3. Are you using Smart identification inspite of the additional properties?
4. How have you designed the scripts?
5. Are there unencessary loops?

You may want to take one script as an example, find out each step as to what is consuming the time and fix it first. Later, apply the same to the rest of the scripts.


RE: Script execution slows the application - sharmi84 - 03-25-2011

Hi Basanth,

Thanks for your reply. PLease find my anwsers for your questions:

1. What is the syncronization timeout set?
20 secs
2. Does your sync contain time defined in the script?
I have not defined any time limit for those sync's
3. Are you using Smart identification inspite of the additional properties?
I am not using Smart identification - it is disabled
4. How have you designed the scripts?
I recorded them and have set logical loops and conditions only whenever required
5. Are there unencessary loops?
There are no unencessary loops in my code

Kindly help me put

Regards,
Sharmila.