locked
UI Test Android doesn't start RRS feed

  • Question

  • User381953 posted

    Hi,

    Since 2 days I get an error message when performing the UI test on my local PC. i don't understand why can some one help me?

    This is the exception i got

    ClickButtonWithEmptyUserOrPassword("","password") Failed: SetUp : System.Exception : Failed to execute: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s LMG710EMa6b375df shell pm list packages -f -e - exit code: -1073740940 SetUp : System.Exception : Failed to execute: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s LMG710EMa6b375df shell pm list packages -f -e - exit code: -1073740940

    list off all the package on the device

    package:/data/app/nl.rijksoverheid.digid.pub-uZaVtW-XoceNWN1A67iieA==/base.apk=nl.rijksoverheid.digid.pub bij Xamarin.UITest.Shared.Processes.ProcessRunner.Run(String path, String arguments, IEnumerable`1 noExceptionOnExitCodes) bij Xamarin.UITest.Shared.Android.Adb.AdbProcessRunner.Run(String adbArguments, Int32[] noExceptionsOnExitCodes) bij Xamarin.UITest.Shared.Android.Queries.QueryAdbInstalledPackages.Execute(AdbProcessRunner processRunner) bij Xamarin.UITest.Shared.Android.TokenStorage.HasMatchingTokens(String deviceSerial, ApkFile[] apkFiles) bij Xamarin.UITest.Shared.Android.LocalAndroidAppLifeCycle.EnsureInstalled(ApkFile appApkFile, ApkFile testServerApkFile) bij Xamarin.UITest.Android.AndroidApp..ctor(IAndroidAppConfiguration appConfiguration, IExecutor executor) bij Xamarin.UITest.Configuration.AndroidAppConfigurator.StartApp(AppDataMode appDataMode) bij Datamex.DxSteel.Transport.Android.UITest.Testbase.Init()

    Full log file: C:\Users----\AppData\Local\Temp\uitest\log-2019-06-13_11-39-55-904.txt Skipping IDE integration as important properties are configured. To force IDE integration, add .PreferIdeSettings() to ConfigureApp. Android test running Xamarin.UITest version: 2.2.7 Initializing Android app on device LMG710EMa6b375df with apk: D:\dev\dx-steel-transport\Datamex.DxSteel.Transport.Android\bin\Release\Datamex.DxSteel.Transport.Android.apk Signing apk with Xamarin keystore.

    the log file doesn't contain any error or exception

    i found this article but that solution didn't work https://forums.xamarin.com/discussion/124687/ui-test-system-exception

    Thursday, June 13, 2019 9:54 AM

Answers

  • User381953 posted

    solution was to reinstall C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, June 13, 2019 11:21 AM