larkking
8 years agoNew Contributor
Upgraded to ReadyAPI 2.2 Now my FileNameFinder call does not work in Groovy step script
For lines: def pathToResults = context.('${#Project#jenkinsWorkspace}') + "\\" + jenkinsName + "\\" + "LarkStuff\\" //find the file result*.xml def xmlResultFiles = new FileNameFinder().getFileN...
- 8 years ago
Did more research and found that FileNameFinder.class is in groovy.util package. A pretty basic package - and it is present in
C:\Program Files\SmartBear\ReadyAPI-2.2.0\lib\groovy-all-2.4.4.jar\groovy\util\ - and same in ReadyAPI 1.8.5. (using 7zip to view the jar file)
What i found out from some team members though - we have to install the ant jars into the ReadyAPI/lib directory:
ant.jar
ant-jsch.jar
ant-launcher.jar
jsch-0.1.50.jar
So you were right on....Thanks!