Skip to content

TsvetomirSlavov/selenium-utils-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rebranding !!

Our test-utils becomes selenium-utils!

We want to build more libs based on Selenium Core. Currently we have integration for BrowserStack and in the future we plan new lib for easier testing of DotVVM apps.
Unfortunatly, this brings some breaking changes.

##Breaking changes:

  • namespace Riganti.Utils.Testing.SeleniumCore changed to Riganti.Utils.Testing.Selenium.Core
  • namespace Riganti.Utils.Testing.SeleniumCore.BrowserStack changed to Riganti.Utils.Testing.Selenium.BrowserStack

selenium-utils

The purpouse of this framework is to make UI testing much more easier and cheaper. Framework is based on selenium wrappers and principles which canopy uses.

Creation of tests full of Assert.AssertationFunc() was not acceptable for us. These tests usualy become very hard to read even it checks simple case.

To simplify testing and reading of these tests we are using CheckIfSomething functions.

These functions throws meaningful exceptions when something goes wrong. The exceptions usualy contains informations about css selector of element, expected value and provided value etc.

configuration

All critical settings are configurable in app.config. You can easily change your configuration of tests by changing of app.config via XML transformation. This provides you the possibility of creation specific configuration for your CI servers.

All settings starts with <add key="selenium:_configurationKey_" value="" />
This make you able to define how many times the test is retried in case of failure, baseurl of relative urls, what browsers should be tested, logging etc.

About

Utilities that make testing easier.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 94.0%
  • Classic ASP 5.9%
  • JavaScript 0.1%