Cross Site Scripting (XSS) Attack Types & Prevention

Introduction : Cross Site Scripting(XSS) is the popular and vulnerable attack which is known by every advanced tester. It is considered as one of the adventurous attacks for web applications and can bring harmful results also. This attack is considered adventurous, because of its ability to damage even less vulnerable technologies. How XSS Being Performed : Cross Site Scripting attack means sending and injecting malicious script or code. Javascript and HTML are mostly used to perform this attack, the main reason for such [...]


Getting Started with SourceTree

SourceTree It is a free Git desktop client for Windows and Mac. It provides full capabilities of Git through its simple interface.  SetUp Go to the Sourcetree website and click the download button. From the ZIP file you downloaded, click the application file (EXE for Windows or DMG for Mac). Note – This blog is considering Win installer.  When you’ve successfully started the installer, you should see the Sourcetree wizard screen. Follow the Next and Finish prompts to complete the installation. After you install, you’ll have [...]


Maven Goals To Execute Commands Post Test Execution

Objective –  Recently in one of the projects we got the requirement to create the test execution summary file after parsing the TestNG emailable report once the test execution is finished.    Challenge –  We were running the test with Maven goal which generates the emailable report in target directory of the project but it does it once build is completed due to which we were not able to write the parsing code in TestNG listener.   Solution –   We have written the code for [...]


GIT – Distributed Version Control System

Git  It is a distributed version control system developed by Linus Torvalds in 2005. When we work in an environment where multiple developers have to access and update the same code base then issues will arise if they try to update the codebase at the same time, for example one can override code of another developer. GIT address this problem nicely. SetUp You can install the GIT for the operating system of your choice by following the instructions mentioned in the link [...]

Angular and YouTube

Streaming YouTube Video in Angular Application

Streaming YouTube Video in Angular App In this blog post we will going to learn how to integrate your YouTube video in your Angular application. Pre-requisites : Angular must be setup with minimum version 2 Setup an Angular project : Use  Angular CLI (Command Line Interface) to create a new project, you can use any of the below command. Go the directory where you would like to create a project and then run below command. ng new <project name> or ng n <project name>     [...]


Getting Started With Protractor

About Protractor Protractor is a test automation framework which is used for automating web applications testing. It combines technologies such as Jasmine, Selenium Web driver and Node.js. Using protractor, we can automate both Angular and non-Angular applications. Some Features Supports simple syntax to write tests Supports Behaviour Driven Development (BDD) framework like Cucumber Provides additional locator strategies for Angular based applications Protractor executes the command only once the action on webpage is completed thereby reduce test failure due to sync issues Protractor Setup Pre-requisites Download and Install [...]


HTML Injection

To get a better understanding of HTML Injection, firstly we should know what HTML is? HTML is a markup language, where all the website’s elements are written in the tags. Web pages are sent to the browser in the form of HTML documents. What is HTML Injection? This injection attack is injecting HTML code through the vulnerable parts of the website. The Malicious user sends HTML code through any vulnerable field with a purpose to change the website’s design or any [...]


20+ Points To be Consider Before Planning Website or Blog

Planning Website or Blog Many websites/blogs are much more popular than others apart from content there are several other factors which contributes to their popularity, after careful analysis of some of the website/blog I am listing below some key points that one should consider – Domain : Choose a domain that people can remember well, Main targeted topic should cover in domain name example: if you work for “women’s health” then your domain could be like “women health online dot com” Domain should contain [...]


Setting Up Jenkins on Amazon EC2 Ubuntu Instance

We are writing this blog to list down the process of setting up jenkins on Amazon EC2 Ubuntu instance having OS version 18.04. Pre-requisites : 1 AWS EC2 Instance should be up and running Make SSH connection with your EC2 instance Install Java Enable ‘Universe’ repository using below command sudo add-apt-repository universe On older versions of Ubuntu you can use below command sudo add-apt-repository “deb $(lsb_release -sc) universe” Use below command to install java sudo apt install openjdk-8-jdk Setup Java_Home using below commands Open bashrc file with command – nano .bashrc Add [...]


Test Driven Development (TDD) – Key Benefits

Test Driven Development (TDD) is a software development approach which enables teams to create better specifications about how the actual code will be written. So fundamentally, TDD is an approach where in functional tests are written well before writing the actual code. It’s a perfect blend of three key activities: Write Tests, Write Code to make the Tests Pass & Refractor to improve quality Key Benefits of (TDD)  Best Acceptance Level: TDD helps the developers to understand requirements from the [...]