I would like to get the SOAtest Project Location in an Extension Tool so that I can reference this location to open a file on the system.
In Jython, you can use the following to get the project location.
It would be similar calls in Groovy with different syntax.
'# <<< Jython >>>
'# write the project location to the console
from com.parasoft.api import *
def WriteProjectLocation(input, context):
project = context.getAbsolutePathFile(" ") # get the absolute path to the project folder
projectLocation = project.getAbsolutePath()
Application.showMessage("the Application.showMessage - projectLocation is " + str(projectLocation))
Thanks John Appeldorn! It works!