@BeforeClass public static void startSlendroidServer() { SelendroidConfiguration configuration = new SelendroidConfiguration(); configuration.addSupportedApp("D:\\automation\\selendroid\\91xiongmaokanshu_5700.apk"); selendroidServer = new SelendroidLauncher(configuration); selendroidServer.lauchSelendroid(); } @Before public void setUp() throws Exception { SelendroidCapabilities capabilities = SelendroidCapabilities.device("com.nd.android.pandareader:5.70"); driver = new SelendroidDriver(capabilities); }