Skip to content

PavelMal/selenide-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an example of using the Selenide framework and showcasing tests using the Page Object pattern. The project includes basic tests for search/clearing the search/ displaying pop-up suggestions, as well as attempting to log in with incorrect data.

You can run tests in parallel by adding param -Psuite="Parallel"also you can configure thread amount by adding param -Pthreads="2" into 'arguments'.

In case of no additional params tests will start with default configuration (single thread with a single suite). Also, you can add a param -PbaseUrl to change a start URL for example:

  • -PbaseUrl="google.com"

To see a test report after passing tests, you need following the instruction:

  • Run tests (when tests finish you will see a new folder 'build' inside a project, inside 'build' folder you will see 'allure-results' folder)

  • Change your directory into 'build' and run a command allure serve in command line (report will be formed automatically)

Screenshots will be automatically added to failed steps

img.png

About

Example of using Selenide for UI Autotests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages