Showing posts with label Automation. Show all posts
Showing posts with label Automation. Show all posts
Test Automation Pyramid

Test Automation Pyramid




Test Automation Pyramid


What is Test Automation Pyramid?

The "Test Pyramid" is an analogy that guides us to bunch programming tests into pails of various granularity. It additionally gives a thought of what number of tests we ought to have in every one of these gatherings. Despite the fact that the idea of the Test Pyramid has been around for some time, groups still battle to incorporate it appropriately. This article returns to the first idea of the Test Pyramid and shows how you can try this. It shows which sorts of tests you ought to be searching for in the various degrees of the pyramid and gives common sense models on how these can be executed.
Customizing Extent Report with Logo..!!

Customizing Extent Report with Logo..!!



Customizing Extent Report with Logo..!!

In this blog, we are going to learn how we can add customize extent report with the logo of our own choice.

To know how to setup extent report please refer to this blog.

To display the logo on the top of the extent report just add below XML  configuration to the extent-config.xml path placed inside the resources folder.

Executing Automation Script in FireFox Headless Browser

Executing Automation Script in FireFox Headless Browser


Executing Automation Script in FireFox Headless Browser

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


Before going forward, I would highly recommend to you to visit my blog to understand about headless browser its type and its use.

To use FireFox browser we need to addCommandLineOptions–headless in our code and use it along with FirefoxBinary.

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.

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 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.

SonarQube integration with Selenium Scripts

SonarQube integration with Selenium Scripts


SonarQube integration with Selenium Scripts

In this blog, we are going to learn, what is SonarQube, how to integrate our selenium automation script or any other code with SonarQube for automatic Code Quality analysis and identify the different vulnerabilities.

What is SonarQube??

SonarQube is an open-source platform for continuous inspection of code quality to perform automatic reviews with static analysis of code to detect bugscode smells, and security vulnerabilities. It also offers various reports on code coverage, complexity, coding practices as well as on duplicate code. SonarQube Supports 20+ Programming languages.