- Download and install latest
VS
with.NET MAUI
workload. - Ensure target
Android SDK
is installed. - Download and install latest
XCode
(for iOS). Also ensure command line tools are installed by runningxcode-select --install
in the terminal. - Download and install the desktop version of
Appium Server GUI
from here https://github.com/appium/appium-desktop/releases. You can use theCLI
if you prefer. - Open
Appium Server GUI
=> Edit configuration => SetANDROID_HOME
andJAVA_HOME
path. Save and restart theAppium Server GUI
. - Start
Appium Server GUI
, take note oflocalhost
andport
settings - Build a and deploy
AppiumSample
app to your target of choice (i.e. Android) - Stop debugging/ running the app.
- Navigate to
AppiumSample.UITests
=>MainPageTests
=> SetPlatform
property to target platform (i.e.TargetPlatform.Android
) - Adjust the parameters as needed in the file
- Run the tests!
syedhoque89 / appiumsample Goto Github PK
View Code? Open in Web Editor NEWA simple example project for Appium tests with .NET MAUI