-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Winium Mobile driver is not working on my Windows 10 system #181
Comments
You need Windows Phone SDK with emulators installed on your host machine https://developer.microsoft.com/en-us/windows/downloads/sdk-archive |
Thanks for the reply! Will try after installing SDK and emulators. Does this mean winium automation is not possible with real device? |
Winium.Mobile supports emulators only, because we were not able to do user input simulation on devices. There is also Project My Screen app which mirrors your host desktop input to connected phone, so it should be possible to simulate touch input on devices properly, but this one would require some research. |
Thanks Nick! What do yo mean by "But you can ... touch inputs"? Please help me to understand this. |
There are two ways to press button or scroll a list during tests. You can either simulate user gestures (tap, flick, etc.) or you can call automation api like Invoke or Scroll. Later does not simulate user input, it directly calls code responsible for button action, or scrolling. |
Hi Nick, As suggested by you i have installed Windows phone SDK and emulator. I am able to launch the windows 10 phone emulator successfully but while trying to run Winium.Mobile.Driver.exe it is displaying the same error which which i posted earlier. Please let me know if you need more info from my side to resolve my problem. |
Bellow error I am getting when I tried to run winium mobile driver.
D:\aman\WiniumMobileDriver>Winium.Mobile.Driver.exe --verbose
16:12:29 [INFO] Winium.Mobile.Driver, Version: 1.7.1.0, Revision: e9c35bb
16:12:29 [FATAL] System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Xde.Common, Version=8.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Xde.Common, Version=8.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at Winium.Mobile.Connectivity.Emulator.EmulatorFactory..ctor()
at Winium.Mobile.Connectivity.Emulator.EmulatorFactory.<.cctor>b__0() in c:\Dev\Winium.StoreApps\Winium\Winium.Mobile.Connectivity\Emulator\EmulatorFactory.cs:line 20
at System.Lazy
1.CreateValue() at System.Lazy
1.LazyInitValue()at System.Lazy`1.get_Value()
at Winium.Mobile.Driver.Program.Main(String[] args) in c:\Dev\Winium.StoreApps\Winium\Winium.Mobile.Driver\Program.cs:line 63
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
The text was updated successfully, but these errors were encountered: