Micro Focus QTP (UFT) Forums
Write QTP code in Notepad - 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: Write QTP code in Notepad (/Thread-Write-QTP-code-in-Notepad)



Write QTP code in Notepad - TurtleRock - 10-17-2011

Hi,

Is it possible to write the code of QTP in a noramal editor(eg. Notepad), and for execution we can use QTP for the same code.




RE: Write QTP code in Notepad - Ankesh - 10-17-2011

Yes. U can write the code in notepad and save it with extension .vbs.


RE: Write QTP code in Notepad - Acharya_silu@yahoo.com - 10-17-2011

ANS:
Hi,

Yes u can write the code in a notepad and then Save the file in .txt or in .vbs and after that for execution u can use that same code in QTP.

Thanks


RE: Write QTP code in Notepad - TurtleRock - 10-17-2011

Thanks for quick response Smile

I am confused on how do I write code to call a reusable action in the script using notepad itself.