Hi Rupert,
Many thanks for your reply!!!
Yeah, its the testrunner line that sets me back to the original project.
Its 1 of those lines i don't get how it works. I have triend to put a variabele at the place of the .project. but that doesnt work, so the 'project' seems to be some statement that needs to be in that line and can't be altered.
The fun part is that the WSDL is actually imported in the new project. I don't know why exactly (if i know why, then i probably can work out why it isn't doing the same for the teststeps).
If i look at this part:
WsdlProject project = currentProject
.getWorkspace()
.createProject(projectName, new File(projectName + ".xml"))
WsdlInterface iface = WsdlInterfaceFactory.importWsdl(project, url, true )[0]
suite = project.addNewTestSuite("testsuite1")
tc = suite.addNewTestCase ("testcase1")
and i Run it, the currentProject variabele gives back the 'original project', so i am puzzled why the line 'WsdlInterface iface = WsdlInterfaceFactory.importWsdl(project, url, true )[0]' actually imports the wsdl into the right project (i mean, its the same project variabele as in the testrunner line).
Maybe its a nice side-effect of the 'createProject' line...(that he keeps the focus on the newly made project there)
I will definatly try to use the code you gave from the Action method. How dit you find that? As a newbee, i thought those commands were just fixed commands for the groovy language :) Happy surprise that there is actually a way of finding out what its really doing!
So many thanks and if i succeed, i will definatly let you know :)