filmov
tv
Appium Beginner Tutorial 7 | First Appium Project with Java

Показать описание
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
Step 2 : Create a Java project
Step 3 : Add libraries
Selenium java
Appium java client
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
Start calculator application
Step 7 : Run and validate
Troubleshooting tips
(contributed by Flavius-Cristian Luca)
- Original error: 'app' option is required for reinstall: for this, i added the following line of code
#AppiumBeginnerTutorials
------------ UI TESTING ------------
------------ API TESTING ------------
------------ MOBILE TESTING ------------
------------ CI | CD | DEVOPS ------------
------------ VERSION CONTROL SYSTEM ------------
------------ PERFORMANCE TESTING ------------
------------ PROGRAMMING ------------
------------ IDE ------------
------------ MAVEN ------------
------------ OTHERS ------------
Never Stop Learning,
Raghav
You can support my mission for education by sharing this knowledge and helping as many people as you can
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
Step 2 : Create a Java project
Step 3 : Add libraries
Selenium java
Appium java client
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
Start calculator application
Step 7 : Run and validate
Troubleshooting tips
(contributed by Flavius-Cristian Luca)
- Original error: 'app' option is required for reinstall: for this, i added the following line of code
#AppiumBeginnerTutorials
------------ UI TESTING ------------
------------ API TESTING ------------
------------ MOBILE TESTING ------------
------------ CI | CD | DEVOPS ------------
------------ VERSION CONTROL SYSTEM ------------
------------ PERFORMANCE TESTING ------------
------------ PROGRAMMING ------------
------------ IDE ------------
------------ MAVEN ------------
------------ OTHERS ------------
Never Stop Learning,
Raghav
You can support my mission for education by sharing this knowledge and helping as many people as you can
Комментарии