https://github.com/atata-framework/atata-sample-app-tests
Automation tests application based on Atata Framework
https://github.com/atata-framework/atata-sample-app-tests
atata csharp demo tests
Last synced: 3 months ago
JSON representation
Automation tests application based on Atata Framework
- Host: GitHub
- URL: https://github.com/atata-framework/atata-sample-app-tests
- Owner: atata-framework
- License: apache-2.0
- Created: 2016-06-03T09:57:06.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2025-04-09T06:44:39.000Z (3 months ago)
- Last Synced: 2025-04-19T09:05:22.867Z (3 months ago)
- Topics: atata, csharp, demo, tests
- Language: C#
- Homepage:
- Size: 11.3 MB
- Stars: 30
- Watchers: 6
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Atata Sample App Tests
[](https://dev.azure.com/atata-framework/atata-sample-app-tests/_build/latest?definitionId=26&branchName=main)
[](https://atata.io)
[](https://gitter.im/atata-framework/atata)
[](https://join.slack.com/t/atata-framework/shared_invite/zt-5j3lyln7-WD1ZtMDzXBhPm0yXLDBzbA)
[](https://twitter.com/AtataFramework)Automated UI tests C#/.NET application based on [Atata Framework](https://github.com/atata-framework/atata).
It uses [Atata Sample App](https://demo.atata.io) ([repository](https://github.com/atata-framework/atata-sample-app)) as a testing website and NUnit 3 as a test engine.
Tests application demonstrates different testing approaches and features of Atata Framework.## Features
- Atata configuration 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, screenshots and snapshots.
- Page HTML validation.## Sample Test
```cs
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());//...
}
```## License
Atata is an open source software, licensed under the Apache License 2.0. See [LICENSE](LICENSE) for details.