Atata logo

Atata

C#/.NET automated web testing full featured framework

WebDriver

Based on Selenium WebDriver and preserves all its features.

Page Object

Provides unique fluent page object pattern that is easy to implement and maintain.

Components

Supports a rich set of HTML components.

Integration

Works on any .NET test engine (e.g. NUnit, xUnit) as well as on CI systems like TeamCity or TFS.

Triggers

A bunch of triggers to bind with different component events.

Verification

A set of methods and triggers for the component and data verification.

Configurable

Defines the default component search strategies as well as additional settings.

Logging

Built-in customizable logging and screenshot capturing functionality.

Extensible

Atata.Bootstrap and Atata.KendoUI packages have a set of ready to use components.

Simple example for Sign In page.

Define Page Object Class

using Atata;

namespace SampleApp.UITests
{
    using _ = SignInPage;

    [Url("signin")] // Relative URL of the page.
    [VerifyH1] // Verifies that H1 header text equals "Sign In".
    public class SignInPage : Page<_>
    {
        public TextInput<_> Email { get; private set; }

        public PasswordInput<_> Password { get; private set; }

        public Button<_> SignIn { get; private set; }
    }
}
Sign in page

Implement Test

[Test]
public void SignIn()
{
    Go.To<SignInPage>().
        Email.Set("admin@mail.com").
        Password.Set("abc123").
        SignIn.Click();
}

[SetUp]
public void SetUp()
{
    AtataContext.Configure().
        UseChrome().
        UseBaseUrl("http://atata-framework.github.io/atata-sample-app/#!/").
        Build();
}
Sign in page with filled data