SAYAN-2000 / Selenium-TestNG-Framework

Automation Testing Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Selenium-TestNG-Framework

Overview

Selenium is one of the most widely used open source Web UI (User Interface) automation testing suite. Selenium can be easily deployed on platforms such as Windows, Linux, Solaris and Macintosh. Moreover, it supports OS (Operating System) for mobile applications like iOS, windows mobile and android. Selenium supports a variety of programming languages through the use of drivers specific to each language.Languages supported by Selenium include C#, Java, Perl, PHP, Python and Ruby.Currently, Selenium Web driver is most popular with Java and C#. Selenium test scripts can be coded in any of the supported programming languages and can be run directly in most modern web browsers. Browsers supported by Selenium include Internet Explorer, Mozilla Firefox, Google Chrome and Safari.

Selenium can be used to automate functional tests and can be integrated with automation test tools such as Maven, Jenkins, & Docker to achieve continuous testing. It can also be integrated with tools such as TestNG, & JUnit for managing test cases and generating reports.

About

In this project I have taken the Swag Labs Application and ran tests on it through Automation to validate different scenarios.

Pre-Requisites

  • Java should be installed and configured.
  • Maven should be installed and configured.
  • TestNGshould be Installed in your IDE.
  • Clone the files from Git repository using Git Bash.
  • Scoop should be Installed in your System to view the Allure Reports through Command Line.
  • Additionally you can configure Jenkins to run Daily Jobs.

Running Tests

To run tests we need to naviagate to the testng.xml file and the Right-Click and run as Testng Suite. Bring the neccessary changes to the xml file to run test individually. Or you can use mvn test command from thr command Line to run the tests mentioned in testng.xml file.

To run a Jenkins job you need to first configure Jenkins in your system. To configure Jenkins in your system follow this documentation. Then you need to create a new project and rub build now to see the tests and the console logs.

About

Automation Testing Project


Languages

Language:HTML 73.3%Language:CSS 12.1%Language:Java 7.6%Language:JavaScript 6.9%