Atata

C#/.NET automated web testing full featured framework

Atata.KendoUI 1.4.0 is Released

December 30, 2020

Atata.KendoUI 1.4.0 is released with several enhancements according to Atata v1.9.0.

Atata.Bootstrap 1.1.0 is Released

December 24, 2020

Atata.Bootstrap 1.1.0 is released with support of Bootstrap v3-v5.

Atata Templates 1.9.0 is Released

December 17, 2020

Atata Templates 1.9.0 Visual Studio extension is released with update of package references.

WebDriver

Based on Selenium WebDriver and preserves all its features.

Page Object Model

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

Components

Contains a rich set of ready to use components for inputs, tables, lists, etc.

Integration

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

Triggers

A bunch of triggers to bind with different events to extend component behavior.

Verification

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

Configurable

Defines the default component search strategies as well as additional settings. Atata.Configuration.Json provides flexible JSON configurations.

Reporting/Logging

Built-in customizable logging and screenshot capturing functionality.

Extensible

Atata.Bootstrap and Atata.KendoUI packages have a set of ready to use components. Framework supports any kind of extending.

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("https://demo.atata.io/").
        Build();
}
Sign in page with filled data
Get Started

Or check out Tutorials for guides and Examples for how to.