Appium Tutorial: Mobile Automation Basics Part 2 - Hello World

preview_player
Показать описание
This is the second video in my Appium Automation series. We are going to take it one step at a time, starting with the basics and work our way up to building a framework to test Facebook app.

In this video I show you how to write your first Appium automation script. I cover how to set desired capabilities, how to create Android Driver, how to import dependencies via Gradle build file and maven repository, and even a little bit of debugging :). We also touched up on uiautomatorviewer, but we are going to cover this more in depth in the next video!

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

Quiet a sensible Hello World program.. unlike others that contain only 1 print statement just stating hello world. Thanks Artur.. this is really helpful!

sugandhajain
Автор

Thanks ton, Done successfully, I have created Maven instead of Gradle, Why it is not running in Gradle?

AnandBhagwat
Автор

Артур, спасибо за видео. Все получается. Подскажи плиз, как ты вывел на экран свой девайс и второй вопрос: приложение unlock apk. Зачем оно нужно? Зачем его прописывать? Спасибо

kostyakonstantinoff
Автор

Hi Artur! Great video. Thank you.
Can we do appium automation in eclipse IDE, If so we require android SDK with eclipse integrated ?

kamesh
Автор

Hi, I have just started automation testing using appium and i am using java client v-5.0.4 and appium v-1.7.1 and facing various issue : 1. i am not able to find element using TEXT element
2. i am not able to find element using --android uiautomator for example : YouTube\")").sendKeys("2U");

Kindly help to provide solution.

GauravSingh-qrlp
Автор

Hey, great video. This is the first of many I'll be watching this week. Since you're the expert, I was wondering if appium can be used as a web scrapper? I wanted to make web scrapper on my phone. Similar to selenium webdriver.Thanks

amirkhela
Автор

How to set the path for Appium ?
i installed appium using install appium -g appium. when i enter appium in cmd it showing "appium is not recognized as internal or external command.

Can you please kindly help on this

ramojiraoyalamati
Автор

Hi, the DesiredCapabilties is not there, tried Desired ctrl+space, can you please help?

AnandBhagwat
Автор

Hi Artur, I got an error:"Incorrect package and activity. Retrying." Could you help me how to solve my problem, I am new and I try to just a test and see the results. thanks

mahsanaseri
Автор

Hi Artur! Can we do Appium testing on Android Studio instead of IntellJ?

dominicyee
Автор

Why does it work if it was resource-id not resourceId?

spiritfall
Автор

I keep getting this error: Exception in thread "main" An unknown server-side error occurred while processing the command. Original error: EPERM: operation not permitted, lstat (WARNING: The server did not provide any stacktrace information). Do you have any suggestions?

loc
Автор

Hi, what kind of tools you use for windows cmd ?

adityaridharrahman
Автор

I got this error:

Original error: Command failed: Exception in thread "main" java.lang.RuntimeException: Unable to rename input apk. D:\Program

And I have no idea what's wrong. Can you help?

romilvergara
Автор

Thank you very much, I can do that now. BTW, Could you please help me to have the CMD like your one. :) I need to config or download another tool?

dangledhsp
Автор

Error: Failed to start an Appium session, err was: Error: Command failed: -s emulator-5554 install "C:\Program Files
ailed to install C:\Program Files Failure Package io.appium.unlock signatures do not match the previously installed version; ignor
ng!]

getting this error while trying to run, how can i solved this, I'm on windows 10, my emulator android version N

alimran
Автор

can you please change the font on your screen .... its hard to see your code :) thanks

flowwolf
Автор

Hi,
I'm getting below exception. Could you please advice?

Exception in thread "main" Unable to create new remote session. desired capabilities = Capabilities [{app=C:\Users\Mukhyaprana\Downloads\ApiDemos-debug.apk, platformName=Android, deviceName=bc55c8c7d73}], required capabilities = Capabilities [{}]
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'SRIHARI', ip: '192.168.190.1', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_51'
Driver info: driver.version: AndroidDriver
at
at Source)
at Source)
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at

Madhusudhan-dxuf
Автор

unindexed remote maven repositoires error, desiredcaps method is not enable

anandbhagwat
Автор

uiautmatoreviewer is not working for me. help me pls

maheswargouddegani