Giter Club home page Giter Club logo

jdi-light-testng-template's Introduction

JDI Light project template

For run new UI test automation just download and open this project Powered by JDI Light and Selenium

Instruction:

  1. Download template and unpack in appropriate folder

  2. Open project in IDE (for example IntelliJIdea)

  3. For running demo tests:

    • Maven: just use "mvn clean install" command
    • IDE: run by click on "example" folder in src/test and select "Run tests"
  4. Logs: Observe test run results in Console log

  5. Reporting: After running tests just run allure:serve in maven plugins

  6. Use as template for your project:

    • just remove all content from src/main/.../example folder, add your package you Page Objects
    • replace tests in src/test/.../example folder with your tests
  7. TestNg Retry and before after listeners: You can also modify rules of retry tests (now it is 1 retry for each test) and actions before/after all tests (now it prints test name and result) in org.mytests.tests.testng folder

jdi-light-testng-template's People

Contributors

dependabot[bot] avatar epam-roman-iovlev avatar fedorsnigir avatar jackydnb avatar n-ton4 avatar pnatashap avatar romaniovlev avatar viktarr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jdi-light-testng-template's Issues

Example does not compile

The example seems outdated and does not compile

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project jdi-light-testng-template: Compilation failure
[ERROR] /home/artamonov/test/qa/jdi-light-testng-template/src/main/java/org/mytests/uiobjects/example/site/custom/MultiDropdown.java:[26,47] type argument com.epam.jdi.light.asserts.generic.UISelectAssert is not within bounds of type-variable A

Warning in IDE:
image

Template test run is not successfull

Exactly like in the build logs on travis, I receive an
java.lang.RuntimeException: java.lang.RuntimeException: Failed to do screenshot. No Drivers run Caused by: java.lang.RuntimeException: Failed to do screenshot. No Drivers run
exception after running the command mvn install/mvn clean install or while running a test in the IDE (eclipse) with TestNG Plugin.

Could you please fix this issue or at least explain, what should a beginner user do to make test run successful?

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.