kamatchipriyaOccasional ContributorJoined 8 years ago15 Posts1 LikeLikes received1 SolutionView All Badges
ContributionsMost RecentMost LikesSolutionsRe: Create Folder in project class path As i mentioned in my screen shot add folder in my maven project from groovy script. i am really struct here.. can you pls help me for this? Re: Create Folder in project class path Still i didn't get the answer. can anyone pls suggest me? Re: Create Folder in project class path From your code i can get the my soapui project xml location..but i want to create the folder in my maven project from soapui groovy script... Re: Create Folder in project class path ya Maven can create classpath in project folder. but i want to create folder inside maven project from soap xml file...is it possible? 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? Re: Run Soapui project from maven Thank you. It is a great idea..works fine.. Run Soapui project from maven Hi, i am running soapui project from maven by adding dependency in pom.xml. it is working fine. but i want to run particular test cases from maven. Is there any option to add particular test case and test suite name? i am using soapui free version. Can anyone give suggestion for this? Here is my code <plugin> <groupId>com.smartbear.soapui</groupId> <artifactId>soapui-maven-plugin</artifactId> <version>5.3.0</version> <dependencies> <dependency> <groupId>com.smartbear.soapui</groupId> <artifactId>soapui</artifactId> <version>5.3.0</version> <exclusions> <exclusion> <groupId>javafx</groupId> <artifactId>jfxrt</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <configuration> <projectFile>soapui/user-provisioning-soapui-project_27_05_17.xml</projectFile> <outputFolder>target/surefire-reports</outputFolder> <junitReport>true</junitReport> <exportAll>false</exportAll> <printReport>true</printReport> <projectProperties> <value>Environment=devStagingVM1</value> <value>endpoint_services="www.gmail.com"</value> </projectProperties> </configuration> <executions> <execution> <id>soapUI</id> <phase>test</phase> <goals> <goal>test</goal> </goals> </execution> </executions> </plugin> SolvedRe: Run Soap UI prompt from command prompt Thank You. i found solution for this. i am running my environment variable by setting as a global property and get it from command prompt using -P. Re: Run Soap UI prompt from command prompt Hi I tried your code. but i am getting following error. can you pls explain this briefly? #Error groovy.lang.MissingMethodException: No signature of method: static com.eviware.soapui.support.UISupport.showPopup() is applicable for argument types: (java.lang.String, java.lang.String, java.util.ArrayList) values: [Select an Environment, Test Environment, ...] Possible solutions: showPopup(javax.swing.JPopupMenu, javax.swing.JComponent, java.awt.Point) error at line: 33 #Here is my Code: def environment = ''; if(UISupport.isHeadless()){ environment = project.getPropertyValue("my.environment.prop") ?: "Devlocal" }else{ UISupport.showPopup("Select an Environment", "Test Environment", ['Devlocal', 'Staging-VM1', 'Staging-VM2' ]) } Re: #HTTP_STATE:null in script Assertion I found solution for this.. thank you..