Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fucntion to display current working directory
#1
Solved: 10 Years, 9 Months ago
Hi,

Is there a function that can get the current working directory of the test.
I believe there is surely one, could any of you guys please help me with this.

Thank You
Reply
#2
Solved: 10 Years, 9 Months ago
'TestDir' is the evironement variable which will give you the path of test.

use
Code:
Environment.Value("TestDir")

Reply
#3
Solved: 10 Years, 9 Months ago
Thanks Saket.

It worked.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Select Current Date from a Calendar Control qtpbeginner78 11 24,654 06-04-2013, 05:38 AM
Last Post: qtpbeginner78
  .Sync is NOT waiting for browser to complete current navigation.. can anyone help? mansis 4 4,293 09-14-2012, 06:53 PM
Last Post: mansis
  Current Test in folder option Kakashi 1 2,543 02-15-2012, 11:12 PM
Last Post: inborntester
  How to check current active screen? GanesanAnand 1 3,883 11-25-2011, 08:58 AM
Last Post: ravi.gajul
  QTP11 - User Requested Cancel of Current Operation mkuhlmann 0 2,993 10-17-2011, 06:09 PM
Last Post: mkuhlmann

Forum Jump:


Users browsing this thread: 1 Guest(s)