Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neonidian/selenium-page-object-model
Selenium Page Object Model with C# and .NET core
https://github.com/neonidian/selenium-page-object-model
csh csharp dotnet dotnetcore nunit page-object-model selenium selenium-csharp selenium-csharp-template selenium-dotnet selenium-webdriver
Last synced: 8 days ago
JSON representation
Selenium Page Object Model with C# and .NET core
- Host: GitHub
- URL: https://github.com/neonidian/selenium-page-object-model
- Owner: neonidian
- Created: 2019-03-16T07:08:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-14T13:43:16.000Z (almost 3 years ago)
- Last Synced: 2024-12-20T14:41:50.047Z (about 2 months ago)
- Topics: csh, csharp, dotnet, dotnetcore, nunit, page-object-model, selenium, selenium-csharp, selenium-csharp-template, selenium-dotnet, selenium-webdriver
- Language: C#
- Homepage:
- Size: 7.08 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Selenium Page Object Modelling
## Running tests
1. Install dotnet core (See project file for version of .NET core)
2. In the commandline execute `dotnet restore` to download and update dependencies required for this project.
3. In the commandline execute `dotnet test` to run all the tests. The default browser is set as firefox in [SeleniumConfig.ini](src/SeleniumConfig.ini).
This can be tweaked to run other browsers.4. All the tests are present in [uiTests](src/uiTests) folder.
Run individual tests with Nunit plugin which can be installed in the IDE.## What this test does
1. This test opens up firefox browser and loads a website - https://www.axiomatics.com (Access control solutions company)
2. Opens up a one of the header menu to list a subset of the menu
3. Selects one of the sub-menu to navigate to a page and verify if the page is displayed
## Tool used
* IDE - Visual studio code
* Framework - Dot NET core
* Testing framework - Nunit
## How this project was setup
1. Nunit template using ` dotnet new nunit`
2. Package reference for external libraries and the browser drivers are set up in the project file