Giter Site home page Giter Site logo

evaromana05 / selenium-bongobd.com-website-automation Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 5.75 MB

bongobd.com website, web automation & unit testing using selenium and java

Java 100.00%
automation selenium-webdriver selenium-java web-automation web-automation-testing software-testing sqa page-object-model xpath

selenium-bongobd.com-website-automation's Introduction

Selenium Java Web Automation

Check out BongoBd.com website automation.

TestCase 01: (Drama & Sports Test) Test-1

  1. Go to BongoBd.com URL
  2. From menu bar click Drama
  3. Search 420
  4. From 420 drama list ,play 1st drama.
  5. Unit Testing Done.

Test-2

  1. Go to BongoBd.com URL
  2. From menu bar click Sports
  3. Search messi
  4. From list, play 3rd news, pause & play.
  5. Check Unit Testing.

TestCase 02: (Movie Test) Test-1

  1. Go to BongoBd.com URL
  2. From menu bar click Music
  3. Scroll Down & go to latest music.
  4. Play 4th movie.
  5. Check Unit Testing.

TestCase 03: (Movie Test) Test-1

  1. Go to BongoBd.com URL
  2. From menu bar click Movies
  3. Scroll Down & go to tribute to salman shah.
  4. Play 1st movie.
  5. Check Unit Testing.

This project using the following languages and frameworks:

  • Java 11 as the programming language
  • TestNG as the UnitTest framework to support the test creation
  • Selenium WebDriver as the web browser automation framework using the Java binding

Test architecture

We know that any automation project starting with a good test architecture. This project can be your initial test architecture for a faster start. You will see the following items in this architecture:

Do you have any other items to add to this test architecture? Please do a pull request or open an issue to discuss.

Page Objects pattern

I will not explain the Page Object pattern because you can find a lot of good explanations and examples on the internet. Instead, I will explain what exactly about page objects I'm using in this project.

AbstractPageObject

This class has a protected constructor to remove the necessity to init the elements using the Page Factory. Also, it sets the timeout from the timeout property value located on general.properties file.

All the Page Object classes should extend the AbstractPageObject. It also tries to remove the driver object from the Page Object class as much as possible.

selenium-bongobd.com-website-automation's People

Contributors

evaromana05 avatar

Watchers

 avatar

Forkers

diva1422

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.