Skip to content
Jakub Raczek edited this page Apr 26, 2018 · 80 revisions
Objectivity.Test.Automation framework to automate tests using Selenium WebDriver in C#

Build status Build status Coverage Status AppVeyor tests

Test Framework was designed in Objectivity to propose common way how people should create Selenium WebDriver tests:

Project API documentation can be found here: http://ObjectivityLtd.github.io/Test.Automation

Install one of available nuget packages from nuget.org to use framework in your test automation project:

  • Objectivity.Test.Automation.Common.NUnit NuGet Badge
  • Objectivity.Test.Automation.Common.Features NuGet Badge
  • Objectivity.Test.Automation.Common.MsTest NuGet Badge
  • Objectivity.Test.Automation.Common.xUnit NuGet Badge

Checkout the code to see the implementation of framework and examples how to use it.

Option FirefoxUseLegacyImplementation is set as false in all App.config files, for Firefox 47 and below set it to true, more details here

<add key="FirefoxUseLegacyImplementation" value="true" />

If you have problem with opening any of sub projects in Microsoft Visual Studio:

  • -run ".nuget\NuGet.exe restore" command in command line in folder with solution file TestFramework.sln

  • Install “SpecFlow” plugin. Select Tools | Extensions and Updates from the menu in Visual Studio, switch to the Online search on the left and enter “SpecFlow” in the search field at the top right.

  • Install NUnit 3 Test Adapter to run NUnit tests from Visual Studio. Select Tools | Extensions and Updates from the menu in Visual Studio, switch to the Online search on the left and enter “NUnit 3 Test Adapter” in the search field at the top right.

  • Install Sandcastle Help File Builder (all features) from link

Projects examples of using Test Framework:

  • Objectivity.Test.Automation.Tests.Angular for AngularJS
  • Objectivity.Test.Automation.Tests.Features for Specflow
  • Objectivity.Test.Automation.Tests.MsTests for MSTest
  • Objectivity.Test.Automation.Tests.NUnit for NUnit
  • Objectivity.Test.Automation.Tests.xUNIT for xUNIT
  • Objectivity.Test.Automation.Tests.PageObjects for Page Object Pattern
  • Objectivity.Test.Automation.Common.Documentation.shfbproj for building API documentation
  • Objectivity.Test.Automation.Tests.BrowserStackCrossBrowser for cross browser parallel test execution with BrowserStack\SeleniumGrid
  • Objectivity.Test.Automation.UnitTests for unit test of framework

Provided features are listed in README file.

Where to start?


Clone this wiki locally