Forum Discussion

kamatchipriya's avatar
kamatchipriya
Occasional Contributor
7 years ago

Create Folder in project class path

Hi,

1. I am generating HTML report using groovy script.For that i am specifying path in my local.

2.And also i integrated my soapui project in maven. so it will automatically run all test cases from maven and generated report in my specified folder.

3.Now i want to create folder(ie inside target folder in my maven project)from soapui xml file using groovy script.so that i don't need to specify path in my local system.

 

Can anyone pls help to find this?

 

 

7 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Doesn't maven create that automatically?
    • kamatchipriya's avatar
      kamatchipriya
      Occasional Contributor

      ya Maven can create classpath in project folder. but i want to create folder inside maven project from soap xml file...is it possible?

       

      • nmrao's avatar
        nmrao
        Champion Level 3

        Below would get the path of the project

         

         

        def project = context.testCase.testSuite.project
        log.info project.path

        Is that what you need?