Skip to content
Automation tests application based on Atata Framework
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Change de-init trigger of UserEditWindow May 21, 2019
.gitignore Initial commit Jun 3, 2016
LICENSE Change License to Apache License Version 2.0 Sep 19, 2016
README.md Update links in README.md Mar 29, 2019
azure-pipelines.yml Update azure-pipelines.yml Dec 3, 2018

README.md

Atata Sample App Tests

Build status Atata docs Gitter Slack Twitter

Automated UI tests C#/.NET application based on Atata Framework. It uses Atata Sample App (repository) as a testing website and NUnit 3 as a test engine. Tests application demonstrates different testing approaches and features of Atata Framework.

Features

  • Atata configuation and settings set-up
  • Page navigation
  • Controls finding
  • Data input and verification
  • Validation messages verification
  • Usage of triggers
  • Interaction with pop-ups (Bootstrap modal) and alerts
  • Work with tables
  • Logging

Sample Test

[Test]
public void User_Create()
{
    string firstName, lastName, email;
    Office office = Office.NewYork;
    Gender gender = Gender.Male;

    Login().
        New().
            ModalTitle.Should.Equal("New User").
            General.FirstName.SetRandom(out firstName).
            General.LastName.SetRandom(out lastName).
            General.Email.SetRandom(out email).
            General.Office.Set(office).
            General.Gender.Set(gender).
            Save().
        Users.Rows[x => x.FirstName == firstName && x.LastName == lastName && x.Email == email && x.Office == office].View().
            Header.Should.Equal($"{firstName} {lastName}").
            Email.Should.Equal(email).
            Office.Should.Equal(office).
            Gender.Should.Equal(gender).
            Birthday.Should.Not.Exist().
            Notes.Should.Not.Exist();
}

License

Atata is an open source software, licensed under the Apache License 2.0. See LICENSE for details.

You can’t perform that action at this time.