Import sheet from QC to QTP
I am importing excel sheet in QTP from QC, but the path of excel sheet in qc is different on different machine while importing sheet.
C:\Documents and Settings\rxs62058\Local Settings\Temp\2\TD_80\6d27141b\Attach\ALL_LISTS373 \ALL_LISTS_373_S3_ABC.xls
Re: Import sheet from QC to QTP
Try environment variable to get the path. Like this you can get your relative path.
TestDir is an inbuilt environment variable which returns current test directory path, search for more.