This is the description on how to set up your machine so you can start testing applications
Goto the Appium website and goto the section getting started.
http://appium.io/docs/en/about-appium/getting-started/?lang=en
Follow the steps on installing the Desktop App
Select the download package for the Windows platform: Appium Desktop App Releases.
At the moment of this writing, the latest version for windows is Appium-windows-1.15.1.exe
When you want to test Windows applications, you need to install the Windows Driver for Appium. This is called the WinAppDriver
. You can find the latest version of the driver here: https://github.com/Microsoft/WinAppDriver/releases
Here you find the installer you need to run called: WindowsApplicationDriver.msi
After installing the driver, you can now start Appium Desktop.
When you start the application it will start with the following screen:
Specify that you want to run the Appium server on your localhost
. So you specify the Host Ip
address to be: 127.0.0.1
Now you start the server.
You will see the following screen, which indicates that Appium is ready to accept requests from any client that wants to run a UI Test.
You can run the inspector that is part of the Appium Desktop client to start, e.g. the Windows Forms application, and then inspect it in the tool. This validates that you have the Windows Driver installed and that it can start your application.
Click on the Inspection Glass Icon and then fill out the following properties. This is case sensitive!
app = C:\labs\appium-hol\AppsToTest\WinForms\CarvedRock.exe
deviceName = WindowsPC
platformName = Windows
The moment you start you might experience some issues if you are missing some pre-requisites
-
Windows is not in Developer Mode. In this case, you need to go to the Windows Settings, or type
developer mode
in the Windows taskbar search, and then select the Developer Mode option. -
.NET Framework 4.8 is not installed. Click on the error dialog and install the .NET Framework 4.8 Runtime package on your machine so that you can run the Windows Forms application.
If all works as expected, then you should see the Windows app started, and you should be able to see the app in the inspector, where you can see how to search for specific elements in the UI.
You are now ready to start with Lab 01, where you will write your first UI tests for WinForms.
TODO: Android
TODO: iOS