GetCurrentWorkingDir
string GetCurrentWorkingDir()Description
Returns the current working directory of the TestPilot execution environment.
This is typically the directory from which the AUT or the TestPilot script is started.
If the working directory cannot be determined, an empty string is returned.
Return
string - The current working directory, or an empty string on failure.
Example
void main()
{
string cwd = GetCurrentWorkingDir();
Print("Current Working Directory: " + cwd);
}