//Already set the noReset flag to true in Desired capabilities
@Test
public void testSomeThing()
{
syso("Do something")
}
@AfterMethod
public void closeApp()
{
driver.closeApp();
}
@Test
public void WantToOpenAppWithoutResetinIos()
{
driver.launchApp();
//carry on with testing
}
但問題是模擬器在每次測試後都會重置;任何關於解決問題的指針?我不想在每個狀態之後重置iOS模擬器,我想使用test1中輸入的數據用於test2。防止應用程序在模擬器/實際設備中重置iOS appium
需要更多信息,特別是關於您使用的軟件版本和您的測試環境。 –
@YuZhang:appium java客戶端3.0.0; appium版本1.4.0;模擬器5s 8.4;讓我知道如果你知道更多的信息 – Rancho