All Projects → zoonooz → appium-kotlin-example

zoonooz / appium-kotlin-example

Licence: other
No description or website provided.

Programming Languages

kotlin
9241 projects

Labels

Projects that are alternatives of or similar to appium-kotlin-example

robotframework-zoomba
Extended Robot Framework libraries to make testing GUI, REST/SOAP API, Mobile, and Windows Desktop easier.
Stars: ✭ 121 (+404.17%)
Mutual labels:  appium
qa-automation-base
There are basic projects for automation frameworks based on Kotlin/Java and TypeScript for the backend, frontend, and mobile.
Stars: ✭ 45 (+87.5%)
Mutual labels:  appium
Scrapy-Spiders
一个基于Scrapy的数据采集爬虫代码库
Stars: ✭ 34 (+41.67%)
Mutual labels:  appium
appium-dashboard-plugin
Appium plugin that provides complete test logs, video recording of test and device logs(logcat and syslogs) for easy debugging.
Stars: ✭ 82 (+241.67%)
Mutual labels:  appium
Selenium-Foundation
Selenium Foundation is an automation framework designed to extend and enhance the capabilities provided by Selenium (WebDriver).
Stars: ✭ 51 (+112.5%)
Mutual labels:  appium
java-opensdk
TestProject Java OpenSDK
Stars: ✭ 45 (+87.5%)
Mutual labels:  appium
carina
Carina automation framework: Web, Mobile, API, DB etc testing...
Stars: ✭ 652 (+2616.67%)
Mutual labels:  appium
sonic-server
🎉Back end of Sonic cloud real machine testing platform. Sonic云真机测试平台后端服务。
Stars: ✭ 980 (+3983.33%)
Mutual labels:  appium
teswiz
End-2-End framework for Native & Web Automation using Cucumber-jvm, Appium, Selenium WebDriver, Applitools & ReportPortal
Stars: ✭ 25 (+4.17%)
Mutual labels:  appium
OneFramework
Automation for iOS, Android, & Web Apps with one codebase. Like it, Star it & spread the word !!!
Stars: ✭ 46 (+91.67%)
Mutual labels:  appium
MasterAppiumFramework
Automation Testing | Mobile | Java | OOPS | Appium | TestNG | Maven | ExtentReport | Java mail API | Logging (Log4J2) | Design Patterns (Page Object Model, Singleton) | Page Factories | Jenkins | Data-Driven Testing using JSON file | Expected Data using XML file
Stars: ✭ 27 (+12.5%)
Mutual labels:  appium
Appium
This is Chirag... and this Repo for Appium code...... You can see Appium tutorial video at given you tube channel
Stars: ✭ 23 (-4.17%)
Mutual labels:  appium
autotest-framework
UI自动化测试框架,支持APP、Web、HTML5三端, 基于SpringBoot框架, 采用Page Object设计模式,基于 TestNG 测试框架构建测试用例,支持消息通知、失败截屏、HTTP 报告、并发执行等特性
Stars: ✭ 98 (+308.33%)
Mutual labels:  appium
python-appium-framework
Complete Python Appium framework in 360 degree
Stars: ✭ 43 (+79.17%)
Mutual labels:  appium
carina-demo
Carina demo project.
Stars: ✭ 40 (+66.67%)
Mutual labels:  appium
appium-java-repl
Simple Java REPL for controlling mobile apps through Appium.
Stars: ✭ 20 (-16.67%)
Mutual labels:  appium
geb-mobile
A geb navigator factory for mobile support for Appium, Selendroid and IosDriver
Stars: ✭ 18 (-25%)
Mutual labels:  appium
MAQS
Magenic's automation quick start
Stars: ✭ 46 (+91.67%)
Mutual labels:  appium
Z-Spider
一些爬虫开发的技巧和案例
Stars: ✭ 33 (+37.5%)
Mutual labels:  appium
controlfloor
System for controlling devices remotely
Stars: ✭ 45 (+87.5%)
Mutual labels:  appium

Using Appium with Kotlin

This project is the example of how to setup Appium with Kotlin to test your app in both iOS and Android.

Running the test

Install Appium Server

Install Appium server using node.js

npm install -g appium

or download the Application from https://bitbucket.org/appium/appium.app/downloads/

then start the server.

Android setup

Appium will use the first device that connected to ADB so please check adb devices and make sure that at lease one device is connected.

For more information https://github.com/appium/appium/blob/master/docs/en/drivers/android-uiautomator2.md

iOS setup

If you see some permission error, you might need to use authorize-ios before running the test in simulator.

npm install -g authorize-ios
sudo authorize-ios

Appium will use device name in the capabilites to find simulator. Use the following command to find all available names.

xcrun simctl list devices

For more information https://github.com/appium/appium/blob/master/docs/en/drivers/ios-xcuitest.md

Run the test

Start appium server then use the test task like normal gradle project. You also can specify the platform you want to test (ANDROID or IOS)

./gradlew test -Pplatform=ANDROID

Writing the test

Finding the element ID

If you are using Appium desktop app, it comes with the inspector tool that you can use to find element reference such as XPath or ID.

Android has the tool that you can use to find element informations as well.

{ANDROID_SDK}/tools/uiautomatorviewer

PageObject Pattern

Page Object is a Design Pattern which has become popular in test automation for enhancing test maintenance and reducing code duplication. I recommend you to read and understand how to design the test before start writing.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].