Giter Club home page Giter Club logo

selenium-test-automation's Introduction

Selenium Test Automation Framework

Test Automation Framework developed using Selenium Webdriver, Java and TestNG

Getting Started

First of all, clone the source from github and run on your local machine for development and testing purposes.

Test Environment Setup:

Source preparation:

  • Clone the source and keep it to eclipse workspace

  • Launch eclipse and import the selenium-test-automation project
    [using General ->Existing Projects into Workspace]

  • Run the project

Configuration:

Before run it is necessary to configure the script.
To configure we can consider two types of file as below –

  • setting.conf [necessary information to execute testcases(TC)]
  • testng.xml [we can set which TC and suite will run through this xml]

In demo source I’ve set default value. No need to set the below configuration Info right now.

Configuration Overview:

config/setting.conf is a property file. This file is containing configuration related information likewise variable=value. Through this file user can easily pass necessary information to the system. System will initialize itself according to this file and execute automation accordingly.

  • browser=chrome [All Test Case will execute through the browser mentioned here]
  • url=https://www.google.com [Target server url for automation]
  • creatorUser=[email protected] [User name for creator]
  • creatorPass=QaAut023 [Password for creator]
  • mailfrom=[email protected] [From where execution report will mail]
  • mailpass=Sen@se2121 [Password for above from mail]
  • mailto=[email protected] [Where execution report will send]
  • waitTime=6 [This value will set depend on internet speed, set lower value for higher internet speed]
  • appletDelete=yes [System is creating new applet for every test (for yes – created applet will delete | for no – created applet will not delete)]
  • fileDownloadDir=/Users/apple/Downloads/ [File download directory for file download test]
  • testngxml=testng.xml [Mention the name of xml where TC will mentioned]

selenium-test-automation's People

Contributors

ali-azam avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.