Atata stands with Ukraine


In solidarity, please consider financially support Ukraine (UNITED24, "Come Back Alive" fund) or check out other ways to support Ukraine.

Atata

C#/.NET web test automation full-featured framework

Atata Framework 3 is Released

April 16, 2024

Atata Framework 3 is released with a set of improvements and removal of deprecated functionality.

Atata Templates 2.14.1 is Released

February 16, 2024

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

Atata.WebDriverSetup 2.10.0 is Released

February 15, 2024

Atata.WebDriverSetup 2.10.0 is released with a fix for Chrome driver downloading.

WebDriver

Based on Selenium WebDriver and preserves all its features.

Page Object Model

Provides a unique fluent page object pattern, which 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, GitHub Actions, 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 a 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; screenshots and snapshots capturing functionality.

Extensible

Atata.HtmlValidation adds HTML page validation. Atata.Bootstrap and Atata.KendoUI provide extra 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.
public class SignInPage : Page<_>
{
    [FindById] // Finds text input by "email" id.
    public TextInput<_> Email { get; private set; }

    [FindById] // Finds password input by "password" id.
    public PasswordInput<_> Password { get; private set; }

    [FindByContent] // Finds button by "Sign In" text content.
    public Button<_> SignIn { get; private set; }
}
Sign in page

Implement Test

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

[SetUp]
public void SetUp() =>
    AtataContext.Configure()
        .UseChrome()
        .UseBaseUrl("https://demo.atata.io/")
        .Build();

[TearDown]
public void TearDown() =>
    AtataContext.Current?.Dispose();
Sign in page with filled data
Get Started

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