Home > QA (Page 2)

TestNG: Use of Before and After annotations with sample code

Exmaples for @BeforeMethod and @AfterMethod in TestNG. @BeforeMethod allows the method to execute before the execution of each Test methods, whereas @afterMethod is executed after the execution of each Test methods.  [crayon-673bd12ae84f3901430381/] Output: First Method:Before Method starts!Test with Default priorityAfter Method starts In the above output, we can observe for every Test first @BeforeMethod is

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

How to use Annotations in TestNG Framework

Annotations in TestNG Annotation is a feature introduced in Java 5 and is used to add a piece of code to the java source code.  Annotations are easy to use, maintain and understand. Annotations provide many useful attributes to use in the code. It is easier to find where the error

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

TestNG Test Annotation with attributes and sample code

Test Annotation with attributes in detail with example. @Test: The @Test attribute is the most important and commonly used annotation of TestNG. It is used to mark a class or a method as part of the test. We write code/business logic in the @Test method. If we want to automate something, that particular

This Article is TAGGED in , , , . Read more

Comparison of Top 5 Automation Testing Tool in 2019

2019 Top 5 Automation Testing tool comparison with features, attributes etc. Selenium Katalon Studio Unified Functional Testing (UFT) Watir Ranorex Features Launch Date OR First Release Date Selenium → Developed by Jason Huggins in 2004 Katalon Studio → September 2016 UFT→ In Year 2001 Watir→ October 2012 Ranorex→ September 2007 Supported Operating Systems Selenium → Microsoft Windows, Apple OS X, Linux. Katalon Studio → Microsoft

This Article is TAGGED in , , . Read more

Selenium Grid Setup Run Scripts on multiple machines

Selenium Grid allows to run tests in parallel mode on different machines and different browsers available on that machines. Selenium grid working is based on Master Slave architecture. Main Components of Selenium Grid are:1. Hub: Hub acts as a master in Selenium Grid. There will be a single hub in the

This Article is TAGGED in . Read more

Integration of Katalon Reports into Microsoft Teams

Katalon execution results can be reported in Microsoft Teams by using this Add-on. Make sure you have latest version of Katalon Studio downloaded. To Send execution report in Microsoft Teams we need to follow below steps. Configurations in Microsoft Teams: Step1: Navigate to Microsoft Teams where you need execution reports. Click on more

This Article is TAGGED in . Read more

How to use properties file and xml file as object repository in selenium

Code to read data from properties and xml file in Selenium for Object Repository. How to store and read data from properties file what is properties file ? Properties file is a text file with .properties as extension where tester can store environment configuration details  like browser name,driver path ,url,userid , password that

This Article is TAGGED in , , . Read more

Automate windows application using sikuli selenium

What is sikuli Sikuli is a open source automation tool which is used to automate webelement of web application and window based pop up. To integrate sikuli with selenium download and install sikuli in your local machine To download and install sikuli follow the below steps: ->Go to google ->Search for  "Sikuli download" ->Click on the

This Article is TAGGED in , , . Read more

Features and comparison of Microsoft Teams

Feature of Microsoft Teams and Comparison with other software like skype, webex and slack. Microsoft teams is cloud based team communication software. The main capability in Microsoft teams includes business messaging, video meetings and file sharing.Microsoft Teams is an easy to use central hub for team communication. Microsoft Teams launched in March

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

Katalon Studio Tutorial

Katalon studio is free and user friendly tool which is used for web and mobile application testing. It uses open source automation frameworks like Selenium and Appium internally. It can also be used for API testing.  Installation and sample script   Katalon Studio Installation  Katalon : Launch and Close browsers API Automation  API Automation Using Katalon

This Article is TAGGED in , . Read more