STAF.UI.API 3.1.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package STAF.UI.API --version 3.1.7                
NuGet\Install-Package STAF.UI.API -Version 3.1.7                
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="STAF.UI.API" Version="3.1.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add STAF.UI.API --version 3.1.7                
#r "nuget: STAF.UI.API, 3.1.7"                
#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 STAF.UI.API as a Cake Addin
#addin nuget:?package=STAF.UI.API&version=3.1.7

// Install STAF.UI.API as a Cake Tool
#tool nuget:?package=STAF.UI.API&version=3.1.7                

About:

  • STAF stands for Simple Test Automation Framework.
  • STAF.UI.API nuget for Page Object Model implementation of Selenium Framework.

What it has

  • STAF is a test automation framework for c# projects using selenium.
  • STAF helps to automate API and UI Tests using REST and Selenium.
  • STAF has all base class written so you can inherit and use those.
  • STAF has a good HTML reporting as well for test result viewing.
  • Parallel Execution using native machine threads.
  • STAF framework is maintained by https://github.com/sooraj171

How to implement

From your Visual Studio IDE Navigate to file menu:

  • Extension → Manage Extension → Online Templates → Search "STAFTemplate".
  • Install the template successfully.
  • Create a new project from Visual Studio
  • Search for the template "STAFSample" and select it and create project
  • From the Build menu, Click Build Project
  • From Test Explorer, select the test and Click run.
  • A sample test will get executed.

How to Override the driver and driver options

To override BrowserOptions use SetChromeOptions / SetEdgeOptions Usage: protected override ChromeOptions SetChromeOptions() { return ChromeOptions;}

To override BrowserDriver Usage: public override IWebDriver GetBrowserDriverObject("Chrome", "", false) { return WebDriver;}

License:

 MIT

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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
3.4.1 357 12/12/2023
3.3.0 592 7/16/2023
3.2.9 530 5/21/2023
3.2.8 727 4/20/2023
3.2.1 545 4/7/2023
3.2.0 568 4/1/2023
3.1.7 632 2/5/2023
3.1.0 650 1/25/2023
3.0.0 666 1/17/2023
2.0.2 680 1/16/2023
2.0.1 831 3/18/2022
2.0.0 833 3/5/2022
1.0.1 788 2/16/2022
1.0.0 833 2/8/2022

UI and API test framework for Selenium.
Supports Chrome, Edge & Remote Drivers.
Supports Parallel execution and is thread safe.
Install STAFTemplate Test automation framework from Microsoft Market place. (From VS IDE -> Extension -> Manage Extension -> Online Templates -> Search "STAFTemplate"