Appium Automation Framework from scratch | Java | Maven | TestNG

preview_player
Показать описание
Intro - 0:00
Step 1 : Open Eclipse 3:40
Step 3 : Create a new maven project 5:20
Step 4 : Add required lib/dependencies 7:31
Appium java client 8:40
Selenium java 9:50
TestNG 10:20
Step 5 : Save - Clean - Build project 12:00
Step 6 : Create 2 folders under src/test/java 12:20
tests
pages
Step 7 : User src/test/resources create a folder 14:00
apps
will keep application files (.apk, .ipa, .app)
Step 8 : Inside tests folder create a class - BaseClass 15:15
Step 9 : Create setup & teardown functions 16:00
Annotate with testng annotations
Step 10 : Add code for desired capabilities 18:25
Step 11 : Attach mobile device (or make emulator ready) 25:50
adb devices
get id and platform ver and add in desired capabilities
Step 12 : Start appium server 29:00
Step 13 : Run & test 35:55
Step 14 : Add test class and extend BaseClass 39:05

Appium Automation Framework from scratch
Eclipse Java Maven TestNG
Step by Step
Can follow on Windows & Mac

What we will do:
1. Create a java maven project in eclipse
2. Add required libraries
3. Create classes and functions
4. Add desired capabilities
5. Setup mobile device and appium
6. Create tests for mobile test automation
7. Run and test

Prerequisites:
2. Appium is installed
3. Android sdk is setup (for testing on android )
4. Xcode is setup (for testing on iOS)
6. Eclipse is installed

Useful Links
Element locators
Appium API Documentation

#AppiumBeginnerTutorials
------------ UI TESTING ------------

------------ API TESTING ------------

------------ MOBILE TESTING ------------

------------ CI | CD | DEVOPS ------------

------------ VERSION CONTROL SYSTEM ------------

------------ PERFORMANCE TESTING ------------

------------ PROGRAMMING ------------

------------ IDE ------------

------------ MAVEN ------------

------------ OTHERS ------------

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

Never Stop Learning
Raghav
Рекомендации по теме
Комментарии
Автор

For who is stuck after run with test one, you should update a little bit because we are finding element of selenium webdriver instead android app:
AppiumDriver<MobileElement> driver;
=> Update to: WebDriver driver;
driver = new AppiumDriver<MobileElement>(url, caps);
=> Update to: driver = new RemoteWebDriver(url, caps);

buinathtine
Автор

I feel myself lucky because of finding your channel, when I search on youtube. I m planning to watch all your videos. Thank you for your clear explanation and your effort.

melneda
Автор

Thank you! Your tutorials are the best of the best! I had no prior experience and i was able to install and run scrips from scratch in three days following your tutorial, Your install instructions has 100% accuracy. Here now trying some scripts.

seaglass
Автор

Below is the solution worked for me for exception/error "No Chromedriver found"
Start appium server through command line using below command:

appium --allow-insecure chromedriver_autodownload


The above command will install the latest driver as per the chrome browser version on running the above test as expected.

akbarchandani
Автор

Thank you Raghav .Your approach to teaching is systematic, clear and awesome .I have learnt slenium using your videos

vimalaangelus
Автор

This is the best video i have seen till date. Very useful. The steps are very clear and explained so well. Cannot thank you much.

hansitadash
Автор

Thanks Raghav for explaining it so well in super easy steps..Kudos!

SurendraSingh-tpvz
Автор

the best, simple, very straight forward, easy to understand tutorial! Thank you Sir!

selamgebretinsaye
Автор

This is pretty awesome video. Excellent work Raghav on explaining details- great work. Thank you !!!!

chandrachalla
Автор

Amazing explanation, made the concept so easy and clear - framework from scratch. Thanks a lot for making this video. Keep making the videos and help passionate learners to reach their goals. Waiting for the Android and IOS framework videos.

lakshmiy
Автор

Thank you Raghav ! I am a Subscriber and will request for more Videos on Appium Frame work specially on Pages of POM.

HimadriSengupta
Автор

getting an error, Google isn't helping.
Preview features are not enabled for tests/BaseClass (class file version 58.65535). Try running with '--enable-preview'
Any ideas?

mizoto
Автор

Thank you Raghav pal, your explanation gives us confidence In our selves to perform exceptionally well at interview thanks a lot Raghav

saikishorebolla
Автор

It is at 43:10 that you realize that you as a viewer didn't notice the issue. A simple demonstration of "no amount of coding knowledge can match the power of the mighty round brackets!!" #JustKidding

friendonymous
Автор

Sir your explanation is very clear as well as while presenting your screen is very clear .Thanks Sir.

sindhoorsmita
Автор

Amazing tutorial very well explained!!! Thank you so much for the video!!

jackvicky
Автор

Your explanation looks like god-level bro. Seriously !. Before your tutorial I don't know how to use appium. Now I hope I'll get a good job in QA. Thanks for your precious video bro. Thank you.

giridharravi
Автор

Hi
I need a little clarifucation from you, when you are ceating a web automation framework using selenium java using maven using page object model, we have a page layer and a test layer. In page layer we do have page classes in pages package and a BaseTest in a base package.
Why didn't you use the same approach in designing this mobile automation framework?
Can't we create a Base class here and inside that can't we create those desired capabilities and launching the driver method?
Then its about calling them in the test classes noh ?
Because in page object model you can't use driver apis in test layer, if you do that it happens to be a violation of page object model as per the Martin the inventor of POM.
So I am asking again why can't we use the same approach in mobile devices?
Is that because they don't have specific pages hence we cant create separate page classes?
If that so is what should be the way to create a framework then ?

ims
Автор

Excelente trabalho. Obrigado pela dedicação do seu tempo.

williamsilva
Автор

I just would like to say thank you for these videos, you are helping me so much.

manelzerah
welcome to shbcf.ru