Micro Focus QTP (UFT) Forums
How to make configurable script for Debug mode and Run mode? - 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: How to make configurable script for Debug mode and Run mode? (/Thread-How-to-make-configurable-script-for-Debug-mode-and-Run-mode)



How to make configurable script for Debug mode and Run mode? - Uma - 09-15-2011

Hi,
I asked to write a configurable script for Debugmode and Runmode.
[because our application is taking 17 minutes for 8 iterations and it is sending email too.]
I am using wait statements and print statements and Exist if loops.
They are asking me to keep the print statements for Debug mode
If it is in running mode I don't need print statements.How to do that?
How to keep the configurable scripts for Debugmode and Runmode?
How to reduce the runtime?
Thank you,
Uma