Author - admin

Selenium Flaky Test

Selenide – Answer to Selenium Flaky Tests

Background – Today one of the best UI automation testing tool is Selenium but we automation engineers face one important challenge with it which is ‘synchronization’ issue. This issue leads to increase script maintenance effort as many a time tests gets failed without any actual bug in application. This can happen due to a lot of different reasons for example Ajax is used to dynamically update the application page or due to the ‘async’ activities of the front end framework [...]

Read more...

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

Read more...

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

Read more...
Maven

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

Read more...

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

Read more...
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 2Setup 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>    [...]

Read more...
protractor

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 FeaturesSupports 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 issuesProtractor Setup Pre-requisitesDownload and Install [...]

Read more...
html-injection

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

Read more...
20-plus-points-website-developments

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

Read more...
devops

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 instanceInstall JavaEnable ‘Universe’ repository using below commandsudo add-apt-repository universe On older versions of Ubuntu you can use below command sudo add-apt-repository “deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe”Use below command to install javasudo apt install openjdk-8-jdkSetup Java_Home using below commandsOpen bashrc file with command – nano .bashrc Add [...]

Read more...