I am currently researching what it is going to take to convert my 2.0 tests and modules into version 3.2.3 tests and modules.
1. I am running into an issue where Marathon 3.2.3 cannot find my resolver. I have added the full path in my classpath and have added the .java class name to the resolvers tab. For some reason, Marathon says that it cannot find the resolver. If you have some input to this, please let me know.
2. I am curious on if a resolver is even necessary in this version.
My resolver basically gets a file and sets an absolute path for it (my tests run on various servers and each server is a bit different)
Here is an example of some of the code that is in the resolver:
public static String getFile(String resourcePath) {
String path = System.class.getResource(resourcePath).getPath();
path = path.replaceAll("%20", " ");
return (new File(path)).getAbsolutePath();
}
public static String getPathFile(String resourcePath) {
String path = System.class.getResource(resourcePath).getPath();
path = path.replaceAll("%20", " ");
String absolutePath = (new File(path)).getAbsolutePath();
return getDirectory(absolutePath);
}
Has anyone done something similar and if so, did you just use a module or did you use a resolver?
FYI. Part of my resolver also gets the number of files and removes some files.
Regards,
VickiG