Join our GitHub repository to explore the world of Selenium test scripts. All skill levels are welcome as we learn and improve together. Let's dive into Selenium testing and grow as a community.
- Prerequisites
- Installation
- Running the Tests
- Report Generation
- Contact
- Java
- Eclipse IDE or IntelliJ IDEA
- Git Version Control
Refer CONTRIBUTING.md before sending a PR.
For creating a new project,
-
Open Eclipse: Launch Eclipse IDE if it's not already open.
-
Create a New Project: Go to the "File" menu. Select "New" and then "Other..." In the "Select a wizard" dialog, expand the "Maven" folder. Choose "Maven Project" and click "Next." Select Project Type:
-
Make sure "Create a simple project (skip archetype selection)" is selected. Click "Next."
-
Configure Project: Enter the "Group Id" and "Artifact Id" for your project. These identifiers help uniquely identify your project. Choose the location where you want your project to be created. Ensure that the "Use default Workspace location" option is selected. Click "Next."
-
Add Dependencies: Open the
pom.xml
file. You can add dependencies by adding<dependency>
elements inside the<dependencies>
section. These dependencies will be downloaded and included in your project automatically. Save thepom.xml
file. -
Installing Selenium WebDriver & TestNG (Test Next Generation) Using
pom.xml
: Add Selenium WebDriver Dependencies, Within the<dependencies>
section of thepom.xml
file, add the following lines to include Selenium WebDriver & TestNG dependencies for Java:<dependencies> <!-- Other dependencies may be listed here --> <!-- Selenium WebDriver for Java --> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>3.141.59</version> <!-- Use the desired version --> </dependency> <!-- TestNG --> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>7.4.0</version> <!-- Use the latest version --> <scope>test</scope> </dependency> </dependencies>
Please log your concern CONTACT.md