Jakub Raczek edited this page May 7, 2018 · 59 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.

  • Firefox Driver

We installed 32 bit version of geckodriver for Firefox, if you are using Firefox 64 bit you have to uninstall current version and install https://www.nuget.org/packages/Selenium.WebDriver.GeckoDriver.Win64/ in your solution.

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.CloudProviderCrossBrowser for cross browser parallel test execution with BrowserStack\SauceLabs\TestingBot\SeleniumGrid
  • Objectivity.Test.Automation.UnitTests for unit test of framework

Provided features are listed in README file.

Where to start?


Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.