![]() |
Using QC Resources from QTP - 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: Using QC Resources from QTP (/Thread-Using-QC-Resources-from-QTP) |
Using QC Resources from QTP - jjluna - 06-21-2011 Hello there, I have the following question: - I want to use QC Resources on my scripts.....how do I do it? I do not want to add resources to the script, I would like to do it directly in the code. The scenario is: I have The resources main folder and from there I have three more: Images, Excel and Others. From images I want to use the files inside that folder while uploading images from my application. From excel I want to use the files to import those as my datatables on my script (in real time, as I may needed). From Other I want to use the files inside that folder as drivers for my scripts, most of them are txt files, so I just want to open them get the value in and continue my execution. At this moment all works fine using my local computer, but now I want to move it to QC, but cannot find the way to get the path inside QC for the resources, so I can use them. Any help is appreciated. |