????1??appium???? No Reset

????2?????????:capabilities.setCapability("noReset"?? true);   //??????????
????3?????????????appium ?????? --no reset ??????????????????????appium??????????????????
????ps:????????????????3??apk??????С??3?????????????????????????????????
????@BeforeMethod
????public void setUp() throws Exception{
????//set up appium????apk·??
????File classpathRoot=new File(System.getProperty("user.dir"));
????File appDir=new File(classpathRoot?? "apps");
????File app=new File(appDir?? "hlct_201604141758_2_0_1_release_signed.apk");
????//???????????????
????DesiredCapabilities capabilities=new DesiredCapabilities();
????// capabilities.setCapability("noReset"?? true); //??????????
????capabilities.setCapability(CapabilityType.BROWSER_NAME?? "");
????capabilities.setCapability("platformName"??"Android");
????capabilities.setCapability("deviceName"??"m1 metal");
????//????android???汾
????capabilities.setCapability("platformVersion"??"5.1.4");
????//if no need install don't add this
????//????apk ??·??
????capabilities.setCapability("app"??app.getAbsolutePath());
????//support Chinese???????????
????capabilities.setCapability("unicodeKeyboard"??"True");
????//??????????????
????capabilities.setCapability("resetKeyboard"??"True");
????//no need sign ????????apk??????????????ú??б?????????е?apk????????????????????
????capabilities.setCapability("noSign"??"True");
????//????app????????????????
????capabilities.setCapability("appPackage"??"com.my089");
????// capabilities.setCapability("appActivity"??"cn.jpush.android.ui.PushActivity");
????capabilities.setCapability("appActivity"??"com.my089.activity.welcome.WelcomeActivity");//??????????????activity
????//?????
????driver = new AndroidDriver<WebElement>(new URL("http://127.0.0.1:4723/wd/hub")??capabilities); 
????}


????