Forum Discussion
nmrao
8 years agoChampion Level 3
What you are trying to achieve in the groovy script which you want to load?
- Vidushi8 years agoOccasional Contributor
Actually that external scripts contains all the common function that each test step uses. So rather loading it into each test step i want to load it only once in test suite level.
- Radford8 years agoSuper Contributor
As mentioned above, just put your scripts in a directory (Note: Scripts should be placed in directories named after their containing package)., reference that directory, via the Groovy Library preference and you should be good to go, no need to "load" the scripts at all.
Have a read of the above documentation links, in particular the first one.
- Vidushi8 years agoOccasional Contributor
Thanks for guiding me, I have done as mentioned by using the script as library but it is not able to find methods like this:
public static Map<String,String> getAutoConfigDetails(String fileFullPath)
Any idea??
Related Content
- 2 months ago
Recent Discussions
- 19 days ago