Make Selenium Easy – Page 8

As we know well now that Postman helps you to create automated tests for API testing, we need to assert response with expected values. JSON and XML are widely used type for request and response to API. In this post, we will see parsing JSON response and extracting values. Mainly we will see parsing a … Continue reading Postman Tutorial Part 34 – Extracting Value From JSON Object Response in Postman – JSON Object Parsing in Postman

We have already seen Usage of Path variables in Postman. We may need to retrieve provided path variables for assertion in scripts in Postman. We have already seen about Retrieving query parameters in tests in Postman. In this post we will see retrieving Path variables in tests in Postman. We can retrive provided path variables … Continue reading Postman Tutorial Part 33 – Retrieve Path Variables Value in Tests Script in Postman

We have already seen usage of Query params in API. We may need to retrieve query parameters value in Tests and Pre-request Script for validation. So in this post, we will see how can we retrieve query parameters value. To get value of specific query parameter:- pm.request.url.query.get() To get all query parameter as a … Continue reading Postman Tutorial Part 32 – Retrieve Query Parameter Value in Tests Script in Postman

BDD is an advanced and faster transformation of traditional SDLC model i.e. Waterfall model. Waterfall model is a linear sequential arrangement of different phases of software development activities. It is called as linear sequential phases as each phase is dependent on previous phase deliverables or output. We can not move to next phase until previous … Continue reading Behavior Driven Development (BDD) – Understand in Easy Words

End points or URI may not be constant always. For example:- If you want to retrieve a booking details, you need to pass booking id in URI as below:- https://restful-booker.herokuapp.com/booking/1 https://restful-booker.herokuapp.com/booking/2 In above URI, 1 and 2 are booking ids and those are not constant. This makes above URI dynamic. You should have a way … Continue reading Postman Tutorial Part 31 – URI Path Variables in Postman

Hello Folks, As part of Frequently Asked Java Programs In Interviews For Freshers And Experienced, in this post we will see a java program to reverse a string using stack. Basics of Stack:- Before we go for definition of Stack, let’s consider some examples:- Suppose you have X number of plates. You organise them as one … Continue reading FREQUENTLY ASKED JAVA PROGRAMS 35 – Java Program to Reverse a String Using Stack

Hello Folks, In this post we will going to see some topics which are important to do validation in API testing. These are frequently asked interview questions in API Testing as well. What is a header in API?How to retrieve a request header?How to retrieve a response header?How to get all headers as a list … Continue reading Postman Tutorial Part 30-Extracting and Asserting Request & Response Headers in Postman

Let’s start with very basic definitions of both Constructor and Methods in Java:- A constructor of a class is used to initialize the object or instance of class using new keyword. It can be called as special method as it is different from normal methods. It differs from methods as a constructor should have same … Continue reading Difference Between Constructor and Method in Java

In this post, we will see some facts,misconceptions and myths about Selenium WebDriver which you may be keep encountering around:- You can become an Automation Tester after learning Selenium only. – Hmm, not true.If you want to work on Selenium-Python, first learn Selenium-Java. It is absolutely not like that.”Selenium” is neither the entry point not … Continue reading Facts, Misconception & Myths About Selenium WebDriver

We can write scripts in Pre-request and Tests sections of a request in Postman. These scripts are run in a JavaScript execution environment called Postman Sandbox. Postman Sandbox environment contains many APIs which makes it easier to write scripts for requests in Postman. pm : Object Postman sandbox has a global function called “pm”. This … Continue reading Postman Tutorial Part 29 -Postman Sandbox API reference – Global functions (pm.*) – pm.info Object