This project has the example code for an automation testing project for a demo website called Formy, Formy is a simple site that has form components that can be used for testing purposes. The project written using Selenium WebDriver Java and TestNG. The project aims to automate the testing of various scenarios on the Formy website and ensure the website's functionality is not affected by any changes.
- Sign up to the website form and verify the account information.
- Alert Handling
- Capability Handling
- Cookies Handling
- Frames Handling
- Screenshot Handling
- JavaExecuter Handling
- Java 8 or higher.
- Selenium WebDriver.
- TestNG.
- EdgeDriver.
1 - Clone this repository to your local machine.
2 - nstall the required dependencies using Maven.
3 - Download the latest version of EdgeDriver and place it in the project's root directory.
4 - Open the config.properties file and update the browser property to edge.
5 - Running the Tests
The project generates a test report in HTML format. The report can be found in the target/surefire-reports directory after running the tests. Open the index.html file in a web browser to view the report.
Contributions are welcome! To contribute, please fork this repository, make changes, and submit a pull request.