log4j in RestAssured Testing Framework

log4j in RestAssured Testing Framework



 log4j in RestAssured Testing Framework


log4j is a reliable, fast and flexible logging framework (APIs) written in Java, which is distributed under the Apache Software License.

log4j has been ported to the C, C++, C#, Perl, Python, Ruby, and Eiffel languages.


log4j is highly configurable through external configuration files at run time and it is basically used to write our own logs inside the code so it would be easy to troubleshoot code in case of any issue.



 Running Automation Script in Chrome Headless with TestNg

Running Automation Script in Chrome Headless with TestNg


Related image

In this blog, we are going to learn how we can execute Selenium Automation Test in Headless mode or browser using Chrome.

Before Going Further let's Understand what is Headless Browser.

As Name Suggest Headless Browser is a browser without any user interface it would execute all our test case like a normal web-browser but we won’t be able to see that execution on our screen.

How to Capture ScreenShot of Particular Web-element using selenium aShot

How to Capture ScreenShot of Particular Web-element using selenium aShot


Running Automation Script in Chrome Headless with TestNg

In this blog, we are going to learn, how we can capture the screenshot of particular WebElement using Third-party utility “aShot”.

aShot is third party web driver screenshot utility used for:

ร˜    Takes a screenshot of a WebElement on different platforms (i.e. desktop browsers, iOS Simulator Mobile Safari, Android Emulator Browser)
ร˜    Capturing Full Page Screenshots.
ร˜    Decorates screenshots
ร˜    Provides flexible screenshot comparison

Capturing Screenshot using Selenium ShutterBug

Capturing Screenshot using Selenium ShutterBug



Capturing Screenshot using Selenium ShutterBug

In this Blog, we are going to learn how we can capture screenshot of a web page using Selenium Shutterbug.

Before Moving further let's understand what is Shutterbug and why it is required.

Selenium Shutterbug is a utility library written in Java for taking screenshots using Selenium Web Driver and further customizing, comparing and processing them.

Capturing Screenshot into PDF File using Selenium

Capturing Screenshot into PDF File using Selenium


                                     
Capturing Screenshot into PDF File using Selenium



In this blog, we are going to learn how we can capture screenshot of any web page while executing selenium automation scripts and store it in PDF file.

For this purpose, we would be using Java inbuilt libraries along with iTextPDF Jar which provides the facility to capture the screenshot and save them in PDF files.

Running FireFox Browser in Incognito (Private) using Selenium

Running FireFox Browser in Incognito (Private) using Selenium



Running FireFox Browser in Incognito (Private) using Selenium


In this Blog, we are going to learn how we can execute Selenium Automation Test in Incognito (Private) Mode for FireFoxDriver.

Before Going Further, let's Understand what is Incognito (Private) Mode.


Incognito mode is a setting in our web browser that prevents Internet browsing history, cookies and site data, or information entered in forms from being storedIncognito mode deletes this data as soon as we close the web browser.
Full Page Screenshot Using Selenium utility -aShot

Full Page Screenshot Using Selenium utility -aShot


Full Page Screenshot Using Selenium utility -aShot

In this Blog, we are going to learn how we can take a full-page screenshot in Selenium Using Third-party utility known as ‘aShot’.

Before Going Further Let's Understand What is aShot.

aShot is a third party web driver screenshot utility used for:

ร˜  Takes a screenshot of a WebElement on different platforms (i.e. desktop browsers, iOS Simulator Mobile Safari, Android Emulator Browser)

Running Chrome Browser in Incognito (Private) Mode using Selenium

Running Chrome Browser in Incognito (Private) Mode using Selenium


Running Chrome Browser in Incognito (Private) Mode using Selenium

In this Blog, we are going to learn how we can execute Selenium Automation Test in Incognito (Private) Mode for Chrome Browser.


Before Going Further Let's Understand What is Incognito (Private) Mode.

Incognito mode is a setting in our web browser that prevents Internet browsing history, cookies and site data, or information entered in forms from being storedIncognito mode deletes this data as soon as we close the web browser.