Forum Discussion
larsn
11 years agoContributor
> I don't see any obvious problem other than that, your groovy file is named xmlAssertions.groovy
> however in your code snippet you are trying to import import myscripts.XmlAssertions.
> Notice your file name starts with lower case and in code it is in upper case. To my knowledge
> groovy class names are case sensitive. Try to change it and see if it works.
Case sensitivity was the issue - that is why the scripts worked on Windows but not Linux.
Thanks.
> however in your code snippet you are trying to import import myscripts.XmlAssertions.
> Notice your file name starts with lower case and in code it is in upper case. To my knowledge
> groovy class names are case sensitive. Try to change it and see if it works.
Case sensitivity was the issue - that is why the scripts worked on Windows but not Linux.
Thanks.