Fameworks

Here is a quick example of Page Object Model using Page Factories.

The demoframework have 02 projects

  1. demoframework
  2. demoUISpecTest

demoframework - Is the boilerplate code that would be used across all the UISpec test projects. It has an Static class which act as an library named Initialiser.cs and any other utility class.

demoUISpectests - Is the project with your page models or page definitions, feature/scenario file and step definitions. Another class BeforeAfterSteps.cs sit at the solution level to abstract the Before and After scenario/feature steps.

Continued...