Skip to content

Repository files navigation

Atata Sample App Tests

Build status Atata docs Atata Templates Slack X

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

Features

  • Configuration through JSON files.
  • 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, screenshots and snapshots.
  • Page HTML validation.

Sample Test

public sealed class UserTests : UITestFixture
{
    [Test]
    public void Create() =>
        Login()
            .New()
                .ModalTitle.Should.Be("New User")
                .General.FirstName.SetRandom(out string firstName)
                .General.LastName.SetRandom(out string lastName)
                .General.Email.SetRandom(out string email)
                .General.Office.SetRandom(out Office office)
                .General.Gender.SetRandom(out Gender gender)
                .Save()
            .GetUserRow(email).View()
                .AggregateAssert(x => x
                    .Header.Should.Be($"{firstName} {lastName}")
                    .Email.Should.Be(email)
                    .Office.Should.Be(office)
                    .Gender.Should.Be(gender)
                    .Birthday.Should.Not.BeVisible()
                    .Notes.Should.Not.BeVisible());

    //...
}

Community

Contact author

Contact me, Yevhenii Shunevych, if you need help with test automation using the Atata Framework. You can hire me for test automation development or consulting if you are looking for a high-quality, maintainable automation solution for your project.

Contributing

Check out Contributing Guidelines for details.

License

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

About

Automation tests application based on Atata Framework

Topics

Resources

Code of conduct

Contributing

Stars

30 stars

Watchers

5 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages