Courtesy: https://app.animaker.com/dashboard#_=_

First understand BDD:

BDD is not just about testing it is a type of development practice, that avoids the difficulty of providing a definition of “Done”.

https://dannorth.net/introducing-bdd/ the author of BDD style states that:


Create a environment variable called “csv” and copy the below content and paste it as value:

username,password,error_message,error_code
username1,password1,errormessage1,errorcode1
username1,password1,errormessage1,errorcode1


System Requirement:

This documentation is for windows system. I am using windows 10

Steps:

Installation and visualization in Kibana:

Please refer :

Pre-requisite:

  1. we can delete the previous index by doing a DELETE request to http://localhost:9200/testresults

Now lets come to Protractor:

So from the previous article , you understand how to send data and visualize it in Elastic search

We have observed that we are just sending json data using rest API and then visualizing it in Kibana by setting x and y axis with the fields we are interested in.

so to visualize the protractor result we just have to send the result to ELastic search , this can be done using jasmine…


System Requirement:

This documentation is for windows system. I am using windows 10

Introduction:

Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data for lightning fast search, fine‑tuned relevancy, and powerful analytics that scale with ease.

Kibana is a free and open user interface that lets you visualize your Elasticsearch data and navigate the Elastic Stack. Do anything from tracking query load to understanding the way requests flow through your apps.

Logstash is a free and open server-side data processing pipeline…


You can run chrome in android device straight from selenium:

https://chromedriver.chromium.org/getting-started/getting-started---android

First Connect actual device or emulator:

To start emulator follow the below article about installing android-studio:

To connect an actual mobile instead then use below article, read about enabling debugger mode:

Second make sure you have latest adb version is installed:

download latest from :

https://developer.android.com/studio/releases/platform-tools

the adb will be inside the platform tool folder

Now make sure device is detected and authorized: (these steps are explained in the above mentioned articles)

open the folder in which abd is there and run the below command ./adb

./adb devices

And…


Get all requests in the collection:

you can also get information about all the requests in a collection by using :

https://api.getpostman.com/collections/{{collection_UUID}}

to get uuid and api key goto :

https://app.getpostman.com

Now for generating api key >

goto account settings > api key and generate api key.

to get collection uuid goto specific workspace and collection and copy the uuid part from url:


appium

step towards mobile automation….

Description:

Have you always wanted to get into mobile test automation space but was reluctant thinking you have no clue where to start?

Then here you go , a simple article outlining how to setup android emulator and find the locators for the elements using Appium desktop app and Android studio

(The Android Emulator simulates Android devices on your computer so that you can test your application on a variety of devices and Android API levels without needing to have each physical device)

Android Studio

Install Android Studio:

This has the emulator .

https://developer.android.com/studio

Note: you might get…


How to check a file exists in system:

//we use import java.io.File;
File f = new File("D:\\program.txt");
f.exists(); // this will print true or false whether the file program.txt exists

We can use this logic to check if the file got downloaded and is available at the location.

But sometimes we need to click download button and wait for like few mins or seconds for the download to finish.

so in this case we need to poll for the file till it exists . …


Install Android studio and Appium desktop APP:

Follow the above article.

Enable Developer mode in Oneplus:

Navigate to Settings>About and click Build Number multiple time

<you will get a message pop saying developer mode enabled>

Enabled Remote Debugging:

Goto Settings>System>Developer options>Debugging>USB Debugging and enable it:

Praveen David Mathew

An ISTQB certified Software Test Engineer and an enthusiastic fast learner with a passion for technology. linkedin : https://www.linkedin.com/in/praveendvd

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