Monday 11 December 2023

API Testing tutorials 1 - Idempotency, Safe, Cache and Versioning Concept

We are going to understand some of the important Concepts in rest API for sample example I have added a screenshot from Postman which is a popular API testing.

Concept in rest API

we are going to cover four important concepts like:

  • Idempotency
  • save
  • cache 
  • versioning
Let us understand the first concept idempotency:
Idempotent methods can be called multiple times with same input, and it produces same result.
example if we are having a get request and we are hitting it multiple times then we are going to get same result so what we can say get is idempotent.

I have talked about these concepts in detail in this video:


Sunday 3 September 2023

TestNG Tutorial #9 Before Test and After Test in TestNg

@BeforeTest: This will be executed before the first @Test annotated method. It can be executed multiple times before the test case. @AfterTest: A method with this annotation will be executed when all @Test annotated methods complete the execution of those classes inside the <test> tag in the TestNG. xml file.

Watch this video to understand more:

Wednesday 23 August 2023

TestNG Tutorial #10 Before Class and After Class in TestNg Automate Myntra


@BeforeClass: The annotated method will be run before the first test method in the current class is invoked. @AfterClass: The annotated method will be run after all the test methods in the current class have been run. @BeforeMethod: The annotated method will be run before each test method.

Watch this video to understand more:

Friday 11 August 2023

#8 The @BeforeTest methods run after each Test methods in testNg

The @BeforeTest methods run after each Test methods. @BeforeTest can be used for creating an initial data set up and prior to running other test methods, whereas @AfterTest annotation will run after the other tests are complete.

Watch this video to understand more:

Thursday 10 August 2023

TestNG Tutorial #7 running tests parallel in TestNg using XML file

What Is TestNG.Xml?

TestNG.xml file is a configuration file that helps in organizing our tests. It allows testers to create and handle multiple test classes, define test suites and tests.

It makes a tester’s job easier by controlling the execution of tests by putting all the test cases together and run it under one XML file.

Major advantages of TestNG.xml file are:

  • It provides parallel execution of test methods.
  • It allows the dependency of one test method on another test method.
  • It helps in prioritizing our test methods.
  • It allows grouping of test methods into test groups.
  • It supports the parameterization of test cases using @Parameters annotation.
  • It helps in Data-driven testing using @DataProvider annotation.
  • It has different types of assertions that help in validating the expected results with the actual results.
  • It has different types of HTML reports, Extent reports, etc. for a better and clear understanding of our test summary.
  • It has listeners who help in creating logs.
Watch this video for deep understanding of testNg

Friday 28 July 2023

TestNG Tutorial #6 Managing Test Execution using TestNg XML files

What Is TestNG.Xml?

TestNG.xml file is a configuration file that helps in organizing our tests. It allows testers to create and handle multiple test classes, define test suites and tests.

Major advantages of TestNG.

It provides parallel execution of test methods. It allows the dependency of one test method on another test method. It helps in prioritizing our test methods. It allows grouping of test methods into test groups.


Refer the video on how to use testNg.xml

Sunday 1 January 2023

TestNG Tutorial #5 Include and exclude methods in Appium, Selenium

TestNg provides an option to include or exclude Groups, Test Methods, Classes and Packages using include and exclude tags by defining in testng.xml.

First we will create an examples to use include and exclude tags for Test Methods in a class.

We will create a Class with three Test Methods. In that we will include two test methods and try to exclude one test method.

Watch below video to understand how to use it:

Interview Experience with AMAZON for the role of Quality Assurance Tester

This role was for Digital/ IoT/Mobile Application based testing :)  Amazon is a dream company and everyone wants to work for that company a...

Popular Posts