GithubHelp home page GithubHelp logo

Comments (7)

NickAb avatar NickAb commented on September 21, 2024

You need Windows Phone SDK with emulators installed on your host machine

https://developer.microsoft.com/en-us/windows/downloads/sdk-archive

from winium.mobile.

aman019 avatar aman019 commented on September 21, 2024

Thanks for the reply! Will try after installing SDK and emulators.

Does this mean winium automation is not possible with real device?

from winium.mobile.

NickAb avatar NickAb commented on September 21, 2024

Winium.Mobile supports emulators only, because we were not able to do user input simulation on devices.
But you can relatively easy hack code to use real devices, but you will have to fallback to automation api like Invoke, etc. instead of simulating user touch inputs.

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.

from winium.mobile.

aman019 avatar aman019 commented on September 21, 2024

Thanks Nick!

What do yo mean by "But you can ... touch inputs"? Please help me to understand this.

from winium.mobile.

NickAb avatar NickAb commented on September 21, 2024

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.

from winium.mobile.

aman019 avatar aman019 commented on September 21, 2024

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.

from winium.mobile.

NarayanaBojja avatar NarayanaBojja commented on September 21, 2024

Hi ,
I am running Winium.Mobile.Driver.exe in Windows 10 system. It is not running . It is opening and closing automatically. I have installed Windows 10 SDK and Windows 10 emulator is starting successfully. If I click muliple times on Winium.Mobile.Driver.exe . It is opening and showing blank screen. I am also attaching screen shots to understand better.
windows_sdk
winium

from winium.mobile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.