2017-04-20 79 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