It looks that you pass the wrong params
to org.netbeans.jemmy.Test.main
. It expects implementation of Scenario
. Assuming that Main
is in default package, try the following:
public static void main(String[] argv) {
String[] params = { "Main" };
org.netbeans.jemmy.Test.main(params);
}
You can specify the package of Main
as needed.