(RU) Espresso Android UI Automation 👉Simple guide
HTML-код
- Опубликовано: 24 сен 2024
- This video is about creating simple test cases in Android Studio. We will use Espresso as our Test Automation Framework.
Article used as a guide in this video:
💻Android Automation. Simple Espresso tutorial - / android-automation-a-s...
Necessary imports for our Android Studio project:
1) Gradle (app module):
androidTestImplementation 'com.android.support.test:rules:1.0.2'
2) ExampleInstrumentedTest class:
import org.junit.Rule;
3) ExampleInstrumentedTest class:
import androidx.test.rule.ActivityTestRule;
Please see other code in the article above.
** IntelliJ IDEA: WebDriver Web Testing with Page Objects in 15 minutes **
• WebDriver Web Testing ...
** How to recover a Linux installation on Mac **
• Recovering Windows/Lin...
** How to boot Windows/Linux on Mac **
• rEFInd: How to Install...
** Choosing a Linux distro for Mac **
• Linux on MAC | What Di...
** Mac OS 9 and iMac G4 Review **
• Mac OS 9 and Apple iMa...
** React OS 0.4.13 on Bare Metal. Windows Alternative? **
• React OS 0.4.13 on Bar...
** Linux Tools for your Mac. Package Management. HomeBrew, MacPorts, Fink **
• Linux Tools for your M...
** iMac 2008 SSD upgrade in 2020. Is it EASY? **
• iMac 2008 | SSD upgrad...
** Clover Tutorial: Booting Windows/Linux on Mac. No need to install BootLoader **
• Clover Tutorial: Booti...
** IntelliJ IDEA: WebDriver Web Testing with Page Objects in 15 minutes **
• WebDriver Web Testing ...
** Windows 98 from a Flash Drive. Good Retro Gaming option? **
• Windows 98 from a Flas...
** HOW to make money writing on Medium **
• HOW to make money Writ...
** HOW I LOST 100 POUNDS IN 3 MONTHS. MY STORY **
• HOW I LOST 100 POUNDS ...
** Appium: Locating Elements. Automating Task app **
• Appium: Locating Eleme...
Thank you for watching and please subscribe!
💰 Support me (for more videos, of course!):
PATREON: / nomadicdmitry
FOR A COFFEE: www.buymeacoff...
🏡My website: www.trvlforever...
👉Sign up for Airbnb and get a bonus for your perfect getaway - www.airbnb.com...
🚗Sign up (get a bonus) and drive for:
Uber goo.gl/gJX6g9
Lyft goo.gl/MnYzhV
📚My Medium articles:
💻Who is responsible for quality of software testing - / who-is-responsible-for...
🎴Relax. Travel doesn't solve any of your problems - / relax-travel-doesnt-so...
🗺How location independence changed my mindset - / how-location-independe...
👎The power of saying "No" - / the-power-of-saying-no
🗺3 rules for following nomadic travel dream - / 3-rules-for-following-...
😉Why being yourself is the best thing you could do - / why-being-yourself-is-...
💻Android Automation. Simple Espresso tutorial - / android-automation-a-s...
👉My Website articles:
🏡How to book Airbnb Apartments for a best price - trvlforever.com...
🌎I love Nevada and it's not only about Las Vegas -
trvlforever.com...
🔖Most important words for your trip to Mexico -
trvlforever.com...
💸How to travel like a king on a low budget - trvlforever.com...
🌎Los Angeles in one day. What to visit? - trvlforever.com...
🏕Lake Tahoe Camping. Best places to camp on budget - trvlforever.com...
🏕Camping in Mojave Desert: Experience - trvlforever.com...
🌎Rediscovering American cities. Virginia city - trvlforever.com...
#АвтоматизацияТестирования #MobileTestAutomation #МобильнаяАвтоматизация
Тайм коды / Time codes:
00:00 - Вступление / Introduction
2:16 - Типы фреймворков для автоматизации тестирование / Test Automation Frameworks Classification
6:00 - Общие принципы автоматизации на Espresso / Main test automation principles for Espresso Framework
8:12 - Создание нового проекта для автоматизации тестирование / Creating new Test Automation Project
10:55 - Структура приложения на Android / Android Application Structure
13:44 - Куда добавлять тесты / Where to add our tests?
15:35 - Импортирование различных модулей / Test Modules Imports
16:38 - Про систему сборки Gradle и импорт модуля / About Gradle system and importing another module
19:29 - Добавление UI тестов на Espresso в проект / Adding Espresso UI tests to our project
23:07 - Запуск тестов / Running our tests
26:07 - Несколько слов про создание UI интерфейса / A few things about UI creation
27:01 - Выводы / Conclusion
Эххх.. продолжение бы по автоматизации на Espresso..
Видео шикарное
О, спасибо! Это видео как-то не особо популярным стало, я потому впоследствии уже снимал про Webdriver и прочее :)
@@NomadicDmitry снимите, пожалуйста, продолжение🙏
@@NomadicDmitry Подерживаю,видео шикарное, нужно продолжение😎
@@sergeyrudi9836 Возьму на заметку. А вообще за последние годы всё больше классных фреймворков. А сам я хочу перейти на Kotlin постепенно :)
@@NomadicDmitry Espresso все еще актуален в связке с Java, или есть что то еще с Kotlin для автоматизации андройда? У нас на проекте решили использовать Espresso + Java для Андройда.
Спасибо. Было интересно! Информации на русском и правда мало
всегда пожалуйста!
The tittle and description seems to be english but i cannot understand
Yep, sorry this one in Russian. I added a prefix "RU" there. Will add subtitles later on.