atata-samples icon indicating copy to clipboard operation
atata-samples copied to clipboard

Automation test samples based on Atata Framework

trafficstars

Atata Samples

Build status Atata docs Gitter Slack Twitter

Automated UI test sample projects based on Atata Framework.

Projects

From Atata Tutorials

  • Workflow Test - /SampleApp.UITests | download. Used in Atata - C# Web Test Automation Framework introduction article.
  • Verification of Page - /PageVerification | download. Used in Verification of Page tutorial. Demonstrates how to verify web page data using different approaches of Atata Framework.
  • Verification of Validation Messages - /ValidationMessagesVerification | download. Used in Verification of Validation Messages tutorial. Demonstrates how to verify validation messages on web pages.
  • Handle Confirmation Popups - /ConfirmationPopups | download. Used in Handle Confirmation Popups tutorial. Demonstrates how to handle different confirmation popups using Atata Framework.
  • Multi-Browser Configuration via .runsettings files - /MultipleBrowsersViaRunSettings | download. Demonstrates how to configure multi-browser tests application using .runsettings files. Used in Multi-Browser Configuration via .runsettings files tutorial.
  • Multi-Browser Configuration via Fixture Arguments - /MultipleBrowsersViaFixtureArguments | download. Demonstrates how to configure multi-browser tests application using NUnit fixture arguments. Used in Multi-Browser Configuration via Fixture Arguments tutorial.
  • Extent Reports - /ExtentReports | download. Used in Reporting to Extent Reports tutorial. Demonstrates the Atata reporting to Extent Reports.

Test Frameworks

  • NUnit / Basic Test Project - /NUnit.BasicTestProject | download. Demonstrates a basic Atata + NUnit test project.
  • NUnit / Advanced Test Project - /NUnit.AdvancedTestProject | download. Demonstrates an advanced Atata + NUnit test project.
  • Using Xunit - /Xunit | download.
  • Using MSTest - /MSTest | download.
  • Using SpecFlow - /SpecFlow | download.

Configuration

  • JSON Configuration: Multi-Browser via Fixture Arguments - /JsonConfiguration.MultiBrowserViaFixtureArgs | download.
  • JSON Configuration: Multi-Environment - /JsonConfiguration.MultiEnvironment | download. Demonstrates the way to support multiple environments using JSON configuration files.
  • JSON Extended Configuration - /JsonExtendedConfiguration | download. 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 | download.

Cloud Platform Configuration

  • SauceLabs Configuration - /SauceLabs | download. Demonstrates how to configure Atata for SauceLabs.

UI Components

  • Material UI Components - /MaterialUI | download. Demonstrates the creation of Atata custom controls using Material UI components as examples.
  • Salesforce Lightning UI Components - /SalesforceLightning | download. Demonstrates the creation of Atata custom controls using Salesforce Lightning components as examples.
  • jQuery UI Components - /JQueryUI | download. Demonstrates the creation of Atata custom controls using jQuery UI widgets as examples.
  • Ext JS Components - /ExtJS | download.

Other

  • NUnit Generic Page Tests - /NUnit.GenericPageTests | download. 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 | download.
  • Table with Row-Spanned Cells - /TableWithRowSpannedCells | download. Demonstrates 3 different approaches to work with table that has cells with rowspan.
  • Performance Practices for ControlList - /Performance.ControlList | download. Demonstrates the performance practices to enumerate a big list of controls (500 <tr> elements).
  • Fixture Reusing Driver - /FixtureReusingDriver | download. Demonstrates how to configure Atata to reuse the same driver instance by the tests in a fixture.
  • Parallel Tests Reusing Drivers - /ParallelTestsReusingDrivers | download. 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 | download. 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 | download. Demonstrates the usage of multiple browsers in a single test.
  • Download File - /DownloadFile | download. 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 for details.