Appium.POP.Example
Appium Java tests implemented using the Page Object Pattern for XTC usage
Install / Use
/learn @xamarin-automation-service/Appium.POP.ExampleREADME
Appium Java Cross-Platform Tests
Note: This is an in-progress example of cross-platform (Android/iOS) Appium Java tests and how to run them in Xamarin Test Cloud. As features become available, this sample will change.
Requirements
- Appium server
- Appium 1.6
- and/or
- Appium desktop app
- Xcode 8
- IntelliJ
- Maven (on macOS you can also easily install it with
brew install maven) - Additional Setup to run on iOS Devices can be found here.
Setting up the test server
From command line
- Run
appium-doctoron command line. Ensure that all checks pass. - Run
appiumto start the server
From Appium desktop app
- Open app
- Click start server button
Running the tests locally
From command line
- Run
mvn test -P [platform]from the project directory[platform]should be eitherandroid,ios, orios-simulatordepending on which platform you want to run your tests on
From IntelliJ
- Open the "Maven Projects" tool window
- Under "Profiles" choose the platform you wish to test on (making sure only one is checked)
- Should be either
android,ios, orios-simulator
- Should be either
- Right click on the test(s) that you wish to run and choose "Run"
Uploading the tests to Xamarin Test Cloud
- Follow these instructions to prepare your tests for Test Cloud.
- Go to Test Cloud and start a new test run
- Go through the wizard and then select Appium on the last step
- Follow the provided instructions to install the CLI and uplaod your tests
Related Skills
node-connect
348.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
