Skip to content

igor-kadach/ui-tests-csharp-selenium-nunit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ui-tests-csharp-selenium-nunit

About

This project presents automated UI-tests for website https://av.by/. The project was completed using the following tecnology stacks:

  1. Chrome WebDriver.
  2. Selenium
  3. NUnit
  4. C#

Getting Started

The project is made in Microsoft Visual Studio Community 2019 Version 16.11.2. Programming language C#.

For running test you neeed following steps:

  1. https://github.com/igor-kadach/ui-tests-csharp-selenium-nunit - сlone the project to your repository.
  2. Selenium.WebDriver.ChromeDriver v.104.0.5112.7900 - download from NuGet Package Manager and install in the copied project.
  3. Seleium.WebDriver v.4.4.0 - download from NuGet Package Manager and install in the copied project.
  4. NUnit v.3.13.1 - download from NuGet Package Manager and install in the copied project.

Tests executed from UnitTest1.cs. in package "Tests". May need to be added following usings:

  • using NUnit.Framework;
  • using OpenQA.Selenium;
  • using OpenQA.Selenium.Chrome;
  • using System.Threading;
  • using UITests.PageObjects;

For running CheckUploadPhotoTest test you need change constant named filePath which situated in TestDatas class. Assign a value to this constant your path, where situated picture what you want upload to site. For example: public const string filePath = "C:\forTest.jpg";

Running Tests

Attention, please!


CheckUploadPhotoTest()

For running test CheckUploadPhotoTest() you should have any picture name forTest.jpg located in "C:\"; → C:\forTest.jpg

It will be fixed with next commits.

to be continued...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages