ODf.Test.Framework 2.0.1

dotnet add package ODf.Test.Framework --version 2.0.1
NuGet\Install-Package ODf.Test.Framework -Version 2.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ODf.Test.Framework" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ODf.Test.Framework --version 2.0.1
#r "nuget: ODf.Test.Framework, 2.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ODf.Test.Framework as a Cake Addin
#addin nuget:?package=ODf.Test.Framework&version=2.0.1

// Install ODf.Test.Framework as a Cake Tool
#tool nuget:?package=ODf.Test.Framework&version=2.0.1

ODf Test Framework

Фреймворк для создания функциональных и интеграционных автотестов

  • использование MSTest или NUnit для запуска тестов, параллелизации и т.д.
  • тестирование web-сервисов (Rest, Soap)
  • браузерные тесты (Selenium Webdriver)
  • десктопные тесты (WinAppDriver)
  • легкий доступ в БД
  • мягкие и жесткие assert'ы
  • гибкое создание шагов для Allure
  • вывод результатов выполнения тестов в лог и отчет Allure
  • и многое-многое другое...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|  *  |O| |D| |f|  *  |T| |e| |s| |t|  *  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| * |F| |r| |a| |m| |e| |w| |o| |r| |k| * |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

История изменений:


Версия 2.0.1 (01.06.2022)

Исправлены ошибки.
Исправлены комментарии к некоторым методам.
Добавлен класс RestServiceClientHelper для тестирования рест-сервисов.

Добавлены новые публичные методы:

-BaseHelper.Builder.SetAllureEnvironmentParameters -ContentHelper.PrettyPrintJsonString -ContentHelper.PrettyPrintXmlString -PageBase.Alert.Exists


Версия 2.0.0 (07.05.2022)

Обновлены зависимости. Исправлены ошибки.
Логирование в файлы по умолчанию выключено. Включение/выключение осуществляется методом BaseHelper.SetLoggerLogToFiles.
Добавлен класс RunsettingsHelper для чтения свойств из файла .runsettings.

Добавлены новые публичные методы:
  • AllureHelper.RunStep
  • Asserts.AreEqualByCompare
  • Asserts.AreEqualByCompareAndAccumulate
  • Asserts.AreNotEqualByCompare
  • Asserts.AreNotEqualByCompareAndAccumulate
  • Asserts.IsNotNullAndNotEmpty
  • Asserts.IsNotNullAndNotEmptyAndAccumulate
  • BaseHelper.GetThreadUtil
  • BaseHelper.SetLoggerLogToConsole
  • BaseHelper.SetLoggerLogToFiles
  • ContentHelper.LogResult
  • ContentHelper.RandomString
  • Element.AssertAndAccumulateThat
  • Element.GetDomAttribute
  • Element.GetDomProperty
  • Element.RemoveAttribute
  • Element.ScrollToBottom
  • Element.ScrollToTop
  • Element.SetValue
  • PageBase.Navigate
  • PageBase.Frame.SwitchToFrame
  • PageBase.Frame.SwitchToParentFrame
  • PageBase.JSExecutor.ExecuteScript
  • PageBase.JSExecutor.ExecuteScriptAsync
  • PageBase.JSExecutor.PinScript
  • PageBase.JSExecutor.UnpinScript
  • PageBase.Window.GetPageSize
  • PageBase.Window.GetPageSource
  • PageBase.Window.GetUrl
  • RunsettingsHelper.GetBoolProperty
  • RunsettingsHelper.GetIntProperty
  • RunsettingsHelper.GetProperty
Удалены методы:
  • PageBase.ExecuteJavaScript
  • PageBase.GetPageTitle
  • PageBase.GetUrl

Версия 1.0.2 (19.06.2021)

Обновлены зависимости.
Исправлены некоторые методы.

Добавлены новые публичные методы:
  • Element.SendPassword

Версия 1.0.1 (04.05.2021)

Атрибуты Allure перенесены в ODf.Test.Framework.Allure.
Исправлены комментарии к некоторым методам.

Добавлены новые публичные методы:
  • ContentHelper.Swap
  • PageBase.GetWindow.Zoom

Версия 1.0.0 (08.04.2021)

Фреймворк опубликован в Nuget


Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.1 535 6/1/2022
2.0.0 549 5/7/2022
1.0.2 924 6/19/2021
1.0.1 631 5/4/2021
1.0.0 725 4/8/2021