Skip to main content

Posts

API Testing With Selenium WebDriver

REST API Testing Framework We will be creating a simple Rest Testing Framework in Java and JUnit that could be used for any testing scenarios. Rest Testing Framework Overview The framework should be able to execute the basic REST operations (GET, POST, PUT, PATCH, DELETE) and perform the validations on the code, message, headers and body of the response. The completed code can be accessed from my  GitHub account   from where you can collect and make modifications based on your requirements. Design We will be having three classes for the framework (in package com.axatrikx.controller ) RestExecutor  : Performs the HTTP operations using Apache Http Client RestResponse  : A javabean class to hold our response values (code, message, headers, body) RestValidator  : Validates the response with the expected values The package  com.axatrikx.test  holds the test scripts. Note: I will be using ‘ json-server ‘ to fake the REST API. Its a real handy tool to r

What is APPIUM

What is Mobile Automation?  Android & iOS are the most popular mobile OS in these days. Millions of app designed for mobile platforms that need to be tested. There are broadly 2 kinds of testing that take place on mobile devices: 1. Hardware Testing 2. Software Testing Here, We will talk about Mobile Software Testing.  In Mobile Software testing, we refer the term Mobile Application Testing. The applications that work on mobile devices and their functionality are tested. It is called the “ Mobile Application Testing ” to differentiate it from the earlier method. There are three kinds of Mobile Apps present - Native apps : the Native application is platform dependent and is created for use on a platform like mobile and tablets. i.e Whatsapp, Amazon App, Mobile Music App etc. Mobile web apps : Mobile web apps are server-side apps to access website/s on mobile using different browsers like chrome, Firefox. Like you can see many mobile web apps are avail