Frameworks for Selenium in C#

18,585

Solution 1

•Abstract all test and object logic away -- must be done manually

Record actions straight into Selenium Webdriver C# code? -- the firefox plugin "selenium ide" can output test steps in C#. You can then use the "page object" design pattern to abstract away the object logic.

Here is the best example of using the "page object" pattern I have found. Example is C#

http://seleniumexamples.com/blog/examples/selenium2-in-net-framework/

Solution 2

You can try Seleno:

http://teststack.github.com/TestStack.Seleno

It implements the Page Object pattern. It encourages a separation of concern between the logic of your page and your tests.

You can use the Selenium Firefox plugin to record actions, however in my experience it's only been useful for recording quick scripts to aid in development. The code it generates hasn't been of much use to myself.

Solution 3

C# frameworks for Selenium Webdriver:

https://github.com/ProtoTest/ProtoTest.Golem

https://github.com/ObjectivityBSS/Test.Automation

Solution 4

Selenium IDE is a Firefox plugin that allows you to record your browser activity and export it to WebDriver C# code.

Share:
18,585
Andrey
Author by

Andrey

Test Automation, QuickTest Pro, Selenium, Microsoft UI Automation, Coded UI, C#

Updated on June 08, 2022

Comments

  • Andrey
    Andrey almost 2 years

    Are there any open source frameworks based on Selenium WebDriver in C# that

    • Abstract all test and object logic away
    • Record actions straight into Selenium Webdriver C# code?

    I am thinking of writing a framework (not sure about the recording feature), but maybe it's already been done!