How to attach external files to a QTP script? - 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: How to attach external files to a QTP script? (/Thread-How-to-attach-external-files-to-a-QTP-script) |
How to attach external files to a QTP script? - richagoyalk - 05-30-2009 How to attach external .vbs files(with variables/functional etc.) to a QTP script? RE: How to attach external files to a QTP script? - niranjan - 05-31-2009 In the Settings > Resources RE: How to attach external files to a QTP script? - prabhu656656 - 09-02-2009 Is there a function that can load the .vbs files to QTP? Can I use the mentioned below 1. Load.File ""path"" 2. ExecuteFile ""Path" RE: How to attach external files to a QTP script? - Saket - 09-02-2009 Hi Prabhu, Please open a new thread for your question. you should reply under this post if you have any solution for the thread query. RE: How to attach external files to a QTP script? - basanth27 - 09-02-2009 Prabhu - Please read through the forum guidelines and ensure that you do not reopen old posts. Please create a new Post for a NEW question. Answer : Yes using the AOM you can do the task. Code: Set objQTPApp = CreateObject("QuickTest.Application") RE: How to attach external files to a QTP script? - satan - 09-03-2009 1)add some resources to test. 2)Goto File->Settings->Properties tab 3)click on generate script button a *.vbs file will be generated in users machine. go thru the file u vil have all the information u need to start QTP with a test u want to run. RE: How to attach external files to a QTP script? - Saket - 09-03-2009 Hi Satan, Request you to please do not mislead the thread, Post a reply if you have any solution to the original query. also please read the Posting guidelines. RE: How to attach external files to a QTP script? - basanth27 - 09-03-2009 Satan - Have you tried the solution you suggested ?? Have you read the post clearly ?? In the future Please ensure you enter solutions very much particular and appropriate to the Discussion and not generic suggestions. |