/SeleniumAutomationFramework.NetCore

Selenium Test Automation Framework With Specflow and xUnit on .NetCore 3.1

Primary LanguageC#

SeleniumAutomationFramework.NetCore

Selenium Test Automation Framework With Specflow and xUnit on .NetCore 3.1
This project is created on Page Object Pattern and Factory Pattern for automate to browsers through the UI tests. Also provides api testing based on restsharp and specflow.

For executing current tests and writing new tests, clone the repository and restore the applicaiton. The .net core sdk 3.1 should be installed on your computer.
For more detail please visit Selenium.Automation.Framework.docx document under the docs folder.

Tech Stack:

  • Platform
    • c#
    • .Net Core 3.1
  • Test Framwworks
    • xUnit (for test framework)
    • Specflow (BDD)
  • Assertions
    • Fluent Assertions
    • xunit assertions
  • Web Automation
    • Selenium Webdriver 3.14
    • Browser support (Chrome, IE, Firefox)
  • Testing
    • Webdriver based UI testing
    • Webdriver based system testing
    • RestSharp based api testing
    • Unit testing with xUnit
  • Logging
    • Serlog (log to file, console or elastic common scheme)
  • Reporting
    • SpecFlow.Plus.LivingDoc.CLI for Specflow BDD based tests.
    • Custom vs xml reporting for unit integration tests
      Generated report looks like this
      alt text

Project Structure:

  • Project structure is as below

    alt text

Other Test Scenarios

  • You can find more test scenarios on docs/TestScenarios.xlsx excel file