Posts

Showing posts with the label Selenium and TestNG Demo

Simple DDT(Data driven testing) | Read user's detail from excel & login to application multiple times

Image
Hello Dear Friends!!! I hope you are doing well!!! So guys in today's article we are going to see below points. 1. Data driven testing using excel 2. Simple ways and methods to read data from excel file 3. Read data from excel and Automate web application 4. Use of @DataProvider annotation in TestNG framework Problem Statement : Read multiple user's credentials from excel file and login to application one by one. In last session we have created one project i.e. TestNGDemo, so  that project only will take for the today's demo. To watch last session open mentioned link :  TestNG Demo And to watch today's session on YouTube open mentioned link :   DDT Session Solution : For the demo will create two classes and using one input file as mentioned below : 1. LoginDemo.java  2. ExcelReadingMethods.java 3. Input file LoginData.xlsx 1.  LoginDemo.java  //This class is for writing the Test Cas...

Simple Method To Take Screenshot Of Test Cases In TestNG Framework or Selenium Project | With Demo

Image
Video Description : ----------------- ================= Questions ================ 1. How to take screenshot of pass and failed test cases. 2. Simple method to capture screenshot in TestNG Framework 3. How to Capture Screenshot in Selenium Webdriver? ================ Description =============== In this video you will get details of how to Take Screenshot Of Any Test Cases.

How to run Maven Project through Command Prompt | Simple 4 Steps to setup Maven on Windows System

Image
Video Description : ----------------------------- ================= Questions ================ 1. How to run Maven Project through Command Prompt? 2. Simple Steps to setup Maven on Windows System 3. What are the Maven commands? 4. How to Run Tests cases from command line with Maven ================ Description =============== 1. Maven is a build automation tool used primarily for Java projects. 2. The Maven project is hosted by the Apache Software Foundation. 3. It was initially released on 13 July 2004. In Yiddish language the meaning of Maven is "accumulator of knowledge". 4. Maven is also able to build any number of projects into desired output such as jar, war, metadata.