Forum Discussion
mkoron
14 years agoNew Contributor
you are looking for 'workspace', it's one step up in the hierarchy. you can access it in similar way as you access other test suites.
try:
PS. not sure why it pops the project list window, i haven't been using groovy for a while... just hit enter, info log shows names of all projects you have in your workspace...
try:
list = testRunner.testCase.testSuite.project.workspace.getProjectList();
list.each() { log.info ( it.getName() ) };
PS. not sure why it pops the project list window, i haven't been using groovy for a while... just hit enter, info log shows names of all projects you have in your workspace...