2015-01-21 81 views
1

我無法使用iPad運行我的量角器測試。桌面瀏覽器測試工作正常。下面是我的配置:量角器測試在iPad上使用sauceLabs失敗

exports.config = { 

    sauceUser: "xxx", 
    sauceKey: "xxx", 

    allScriptsTimeout: 120000, 
    specs: [ 
    'smoke.js' 
    ], 

    capabilities: { 
    'appium-version': '', 
    platformName: 'iOS', 
    platformVersion: '8.1', 
    deviceName: 'iPad Simulator', 
    browserName: 'safari' 
    }, 


    framework: 'jasmine', 

    jasmineNodeOpts: { 
    defaultTimeoutInterval: 120000 
    } 
}; 

這裏是輸出:

/home/ubuntu/workspace/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:113 
    var template = new Error(this.message); 
       ^
UnknownError: The Sauce VMs failed to start the browser or device 

是不是有什麼毛病我capabilites配置?

回答

相關問題