Code Monkey home page Code Monkey logo

toptalhomeproject's Introduction

Web application Testing with cucumber framework using Selenium and Java

This is the test automation framework developed for web application Orange HRM. This automation framework is developed using selenium, cucumber, java and maven.

Project Description

It is a behavior driven development (BDD) approach to write automation test script to test Web applications. It enables you to write and execute automated acceptance/unit tests. It is cross-platform, open source and free. Automate your test cases with minimal coding.

Project structure

Project Name

├───driver
├───src
│   ├───main
│   │   ├───java
│   │   │    ├───feature
│   │   │    ├───pages
│   │   │    ├───stepDefination
│   │   │    └───utility
│   │   │
│   │   ├───-resources
│   │       ├───properties
│   │       ├───screenshots
│   │       ├───config
│   └───test
│       └───java
│           └───testRunner
├───target
│   ├───classes
│   ├───allure-results
│   ├───allure-reports
│   ├───cucumber-reports
│   ├───maven-archiver
│   ├───maven-status
│   │   └───maven-compiler-plugin
│   │       ├───compile
│   │       │   └───default-compile
│   │       └───testCompile
│   │           └───default-testCompile
│   ├───surefire-reports
│   └───test-classes
│       └───testRunner
1) src/main/java/feature - Cucumber features files
2) src/main/java/pages - All page object classes
3) src/main/java/stepDefination - Cucumber step defination class
4) src/main/java/utility - Utility classes
5) src/test/java/testRunner - Cucumber test runner class

Writing test cases

The cucumber features goes in the features library and should have the ".feature" extension.

You can start out by looking at src/main/java/feature. You can extend this feature or make your own features using some of the predefined steps that comes with selenium-cucumber.

Application under test

You can find the application under test in configuration url

HTML Reporting

I have incorporated Allure HTML reporting tool into the framework, to create the reports once the is executed you can run below command

allure generate --clean

Execute test cases in the framework

Navigate to your project directory from terminal and run following commands

mvn clean test

toptalhomeproject's People

Contributors

sreeaus030289 avatar

Watchers

 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.