Skip to content

Customization

Anna Abalmaz edited this page Nov 19, 2016 · 9 revisions

An introduction to Customization.

Table of content

  1. [WebDriver] (https://github.com/takinosaji/TestUnium/wiki/Customization-of-Selenium-WebDriver)
  2. [Settings] (https://github.com/takinosaji/TestUnium/wiki/Settings)
  3. [Sessions] (https://github.com/takinosaji/TestUnium/wiki/Sessions)

What is Customization

Customization - is one of the concepts of our framework. It is an abstraction, that gives you ability to customize settings, WebDriver and steps execution in your tests with special provided attributes.

Customizer - is a class, which is inherited from CustomizationAttribute](https://github.com/takinosaji/TestUnium/blob/develop/src/TestUnium/Customization/CustomizationAttribute.cs) and [ICustomizer<>` where generic parameter is type of your test class or one of your Base test classes. Since Customizer is an Attribute, we are applying it to any test class in usual way. Once attribute is created, you can use it with any test class, keeping them clean and easy-readable.

You may apply as much customizers to your test class as you want. TestUnium deals with customizers in intelligent way, ensuring correct appliance order and other aspects.