Skip to main content

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

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


Intellij IDEA Hack 2

 Next training session video of IDEA Hack is live. This session covers - Presentation assistant plugin Double shift > search any where  Search class name using first letters     Go to specific line on file i.e. filename:linenumber Searching folders i.e. /resources Recent files > cmd+E Project pane > cmd+1 Creating new file/package etc > cmd/ctrl + N Auto scroll from source Move one or multiple lines without cut and paste select + option + shift + arrow up/down Turn off presentation assistant plugin First IDEA Hack session: https://www.seleniumtests.com/2021/02/selenium-idea-hacks.html