Skip to main content

Posts

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  
Recent posts

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  

API Testing Part 6 - Serialization and Deserialization using REST Assured

 Next API Testing Training video is live. This session covers: Form based auth user filling out his credentials on a form given().auth().form("John", "Doe").... oAuth based authentication what is oAuth and access token?? given().auth().preemptive().oauth2(accessToken).... Object Mapping Serialization From java object to json Form Hashmap to json > com.seleniumtests.tests.api_testing.RestAPITest3#postToCreate     Deserialization 
 Ref: https://github.com/rest-assured/rest-assured/wiki/Usage

API Testing Part 5 - Authentications using REST Assured

 Next API testing video tutorial covers following topics -  How to specify auth? Basic Auth Preemptive basic auth credentials are sent before server responds with unauthorised response. reduces overhead of additional connection.  Challenged basic auth credentials are supplied only when server asks for it.                                         Ex: https://www.httpwatch.com/httpgallery/authentication/ First post request Ref: https://github.com/rest-assured/rest-assured/wiki/Usage   

API Testing Part 3 - using REST Assured

 Next API Training session video brings focus back to REST API testing. This session covers: Testing RESTful service
 using REST Assured https://github.com/rest-assured/rest-assured/wiki/GettingStarted
   REST Assured Maven dependency, 
REST Assured Includes JsonPath and XmlPath  to parse json and xml documents respectively
 API used in testing: https://reqres.in/  Operations around Get Set base URI With and without Gherkins syntax Data driven test with query, path parameters and Curly bracket notation Passing parameters between tests using extract method