Home > Software Testing (Page 3)

Running selenium script parallel in multiple browsers using TestNg

We can run selenium scripts parallely in multiple browsers using TestNg.xml configuration. Below is the configuration we need to make in TestNg.xml to run in chrome and firefox browsers. Below is the sample code. It opens mundrisoft.com website in chrome

This Article is TAGGED in , , . Read more

Java library for text file operations

To perform text file operation like Create File, Compare Text file, Replace words etc we have created jar which you can download Attached Zip File: TextUtility  After extracting zip file you will get jar file which contains below functionality which is extremely easy to use. Functions appendLine → Read Text File and append new

This Article is TAGGED in , , , , . Read more

Install TestNG Framework

What is TestNG FrameWork? 1. TestNG is the most widely used testing framework in the software testing industry. It is an open source automated Testing framework. 2. TestNG is an automation testing framework in which NG stands for "Next Generation". 3. TestNG is used for different kinds of testing like unit, functional, integration

This Article is TAGGED in , , , , , , . Read more

How to use Non GUI mode in JMeter

JMeter provides simple and user friendly GUI to users. Using the JMeter GUI mode user can use elements like Thread Group, samplers, Processors, Controllers, Timers etc. JMeter GUI mode also gives the facility to view and analyze the result of the script using different types of Listeners. Apart from the above

This Article is TAGGED in , . Read more

JMeter Tutorial

JMeter is an open source platform independent tool released on 15th Dec 1998. It was developed by Stefano Mazzocchi of the Apache Software Foundation. JMeter is mainly used for load testing along with API testing. Installation and Introduction of JMeter Install and Launch JMeter on Windows JMeter sample script JMeter Components Core JMeter Components and

This Article is TAGGED in , . Read more

Manual testing tutorial

Manual testing tutorials Download free sample testcase template Checklist for software application testing Software design specification - Importance in UI testing Early involvement of testing team in requirement phase Test case for button, password, form, links What is AB testing Checklist and device matrix for Responsive Testing Code to get screen resolution Test cases for drop-down list (multiple selection)

This Article is TAGGED in . Read more

Read data from CSV file using CSV Data set config in Jmeter

For reading data from CSV file, JMeter provides a config element called CSV Data Set Config. Below are the steps for configuring and executing CSV Data Set Config: Step 1: Go to File -> Click on New. User will see a new Test Plan as shown in below image: User needs to save

This Article is TAGGED in , . Read more

Different ways to create Xpath for a single Web element

Please find list of ways by using which we can create xpath to identify WebElement in the DOM. Here we have mentioned 15 different xpath for single web element (Society Name) from https://www.societyhive.com   //input[@id='txtSocietyName'] //input[@id='txtSocietyName' and @name='societyName']  //input[@id='txtSocietyName' or @name='societyName'] ---Toggle switch //span[text()='Please enter society name']//preceding-sibling::input --------Use of text() method //span[.='Please enter society name']//preceding-sibling::input -----Functionality of

This Article is TAGGED in , . Read more

Security testing of wordpress website

As a wordpress is a open source we might think it is easy to hack, but if we take care of few things it is much more secure than  any other websites. Below are some tips for it which you can use while developing and testing phase. Tips Action  Description Verify that there are limited

This Article is TAGGED in . Read more