How can U get Current Directory
I have opend WR and created a scripts in WR, stored the scripts say in "C:// Automation/Scripts" folder.
Now I have opened the TD and copy the scripts .
My scripts include following code
If I run the script in WR in give the value of getvar("testname") as "C:// Automation/Scripts" .
If I run the scripts in TD if gives doffrent values ( the folder name where TD store the scripts)
But I want the current director where the WR store the scripts ie "C:// Automation/Scripts" .
How can I get this.
Re: How can U get Current Directory
In running your tests via TD, you ought to be aware that two sets of tests will exist: the tests in your local directory C:, and the tests on the TD server. This may cause you grief if you modify tests in C:\, because those modifications will not be repercuted to the tests on the TD server, unless you re-upload the test via TD.
I'm not sure that it be possible to change the TD test directory. You may need to ask MI support.
I suggest that you migrate all scripts to the TD server and that you work on WR scripts only through TD. This is what I have done.