Windows 10 - How do I test touch events without a touchscreen?
16,269
Microsoft.Windows.Simulator.exe
Located in C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Simulator\16.0\Microsoft.Windows.Simulator.exe
The Simulator has modes that allow for basic touch events using the mouse, as well as pinch-to-zoom, and 2 finger rotation. It simulates your current Windows machine so you can even open up your code in VS, run your app, and set breakpoints that would normally only hit when using touch events.
Edit: based on the comment of Luishg, you need to install both Visual Studio and the Visual Studio UWP package for the Simulator to be installed.
Related videos on Youtube
Comments
-
BigHeadCreations almost 2 years
I need to test my Windows app using touch events but don't have a touch screen available.
-
Петър Петров over 5 yearsThis thing no longer exists?
-
BigHeadCreations over 5 years@ПетърПетров Did the version number possibly increase? When I first posted this answer it was
14.0
, someone later added an edit to make it15.0
. I don't have a Windows machine handy to test this. -
Luishg about 5 yearsIt is 16.0 (C:\Program Files (x86)\Common Files\microsoft shared\Windows Simulator\16.0) now with visual studio 2019. The version was accordingly to the visual studio version in which you installed the UWP package. If you had 2017 it was 15.0. and so on backwards.
-
I.Step about 4 yearsDoes anyone know how to install Simulator.exe if it's no longer part of Windows 10?
-
BigHeadCreations about 4 years@I.Step Just a guess but based on the comment of Luishg, try installing Visual Studio.
-
Damn Vegetables about 4 yearsIs there a way to get this tool only, without installing VS or the "UWP package"?
-
Keith Thompson almost 4 years@BigHeadCreations I have Visual Studio. I don't have this simulator (and can't find it in the store).
-
Keith Thompson almost 4 years@BigHeadCreations But the"Microsoft Emulator" might be a newer version of the same thing.
-
BigHeadCreations almost 4 years@KeithThompson As stated in the comment of Luishg, you need to install the Visual Studio UWP package for the Simulator to be installed.
-
josephj over 3 years@KeithThompson The Emulator is a totally different thing. By using that, you are basically running another VM. For the Simulator, it shows in the path and works well after I install both the UWP package and the Visual Studio IDE from the Visual Studio Installer. I can't find it directly from the IDE though.
-
Just Shadow over 3 yearsIn case it's missing from the computer, use this: nuget.org/packages/Microsoft.Windows.Simulator.Client
-
Martin Braun over 2 years@BigHeadCreations I have Visual Studio 2019 and 2022 and for each the "Universal Windows Platform development" package installed, yet the simulator is missing.