This is a sample Page Object Model (POM) framework for web application test automation using C# and Selenium WebDriver.
- Pages: Contains classes representing web pages with their locators and methods.
- Tests: Contains test classes that use the Page classes to perform tests.
- Utilities: Contains utility classes for common functionalities like logging, reading configurations, etc.
- NUnit (Unit testing framework for C#)
- Selenium WebDriver (Library for web browser automation)
- WebDriverManager (Library to manage web drivers)
- Pages: Contains classes representing web pages with their locators and methods.
- Tests: Contains test classes that use the Page classes to perform tests.
- Utilities: Contains utility classes for common functionalities like logging, reading configurations, etc.
Please adjust the namespaces, project structure, and any other details to fit your specific project requirements.
- Clone the repository.
- Ensure you have Visual Studio installed.
- Open the solution file in Visual Studio.
- Build the solution to restore NuGet packages.
- Run the tests from the Test Explorer in Visual Studio.
- This framework uses NUnit as the unit testing framework.
- WebDriverManager is used to manage web drivers for different browsers.
Feel free to modify and expand this framework as needed for your project.