Micro Focus QTP (UFT) Forums

Full Version: How to pass test paramers from qc to QTP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I want to run a script from qc.which is installed in remote machine.while running the test from qc i want to pass an excel file from qc to qtp machine.
then qtp should take that excel file and run the script.How can I do this using scripting.
try this:
1. store excel file in the qc
2. set qc path where you have stored excel file in folder option
3. path = pathfinder.locate(<your file name>)
4. datatable.importsheet path, sourcesheet, destinationsheet