Micro Focus QTP (UFT) Forums
Fucntion to display current working directory - 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: Fucntion to display current working directory (/Thread-Fucntion-to-display-current-working-directory)



Fucntion to display current working directory - prabhu656656 - 09-02-2009

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


RE: Fucntion to display current working directory - Saket - 09-02-2009

'TestDir' is the evironement variable which will give you the path of test.

use
Code:
Environment.Value("TestDir")



RE: Fucntion to display current working directory - prabhu656656 - 09-02-2009

Thanks Saket.

It worked.