Introduction

In this article i will be designing a framework for testing web applications in popular BDD style, integrated python, behave, allure, a non-mainstream route. This framework is based on Page Object Model and has highest level of flexibility, you can play together.

Overview of Stack

Pre- requisite

You need below Software to be installed on your system.

  1. Python 3.0 or above

In this article we are going to develop an Automation framework for Mobile devices automation.

What is Robot Framework?

Read here:

https://medium.com/@Raghwendra.sonu/robot-test-automation-framework-in-python-for-socket-programming-ea1edef507cc

Installation:


Introduction to AWS Device Farm

AWS Device Farm is App Service Testing hosted by Amazon. This provides platform to test and interact with iOS, Android and web applications on real mobile devices and tablets. AWS Device farm can be used for :

1. Automated testing of apps and

2. Remote access of devices for real time interaction.

Why Appium with AWS Device Farm?

There are many reasons for this, like support for parallel execution. Availability of multiple mobile and tablet devices and also it helps us to identify

Here is the list of pre- requisite:

1. Appium (Prefer using latest stable version) 2. Java IDE- I will be using Eclipse 3. Appium script written in Java, TestNG, Maven…


In this article i am going to talk everything you need to know working with Swagger in a Spring Boot application. I will also talk about what Swagger is, and after that i will talk about integrating Swagger with Spring Boot application to generate API documentation. Let’s get started.

What is a Swagger?

> Tool to Develop API’s
> Interact with API’s and
> Document API’s

Swagger is quite popular for Documentation of APIs. It has various ways of documentation and the most popular way is using Swagger UI. When most people think about Swagger, they think about Swagger UI. But, Swagger is more…


Introduction

We are going to create SOAP based Framework using Groovy that will create Soap Request dynamically based on the data provided in the TestData sheet. This is using free version of the SoapUI.

Prerequisites

Install SoaupUI free version and add following jar files from internet,

in Lib folder:

dom4j-1.6.1.jar, xmlbeans-2.6.0.jar

in bin/ext folder:

commons-collections4–4.1.jar, commons-collections4–4.1-javadoc.jar, poi-3.16.jar, poi-examples-3.16.jar, poi-excelant-3.16.jar, poi-ooxml-3.16.jar, poi-ooxml-schemas-3.16.jar, poi-scratchpad-3.16.jar, writeevidence.jar, xmlbeans-2.6.0.jar

Folder Structure

keyStore- Keep All SSL certificates here. output - Creates a folder for each run and store Request and Response of each test case from test data sheet. projects - SOAPUIAutomationFramework will be there, which…

About Robot Framework

Robot Framework is a generic open source automation framework. It can be used for test automation and robotic process automation (RPA). Robot Framework has easy syntax, utilizing human-readable keywords. Its capabilities can be extended by libraries implemented with Python or Java. Robot Framework is operating system and application independent. The core framework is implemented using Python and also runs on Jython (JVM) and IronPython (.NET).

Why to use Robot Framework?

Robot Framework is a generic keyword-driven test automation framework for acceptance level testing and acceptance test-driven development (ATDD). Robot Framework is extremely easy to set up, use and modify.

How to use Robot Framework?

Basic Setup

To get started with…


In this article we will learn how to login to legacy systems which are using a form-bases / session-based / cookie-based authentication which involve CSRF tokens.

Application Under Test: https://gitlab.com

We are going to use Chrome browser for accessing the application. Launch developer tools to know what exactly is happening when accessing this URL. Open Network Tab, and make sure you are preserving the log before navigating to this URL.

As you see login page has got an Authenticity Token to safeguard from security attacks.


In this article we will learn about Mockito.

What is Mockito?

Consider a scenario, where this some of the methods are made available by other vendor/ external vendors. So, my application just need to connect with the vendor service and get the response. That response later i can use to verify my application.

Now, what if the vendor service is not yet ready but you want to test your application, or for time being you want to test your application without connecting to real time vendor service api.

So, in order to test them, we have to mock services. This is were mocking…


In this article we are going to retrieve all the bugs in my Jira project and fetch them into Elasticsearch using Logstash. Later we will visualize them on Kibana. So , here are the steps:


In this article we are going to use Jira API with JMeter to perform set of tasks like creating a bug, adding a user as watchers, deleting a comment etc.

I have setup Jira for my project.

As you see in the above snapshot, 
Jira Base URL: https://qatechtesting.atlassian.net/
Project Key: QA

Here is Rest API example on how to create an Issue in Jira:
https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-create-issue-7897248/

Here is the documentation of Jira Rest API’s: https://docs.atlassian.com/DAC/rest/jira/6.1.html

As mentioned on this page, the API to create an issue is : /rest/api/2/issue. We will use this shortly.

Launch JMeter, and create a new test…

Raghwendra Sonu

Software Automation Testing expert with 9 years of work experience in diverse tools and technologies.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store