GithubHelp home page GithubHelp logo

hhy5277 / fluentlenium Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fluentlenium/fluentlenium

0.0 1.0 0.0 8.41 MB

FluentLenium is a website automation framework which extends Selenium to write reliable and resilient UI functional tests. This framework is React ready. Written and maintained by people who are automating browser-based tests on a daily basis.

Home Page: https://fluentlenium.com

License: Other

Java 91.36% HTML 8.19% JavaScript 0.01% Gherkin 0.14% Groovy 0.29% Shell 0.01%

fluentlenium's Introduction

What is FluentLenium ?

Travis Coveralls Javadoc Maven Central Website

FluentLenium helps you writing readable, reusable, reliable and resilient UI functional tests for the browser.

FluentLenium provides a Java fluent interface to Selenium, and brings some extra features to avoid common issues faced by Selenium users.

FluentLenium is shipped with adapters for JUnit4, JUnit5, TestNG, Spock and Cucumber, but it can also be used standalone.

FluentLenium best integrates with AssertJ, but you can also choose to use the assertion framework you want.

FluentLenium gives you multiple methods which help you write tests quicker. All those methods are tested daily by commercial regression test suites maintained by project developers.

Quickstart

Quickstart steps are described in detail in our separate documentation section.

Example

public class DuckDuckGoTest extends FluentTest {
    @Test
    public void titleOfDuckDuckGoShouldContainSearchQueryName() {
        goTo("https://duckduckgo.com");
        $("#search_form_input_homepage").fill().with("FluentLenium");
        $("#search_button_homepage").submit();
        assertThat(window().title()).contains("FluentLenium");
    }
}

More detailed FluentLenium examples are available in examples section. Examples include headless Chrome and Firefox, Spring-based framework supporting multiple browsers and much more.

Documentation

Detailed documentation is available on fluentlenium.com.

Javadoc

Javadoc is available on fluentlenium.com/javadoc.

Modules summary

To help you navigate through FluentLenium, here's a short summary about its modules and what support they provide.

  • fluentlenium-core: Contains core functionality of FluentLenium, including webdriver configuration, page object support and injection logic.
  • fluentlenium-junit: Provides support for integration with JUnit 4.
  • fluentlenium-junit-jupiter: Provides support for integration with JUnit 5.
  • fluentlenium-testng: Provides support for integration with TestNG.
  • fluentlenium-spock: Provides support for integration with Spock.
  • fluentlenium-cucumber: Provides support for integration with Cucumber. This may be combined with any of the modules above that are also supported by Cucumber.
  • fluentlenium-assertj: Provides AssertJ assertions for FluentLenium specific objects like FluentWebElement, FluentList and FluentPage.
  • fluentlenium-integration-tests: Integration tests for validating the correctness of FluentLenium features internally.
  • fluentlenium-coverage-report: Creates jacoco test coverage report.
  • fluentlenium-ide-support: Though not an actual Maven module, it contains resources to make working with FluentLenium in the IDE easier.

Contact Us

If you have any comment, remark or issue, please open an issue on FluentLenium Issue Tracker

fluentlenium's People

Contributors

benmccann avatar brantb avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar dgageot avatar filipcynarski avatar framiere avatar jarlehansen avatar jcsirot avatar jeanlaurent avatar jetoile avatar jnizet avatar johanrydstrom avatar jroper avatar julien-lafont avatar koryl avatar mathildelemee avatar michaelbitard avatar nozomiito avatar nurkiewicz avatar pascalschumacher avatar picimako avatar pierreleresteux avatar romainlouvet avatar slawekradzyminski avatar tmurakam avatar toilal avatar twillouer avatar yannmoisan 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.