Forum Discussion
amarr1143l
12 years agoContributor
Hi Phil,
If I understand it correctly, your config and script extension are a part of same folder. Getting CurrentFolder should get you the required path, no? You could use following to obtain the path:
if from within TestComplete:
aqFileSystem.GetCurrentFolder
if from external script file (VBS), which is a part of your script extension:
set oShell = WScript.CreateObject ("WScript.Shell")
WScript.Echo (oShell.CurrentDirectory)
If I understand it correctly, your config and script extension are a part of same folder. Getting CurrentFolder should get you the required path, no? You could use following to obtain the path:
if from within TestComplete:
aqFileSystem.GetCurrentFolder
if from external script file (VBS), which is a part of your script extension:
set oShell = WScript.CreateObject ("WScript.Shell")
WScript.Echo (oShell.CurrentDirectory)