Skip to main content

Posts

Showing posts from April, 2021

Appium and android mobile app automation

Next appium and Android mobile app automation video tutoria l is live. If you are new to appium then please check - appium-tutorial This video tutorial covers - Start vysor (Just for this session and not mobile automation :)) Start appium and start appium inspector Desired Capabilities platformName - Android deviceName - L2N0219828001013 (as seen on "adb devices") Saved Capability Sets Start Session Scan app elements using appium inspector Get appPackage and appActivity using "APK info" app Install "APK info" app and open app whose appPackage and appActivity are required i.e. calculator Check top section of app icon com.android.calculator2 is app package com.android.calculator2.Calculator is app activity testng.xml file settings for running Android app tests Test details com.seleniumtests.tests.mobile.AndroidAppTest and CalculatorScreen class View beautiful STF test report  

Appium and android mobile browser automation

First Appium training video tutorial is live and covers -  Why Appium? > WebDriver for mobile devices - https://appium.io and https://www.seleniumtests.com/p/appium-tutorial.html Appium desktop app: https://github.com/appium/appium-desktop > Wrapper for Appium server  - Appium server written in node js exposes Rest API to interact with AUT  - Start Appium server  - Inspect element  - Desired Capabilities https://www.vysor.io/ > To mirror device on PC or MAC  - Enable developer mode on Android and enable USB debugging > https://www.seleniumtests.com/2015/05/set-up-android-device-to-run-appium.html adb > command line tool that lets you communicate with an emulator or android device  - Install android debug bridge https://www.seleniumtests.com/2015/05/appium-and-android-setup.html  - adb devices Execute Android Web test  - https://github.com/tarun3kumar/seleniumtests