Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use ExecuteFile() ??
#1
Solved: 11 Years, 4 Months, 2 Weeks ago
Hi,
I need to import file. I m using ExecuteFile() for importing file, but i have an error on this function. May b i m not using it with right path.
The scenario is that i created a script with named "Test2", in which i implemented functions, and i have to use those functions from this file. I have another script file named "Sequence", i have to use functions of script file "Test2" in "Sequence" script file of QTp.
i m doing this:
ExecuteFile ("D:\Test2.mtr")
but it is giving error.
I also tried the following all:
Code:
ExecuteFile ("D:\Test2\Action0\Resource.mtr")
ExecuteFile ("D:\Test2\Action0\Script.mts")
ExecuteFile ("D:\Test2\Action1\Resource.mtr")
ExecuteFile ("D:\Test2\Action1\Script.mts")
ExecuteFile ("D:\Test2\Parameters.mtr")

but all are giving errors.
Please tell me, where i m wrong?

Thanks
Reply


Messages In This Thread
How to use ExecuteFile() ?? - by Star - 07-30-2009, 12:53 PM
RE: How to use ExecuteFile() ?? - by KVK - 08-03-2009, 11:29 AM
RE: How to use ExecuteFile() ?? - by Saket - 08-03-2009, 01:25 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)