An open API service indexing awesome lists of open source software.

https://github.com/atata-framework/atata-samples

Automation test samples based on Atata Framework
https://github.com/atata-framework/atata-samples

atata automation csharp demo samples tests

Last synced: 2 months ago
JSON representation

Automation test samples based on Atata Framework

Awesome Lists containing this project

README

        

# Atata Samples

[![Build status](https://dev.azure.com/atata-framework/atata-samples/_apis/build/status/atata-samples-ci?branchName=main)](https://dev.azure.com/atata-framework/atata-samples/_build/latest?definitionId=30&branchName=main)
[![Atata docs](https://img.shields.io/badge/docs-Atata_Framework-orange.svg)](https://atata.io)
[![Gitter](https://badges.gitter.im/atata-framework/atata.svg)](https://gitter.im/atata-framework/atata)
[![Slack](https://img.shields.io/badge/join-Slack-green.svg?colorB=4EB898)](https://join.slack.com/t/atata-framework/shared_invite/zt-5j3lyln7-WD1ZtMDzXBhPm0yXLDBzbA)
[![Twitter](https://img.shields.io/badge/[email protected])](https://twitter.com/AtataFramework)

Automated UI test sample projects based on **[Atata Framework](https://atata.io)**.

## Projects

### From [Atata Tutorials](https://atata.io/tutorials/)

- **Workflow Test** - [`/SampleApp.UITests`](../../tree/main/SampleApp.UITests)
| [download](../../raw/main/_archives/SampleApp.UITests.zip).
Used in **[Atata - C# Web Test Automation Framework](https://www.codeproject.com/Articles/1158365/Atata-New-Test-Automation-Framework)** introduction article.
- **Verification of Page** - [`/PageVerification`](../../tree/main/PageVerification)
| [download](../../raw/main/_archives/PageVerification.zip).
Used in **[Verification of Page](https://atata.io/tutorials/verification-of-page/)** tutorial.
Demonstrates how to verify web page data using different approaches of Atata Framework.
- **Verification of Validation Messages** - [`/ValidationMessagesVerification`](../../tree/main/ValidationMessagesVerification)
| [download](../../raw/main/_archives/ValidationMessagesVerification.zip).
Used in **[Verification of Validation Messages](https://atata.io/tutorials/verification-of-validation-messages/)** tutorial.
Demonstrates how to verify validation messages on web pages.
- **Handle Confirmation Popups** - [`/ConfirmationPopups`](../../tree/main/ConfirmationPopups)
| [download](../../raw/main/_archives/ConfirmationPopups.zip).
Used in **[Handle Confirmation Popups](https://atata.io/tutorials/handle-confirmation-popups/)** tutorial.
Demonstrates how to handle different confirmation popups using Atata Framework.
- **Multi-Browser Configuration via .runsettings files** - [`/MultipleBrowsersViaRunSettings`](../../tree/main/MultipleBrowsersViaRunSettings)
| [download](../../raw/main/_archives/MultipleBrowsersViaRunSettings.zip).
Demonstrates how to configure multi-browser tests application using `.runsettings` files.
Used in **[Multi-Browser Configuration via .runsettings files](https://atata.io/tutorials/multi-browser-configuration-via-runsettings-files/)** tutorial.
- **Multi-Browser Configuration via Fixture Arguments** - [`/MultipleBrowsersViaFixtureArguments`](../../tree/main/MultipleBrowsersViaFixtureArguments)
| [download](../../raw/main/_archives/MultipleBrowsersViaFixtureArguments.zip).
Demonstrates how to configure multi-browser tests application using NUnit fixture arguments.
Used in **[Multi-Browser Configuration via Fixture Arguments](https://atata.io/tutorials/multi-browser-configuration-via-fixture-arguments/)** tutorial.
- **Extent Reports** - [`/ExtentReports`](../../tree/main/ExtentReports)
| [download](../../raw/main/_archives/ExtentReports.zip).
Used in **[Reporting to Extent Reports](https://atata.io/tutorials/reporting-to-extentreports/)** tutorial.
Demonstrates the Atata reporting to [Extent Reports](https://extentreports.com/).

### Test frameworks

- **NUnit / Basic Test Project** - [`/NUnit.BasicTestProject`](../../tree/main/NUnit.BasicTestProject)
| [download](../../raw/main/_archives/NUnit.BasicTestProject.zip).
Demonstrates a basic Atata + NUnit test project.
- **NUnit / Advanced Test Project** - [`/NUnit.AdvancedTestProject`](../../tree/main/NUnit.AdvancedTestProject)
| [download](../../raw/main/_archives/NUnit.AdvancedTestProject.zip).
Demonstrates an advanced Atata + NUnit test project.
- **Using Xunit** - [`/Xunit`](../../tree/main/Xunit)
| [download](../../raw/main/_archives/Xunit.zip).
- **Using MSTest** - [`/MSTest`](../../tree/main/MSTest)
| [download](../../raw/main/_archives/MSTest.zip).
- **Using SpecFlow** - [`/SpecFlow`](../../tree/main/SpecFlow)
| [download](../../raw/main/_archives/SpecFlow.zip).

### Configuration

- **JSON Configuration: Multi-Browser via Fixture Arguments** - [`/JsonConfiguration.MultiBrowserViaFixtureArgs`](../../tree/main/JsonConfiguration.MultiBrowserViaFixtureArgs)
| [download](../../raw/main/_archives/JsonConfiguration.MultiBrowserViaFixtureArgs.zip).
- **JSON Configuration: Multi-Environment** - [`/JsonConfiguration.MultiEnvironment`](../../tree/main/JsonConfiguration.MultiEnvironment)
| [download](../../raw/main/_archives/JsonConfiguration.MultiEnvironment.zip).
Demonstrates the way to support multiple environments using JSON configuration files.
- **JSON Extended Configuration** - [`/JsonExtendedConfiguration`](../../tree/main/JsonExtendedConfiguration)
| [download](../../raw/main/_archives/JsonExtendedConfiguration.zip).
Demonstrates the way to implement complex configuration for different environments using
JSON configuration files, .runsettings files, NUnit parameters, environment variables, `Microsoft.Extensions.Configuration` and user secrets.
- **App.Config Configuration** - [`/AppConfig`](../../tree/main/AppConfig)
| [download](../../raw/main/_archives/AppConfig.zip).

### Cloud platform configuration

- **SauceLabs Configuration** - [`/SauceLabs`](../../tree/main/SauceLabs)
| [download](../../raw/main/_archives/SauceLabs.zip).
Demonstrates how to configure Atata for SauceLabs.

### UI components

- **Material UI Components** - [`/MaterialUI`](../../tree/main/MaterialUI)
| [download](../../raw/main/_archives/MaterialUI.zip).
Demonstrates the creation of Atata custom controls using Material UI components as examples.
- **Salesforce Lightning UI Components** - [`/SalesforceLightning`](../../tree/main/SalesforceLightning)
| [download](../../raw/main/_archives/SalesforceLightning.zip).
Demonstrates the creation of Atata custom controls using Salesforce Lightning components as examples.
- **DevExtreme Components** - [`/DevExtreme`](../../tree/main/DevExtreme)
| [download](../../raw/main/_archives/DevExtreme.zip).
Demonstrates the creation of Atata custom controls using DevExpress DevExtreme components as examples.
- **jQuery UI Components** - [`/JQueryUI`](../../tree/main/JQueryUI)
| [download](../../raw/main/_archives/JQueryUI.zip).
Demonstrates the creation of Atata custom controls using jQuery UI widgets as examples.
- **Ext JS Components** - [`/ExtJS`](../../tree/main/ExtJS)
| [download](../../raw/main/_archives/JQueryUI.zip).

### Other

- **NUnit Generic Page Tests** - [`/NUnit.GenericPageTests`](../../tree/main/NUnit.GenericPageTests)
| [download](../../raw/main/_archives/NUnit.GenericPageTests.zip).
Demonstrates the implementation of generic NUnit tests to execute against similar pages or to perform generic checks,
like page title, as well as more complex workflows.
- **Using CSV Data Source** - [`/CsvDataSource`](../../tree/main/CsvDataSource)
| [download](../../raw/main/_archives/CsvDataSource.zip).
- **Table with Row-Spanned Cells** - [`/TableWithRowSpannedCells`](../../tree/main/TableWithRowSpannedCells)
| [download](../../raw/main/_archives/TableWithRowSpannedCells.zip).
Demonstrates 3 different approaches to work with table that has cells with `rowspan`.
- **Performance Practices for ControlList** - [`/Performance.ControlList`](../../tree/main/Performance.ControlList)
| [download](../../raw/main/_archives/Performance.ControlList.zip).
Demonstrates the performance practices to enumerate a big list of controls (500 `` elements).
- **Fixture Reusing Driver** - [`/FixtureReusingDriver`](../../tree/main/FixtureReusingDriver)
| [download](../../raw/main/_archives/FixtureReusingDriver.zip).
Demonstrates how to configure Atata to reuse the same driver instance by the tests in a fixture.
- **Parallel Tests Reusing Drivers** - [`/ParallelTestsReusingDrivers`](../../tree/main/ParallelTestsReusingDrivers)
| [download](../../raw/main/_archives/ParallelTestsReusingDrivers.zip).
Configures Atata to use a pool of drivers for tests execution.
After the test finishes, the driver is not closed and can be reused by one of the next tests.
- **Using Headless Edge** - [`/HeadlessEdge`](../../tree/main/HeadlessEdge)
| [download](../../raw/main/_archives/HeadlessEdge.zip).
Configures Atata to use headless Edge browser based on Chromium.
Demonstrates the creation of Atata custom controls using Ext JS components as examples.
- **Multiple Browsers in Test** - [`/MultipleBrowsersInTest`](../../tree/main/MultipleBrowsersInTest)
| [download](../../raw/main/_archives/MultipleBrowsersInTest.zip).
Demonstrates the usage of multiple browsers in a single test.
- **Download File** - [`/DownloadFile`](../../tree/main/DownloadFile)
| [download](../../raw/main/_archives/DownloadFile.zip).
Demonstrates how to configure downloads directory of Chrome and verify that file is downloaded.

You are also able to clone the whole repository and open `AtataSamples.sln`,
which contains all sample projects.

## License

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