HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Appium Beginner Tutorial 7 | First Appium Project with Java

308,519 views October 29, 2019 21:42

Watch on YouTube
ChannelAutomation Step by Step - Raghav Pal

Description from the creator

FREE Courses - automationstepbystep.com/
Check Troubleshooting tips below
Steps
1. Download & Open IDE
2. Create Java Project
3. Add selenium & appium libraries
4. Connect mobile device
5. Start appium server
6. Write code to start a mobile application
7. Use appium desktop client to find element locators

Step 1: Download Eclipse or any other IDE for Java
youtube.com/playlist?list=PLhW3qG5bs-L_qj1L5hnH…

Step 2 : Create a Java project

Step 3 : Add libraries
Selenium java
Appium java client
mvnrepository.com/

Step 4 : Connect device
run command : adb devices

Step 5 : Start appium server
can do from command line or appium desktop client

Step 6 : Add code to start automation on mobile device
Set desired capabilities
deviceName
udid
platformName
platformVersion

appPackage
appActivity

127.0.0.1:4723/wd/hub
Start calculator application

Step 7 : Run and validate

Troubleshooting tips
(contributed by Flavius-Cristian Luca)
- Issues with getting io.appium.uiautomator2.server.test package info: github.com/appium/appium-uiautomator2-server/is…
- Original error: 'app' option is required for reinstall: for this, i added the following line of code

desiredCapabilities.setCapability(MobileCapabilityType.APP, "C:\\Users\\<<userName>\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.8.3.apk" );

-Error executing adbExec. on Android(M): github.com/appium/appium/issues/8100

#AppiumBeginnerTutorials

Udemy - udemy.com/user/raghav-pal-3/
Training schedule - automationstepbystep.com/trainings-2/

------------ UI TESTING ------------
Selenium Beginners - bit.ly/2MGRS8K
Selenium Java Framework from Scratch - bit.ly/2N9xvR6
Selenium Python - bit.ly/2oyMp5x
Selenium Tips - bit.ly/2owxc50
Selenium Builder - bit.ly/2MKNtlq
Katalon Studio - bit.ly/2wARFdi
Robot Framework with RIDE- bit.ly/2Px6Ue9
Robot Framework with Eclipse - bit.ly/2N8DZxb

------------ API TESTING ------------
Web Services (API) - bit.ly/2MGafL7
SoapUI - bit.ly/2MGahmd
Postman - bit.ly/2wz8LrW
General - bit.ly/2PYdwmV
Katalon Studio API Testing - bit.ly/2BwuCTN

------------ MOBILE TESTING ------------
Appium - tinyurl.com/y3c8ckz8
Mobile Playlist - bit.ly/2PxpeUv

------------ CI | CD | DEVOPS ------------
Jenkins Beginner - bit.ly/2MIn8EC
Jenkins Tips & Trick - bit.ly/2LRt6xC
Docker - bit.ly/2MInnzx

------------ VERSION CONTROL SYSTEM ------------
Git & GitHub - bit.ly/2Q1pagY

------------ PERFORMANCE TESTING ------------
JMeter Beginner - bit.ly/2oBbtIU
JMeter Intermediate - bit.ly/2oziNVB
JMeter Advanced - bit.ly/2Q22Y6a
JMeter Tips & Tricks - bit.ly/2NOfWD2
Performance Testing - bit.ly/2wEXbLS

------------ PROGRAMMING ------------
Java Beginners - bit.ly/2PVUcXs
Java Tips & Tricks - bit.ly/2CdcDnJ
GROOVY - bit.ly/2FvWV5C

------------ IDE ------------
Visual Studio Code - bit.ly/2V15yvt

------------ MAVEN ------------
Maven - bit.ly/2NJdDRS

------------ OTHERS ------------
Redis- bit.ly/2N9jyCG
Misc - bit.ly/2Q2q5xQ
Tools & Tips - bit.ly/2oBfwoR
QnA Friday- bit.ly/2NgwGpw
Sunday Special - bit.ly/2wB23BO

Ask Raghav - bit.ly/2CoJGWf
Interviews - bit.ly/2NIPPxk
All Playlists - bit.ly/2LSiezA

Never Stop Learning,
Raghav

You can support my mission for education by sharing this knowledge and helping as many people as you can

About this tutorial

Automation Step by Step - Raghav Pal published this 21:42 video tutorial on October 29, 2019. It has been watched 308,519 times on YouTube.

Category
Education
Duration
21:42
Published
October 29, 2019
Views
308,519
Likes
2,021

Tags

Share

This tutorial in other languages