protractor-net

The .NET port of Protractor, an E2E test framework for Angular apps

Added by: Sam Deering

GitHub

Repository

bbaia/protractor-net

Stats

Stars: 52

Watchers: 52

Forks: 38

Author

Bruno Baia
Bruno Baia

Module Description

Protractor for .NET

The .NET port of Protractor, an end to end test framework for Angular applications.

Protractor for .NET is built on top of Selenium WebDriver C# binding.

Get it from NuGet!

PM> Install-Package Protractor

Supports Microsoft .NET Framework 3.5 and higher.

Write tests!

[Test]
public void ShouldGreetUsingBinding()
{
    using (IWebDriver ngDriver = new NgWebDriver(new ChromeDriver()))
    {
        ngDriver.Url = "http://www.angularjs.org";
        ngDriver.FindElement(NgBy.Model("yourName")).SendKeys("Julie");
        Assert.AreEqual("Hello Julie!", ngDriver.FindElement(NgBy.Binding("yourName")).Text);
    }
}

Module stats last updated: 2017-05-24 16:00:05

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!