Forum Discussion
nmrao
Champion Level 3
Make sure the library files which are in your system under READY_HOME/bin/ext directory are available in the new machine you are trying to use.
NewAutoTester
5 years agoContributor
Hi Rao,
I have the library files in src/test/resources path in cucumber project in both the machines and setting them up after loading the project like mentioned below.
project = new WsdlProjectPro("src/test/resources/xml/SoapUI"); project.setScriptLibrary("src/test/resources/groovy/");
This is working for all the test cases but not all the time.
Regards
- nmrao5 years agoChampion Level 3Libraries,yYou mean below class?
"com.common.Transactions"- NewAutoTester5 years agoContributor
Hi Rao,
Yes, we created a com.common.Transactions.groovy custom class. This is not getting imported in the groovy test step some times.
Regards
- nmrao5 years agoChampion Level 3Otherway is to compile and create a jar file and copy it under READYAPI_HOME/bin/ext directory.
You may look at below library by our community expert Mr. Ruprert Anderson.
http://rupertanderson.com/blog/1-how-to-develop-add-and-use-a-custom-groovy-library-in-soapui/
Related Content
- 2 years ago
Recent Discussions
- 8 days ago