2017-04-20 36 views

回答

0

如果你有.app捆綁使用iOSAppConfigurator.AppBundle分配應用程序的本地路徑:

[SetUp] 
    public void BeforeEachTest() 
    { 
     app = ConfigureApp.iOS.AppBundle("/your/local/Path/bundle.app").StartApp(); 
    } 

如果你有一個.ipa安裝在設備上啓用蠡-,您可以使用iOSAppConfigurator.InstalledApp來定義應用程序的包ID:

[SetUp] 
    public void BeforeEachTest() 
    { 
     app = ConfigureApp.iOS.InstalledApp("com.sushihangover.MyGreatApp").StartApp(); 
    } 

重:AppBundle/InstalledApp