Posts

REST API Testing Tutorial - Manual Testing of REST APIs using Postman

Image
Manual API Testing using Postman Reliable API calls are critical to any decoupled application. Whether it a simple configuration change to an entity or updating the Drupal core, both of them can alter the API response and lead to application-breaking changes on the front-end. An API test suite can watch out for these API breaking changes by running a slew of tests against your endpoint. And when you need to create an API test suite, Postman delivers. Why Postman tool? Postman is a simple GUI for sending HTTP requests and viewing responses. It is built upon an extensive set of power tools, which are incredibly easy to use. Postman helps you perform a variety of functions ranging from organizing requests into collection and folders, sharing common values across requests with environment variables, scripting tests with the built-in node.js based runtime, and at last, automating it all using Postman’s very own CLI — Newman. Install native Postman Application Postma

Learn Java by Starting from First Program - Hello World

It's always exciting to write your first program and execute it without error. In this post you will learn to write your first java program. Pre-Requisite Softwares : 1. Java SE Development Kit or JDK  - It is generally a Java Software which you need to install on your system before writing any code in Java. And after installing java set Java Path in your environment variables. Download Latest Java Version from following link - Java Download 2. Java IDE or Text Editor - You need to have any text editor to write Java code. You can use anyone from following Netbeans, Intellij, Eclipse, Notepad or Notepad++ etc. Creating Hello World Program Declare a class ' MyFirstProgram ' Declare the main method public static void main() And print a string "Hello World" using System.out.println() Hello World Program // Class class MyFirstProgram { // Main method public static void main (String[] args) { // Print Hello World System.

Automate E-Commerce Website using Selenium Webdriver

In this post you will learn to automate different functionalities of e-commerce website. This assignment is rated as 'Pro' level. We will cover multiple test scenarios of e-commerce website in this assignment like., User Registration, Buy Product,  Search Product and other website filters using Selenium Webdriver.  Along with test assignments, url of the demo e-commerce website is also provided. You can use this demo e-com website for your automation practice. Automation Level - Pro Assignment 1 - Automate 'User Registration' of an e-commerce website The first thing you test on any e-commerce website is User Registration. You have to cover all positive and negative test scenarios user registration process. You, will find the detailed test scenarios along with automation code at link shared below:  Automate User Registration of E-Commerce Website using Selenium Assignment 2  - Automate 'Buy Product' functionality of an e-commerce website Mos

10 Best Demo Websites for Automation Testing Practice

Image
This post is specially designed for those folks who want to learn or currently learning Selenium. In this post, I cherry picked links of some of the top demo websites/pages which you guys can use for practice purpose. On the top of it, I also designed Practice Assignments which you can practice on the the shared demo website links. 1.  AUTOMATION PRACTICE FORM Level - Beginner About - This form contains all the important form elements which we come across daily like text box, radio button, check box, select drop downs, multi-select box, button, links, File Upload, Download link. Practice Assignments -  Automate Browser Actions on Godaddy.com using Selenium Webdriver Automate Practice Form using Selenium Webdriver 2.  AUTOMATION PRACTICE TABLE Level  - Intermediate About -  This  web page contains table data. You can test your Selenium and Java skills. It would require Selenium commands and java loops, conditions to read table data. Practice Assign

Java Conditional Statements

  Java , like all other programming languages, is equipped with specific statements that allow us to check a  condition  and execute certain parts of code depending on whether the  condition  is true or false. Such statements are called conditional, and are a form of composite statement. The Java  if statement  is used to test the condition. It checks boolean condition:  true  or  false . There are various types of if statement in Java. if statement if-else statement if-else-if ladder nested if statement Java supports the usual logical conditions from mathematics: Less than:  a < b Less than or equal to:  a <= b Greater than:  a > b Greater than or equal to:  a >= b Equal to  a == b Not Equal to:  a != b Java if Statement The Java if statement tests the condition. It executes the  if block  if condition is true. Syntax: 1.    if (condition){   2.    //code to be executed    3.    }   Example: 1.    //Java Program to demonstrate t