我正在開發Phonegap/Cordova 3.0 Android(混合)應用程序,並且想要進行UI測試。我試着運行Appium和Selendroid(http://selendroid.io/)我在Win 8.1 x64上運行,並使用Visual Studio 2012和Selenium 2.37 nuget包編寫測試。Windows上的Selendroid 0.5.1:獲取INSTRUMENTATION_FAILED
該應用程序已加載好,以及selendroid在我的Android模擬器運行通過eclipse。
嘗試通過該工具啓動應用程序時出現此錯誤。有任何想法嗎?
android.util.AndroidException: INSTRUMENTATION_FAILED:
com.example.femmapp.selendroid/io.selendroid.ServerInstrumentation
錯誤消息和堆棧跟蹤是:
A session is either terminated or not started (Original error:
android.util.AndroidException: I
) (NoSuchDriver)AILED:
com.example.femmapp.selendroid/io.selendroid.ServerInstrumentation
at
OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response
errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String
driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities
desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor
commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(Uri remoteAddress,
ICapabilities desiredCapabilities, TimeSpan commandTimeout)
at FEMM.IntegrationTests.TestDriverSetup.TestDriverSetUp(Int32 minutes,
Int32 seconds, String apppkg, String devname, String devv
ers, String webdrvr, String activity, Boolean saucelabs) in c:\mydir