コード例 #1
0
 private void InitializeAppConfigurations()
 {
     _currentAppConfiguration          = new AppConfiguration(DetermineOS());
     _androidSauceLabsAppConfiguration = new AndroidSauceLabsAppConfiguration
     {
         OSPlatform = DetermineOS(),
     };
     _androidCrossBrowserTestingAppConfiguration = new AndroidCrossBrowserTestingAppConfiguration
     {
         OSPlatform = DetermineOS(),
     };
     _androidBrowserStackAppConfiguration = new AndroidBrowserStackAppConfiguration
     {
         OSPlatform = DetermineOS(),
     };
     _iosSauceLabsAppConfiguration = new IOSSauceLabsAppConfiguration
     {
         OSPlatform = DetermineOS(),
     };
     _iosCrossBrowserTestingAppConfiguration = new IOSCrossBrowserTestingAppConfiguration
     {
         OSPlatform = DetermineOS(),
     };
     _iosBrowserStackAppConfiguration = new IOSBrowserStackAppConfiguration
     {
         OSPlatform = DetermineOS(),
     };
 }
コード例 #2
0
 public void GivenOpenIOSAppInBrowserStack(string appPath)
 {
     _iosBrowserStackAppConfiguration = new IOSBrowserStackAppConfiguration
     {
         AppPath       = appPath,
         ExecutionType = ExecutionType.BrowserStack,
     };
     _currentAppConfiguration = _iosBrowserStackAppConfiguration;
 }