🌐
Selenium
selenium.dev › project › structure
Selenium Project Structure | Selenium
Selenium Project Structure As per the Selenium Governance Document, the project is structured by different groups, here is the detailed list of people who form each one of the groups. Structure Project Leadership Committee David Burns @AutomatedTester Blanca Janet Moreno
🌐
Selenium
selenium.dev › project
Structure and Governance | Selenium
Project Structure and Governance The Selenium Project is formed by a community of users and Open Source contributors who develop, use and promote the different Selenium projects (IDE, Grid, WebDriver) and other related activities, with the end ...
🌐
Software Testing Help
softwaretestinghelp.com › home › selenium automation › selenium framework project and folder structure
Selenium Framework Project and Folder Structure
May 9, 2025 - This Informative Tutorial Explains ... is: What is a Hybrid Framework? Hybrid Driven Framework is a combination of both the Data-Driven and Keyword-Driven framework....
🌐
Blogger
test-able.blogspot.com › 2015 › 06 › create-correct-project-folder-structure.html
Test Automation For Manual Testers: Test automation tips - create the correct project folder structure
Multiple steps are needed for getting the correct project structure: 1. remove the existing classpath entries 2. create a test folder under the src folder: src/test 3.
🌐
Software-testing-tutorials-automation
software-testing-tutorials-automation.com › home › selenium webdriver › creating project structure for selenium webdriver data driven framework
Creating Project Structure For Selenium WebDriver Data Driven Framework
June 20, 2025 - Prerequisite : 1. Work Space and software test Project should be created as described In Step 1. (Special Note : Please follow each and every step throughout the selenium webdriver software automation testing tool’s data driven framework creation. Don’t skip any step.) Here word project structure Is used In terms of creating required packages and folders under project to manage files very easily.
🌐
Medium
medium.com › @ashwiniz_nittygritty › project-structure-for-selenium-pytest-pom-76daff11b5cd
🚀 Selenium : Project Structure for Selenium + Pytest + POM - Nitty-Gritty by Ashwini - Medium
May 9, 2025 - Here’s a more scalable and professional structure you can use for your Selenium Framework: /ecommerce-automation │ ├── /tests │ ├── test_login.py │ ├── test_checkout.py │ └── test_search.py │ ├── /pages │ ├── base_page.py │ ├── login_page.py │ ├── product_page.py │ ├── cart_page.py │ └── checkout_page.py │ ├── /utils │ ├── driver_factory.py │ ├── logger.py │ ├── read_data.py │ ├── screenshots.py │ └── custom_waits.py │ ├── /configs │ ├── config.yaml
🌐
SoftOne Consultancy
softoneconsultancy.com › home › blog › folder structure python selenium framework with pytest
Folder Structure Python Selenium Framework with Pytest - SoftOne Consultancy
January 30, 2025 - drivers/: Contains the necessary browser drivers (e.g., chromedriver, geckodriver) required for Selenium to interact with browsers.
🌐
Medium
medium.com › @topgrep › python-selenium-framework-with-pytest-folder-structure-e2594ce32dd1
Python Selenium Framework with Pytest — Folder Structure | by TopGrep | Medium
August 18, 2023 - You can define fixtures specific to your project’s needs in this file, such as a fixture for initializing the Selenium WebDriver. pytest.ini: This configuration file is used by pytest to customize the test execution behavior. You can specify various options and settings for pytest in this file, such as test discovery patterns, test markers, and reporting options. This folder structure provides a foundation for organizing your Python Selenium test automation project.
🌐
Scribd
scribd.com › document › 790264371 › Selenium-Project-Framework-Structure
Selenium Project Framework Structure
Purpose: Manages project dependencies and build configurations, like setting up Selenium, TestNG, Extent Reports, etc. File Names: `[Link]` (for TestNG), `[Link]` (for JUnit 5) Purpose: Configures test suites, groups, parallel execution settings, ...
Find elsewhere
🌐
LogiGear
logigear.com › blogs › selenium › Building-a-Selenium-Framework-from-A-to-Z
Building a Selenium Framework from A to Z |
Now, it’s time to take a look at our framework’s architecture. After many big and small Selenium projects at LogiGear, we’ve come up with a sustainable, maintainable, and scalable architecture shown in the diagram below.
🌐
Seleniumtests
seleniumtests.com › 2016 › 11 › structure-of-test-automation-project.html
Structure of test automation project
Maven project may have many directory but these are the ones I use most - src/main/java - any non test class, i.e - page object etc · src/main/resources - resources like - properties file, text file etc used by main classes ... Let’s focus on src/main/java - this is a directory which contains all of non test code. I usually end up having following structure on src/main/java -
🌐
GitHub
github.com › Tahanima › selenium-java-test-automation-architecture
GitHub - Tahanima/selenium-java-test-automation-architecture: Ready-to-use UI Test Automation Architecture using Java and Selenium WebDriver. · GitHub
Selenium Shutterbug for capturing screenshots. Gradle as the Java build tool. IntelliJ IDEA as the IDE. The project is structured as follows: 📦 selenium-java-test-automation-architecture ├─ .github │ ├─ FUNDING.yml │ ├─ dependabot.yml │ └─ workflows │ └─ test-execution.yml ├─ .gitignore ├─ LICENSE ├─ README.md ├─ build.gradle ├─ gradle │ └─ wrapper │ ├─ gradle-wrapper.jar │ └─ gradle-wrapper.properties ├─ gradlew ├─ gradlew.bat ├─ script │ └─ install_chrome.sh ├─ settings.gradle └─ src ├─ main │
Starred by 211 users
Forked by 112 users
Languages: Java 99.4% | Shell 0.6%
🌐
GitHub
github.com › tharaka998 › Selenium-Automation-Project-Structure
GitHub - tharaka998/Selenium-Automation-Project-Structure: A Selenium-based automation project template in Java, structured to support scalable and maintainable test scripts. This setup includes the Page Object Model, configurable properties, and basic logging for efficient web testing. · GitHub
This is a template for setting up a Selenium-based automation testing project using Java and Maven. This structure is designed to support scalable and maintainable test automation for web applications, with organized directories for configuration, ...
Author: tharaka998
Top answer
1 of 1
1

General guidelines:

  • src/main/java contains your application code (.java files)

  • src/main/resources contains any non-code files that go with your application. for instance property files or config files for your application (if they are not Java config files, like your config.xml).

  • src/test/java contains any test code (.java files) for your application. If you mirror your package structure from src/main/java testing frameworks like Junit can automatically find the right classes to test without having to specify imports for them. In the case of Cucumber, this is where your step definitions go, as well as any other code that helps you perform your Cucumber tests (like the Page Objects in your example).

  • src/test/resources contains any non code files that go with your tests. In the case of Cucumber, this is where the feature files go. If you have a separate test config.xml that would go here.

If you have only test code, you might not have a src/main folder. I'd recommend locating your test code in the same repository as the system you're going to test, as this will make it easier to get fast feedback.

Regarding your question:

  1. Page Objects -> src/test/java

  2. POJOs - depending on whether they are application POJOs or test POJOs -> src/main/java or src/test/java respectively

  3. sharedutilities - asusming this is code to help your tests -> src/test/java

  4. Feature Files -> src/test/resources

  5. Config file -> depends on whether this is for the application or test, and whether its code or xml.

  6. Expected Data folder - not sure what you mean. Test files (like .json or something) might go in src/test/resources

  7. Extent config.xml - probably src/test/resources

  8. chromedriver.exe - might go in your root directory. (I might recommend against including .exe in your project; how are you going to deal with different OS?)

  9. Reports folder -> would probably go to a target folder?

Hope this helps.

🌐
BrowserStack
browserstack.com › home › guide › how to build and execute selenium projects
How to Build and Execute Selenium Projects | BrowserStack
June 16, 2026 - Now let’s see how to configure the Maven project with Selenium. ... Navigate to “www.mvnrepository.com” and search for “selenium server”. Click on Search. Click on “Selenium Server” and select the latest stable version. Copy the dependency into pom.xml file under the dependency node. Below is the structure of POM.xml.
🌐
Testmuai
testmuai.com › testmu ai › blog › how to build and execute selenium projects
How To Build And Execute Selenium Projects
April 20, 2022 - Step 3: In IntelliJ IDEA, click File -> Project Structure -> Modules. Click the dependencies tab from the right panel, click + sign, and select JARs or Directories. Step 4: Browse and select all files, including TestNG jar and jar files extracted ...
🌐
LinkedIn
linkedin.com › pulse › selenium-real-time-project-framework-2-structure
Selenium Real-time Project Framework #2 Framework Structure
September 5, 2023 - In the first part/episode of the Selenium Real-time Project Framework series, we discussed How to create a Maven project & and add Java libraries to the Maven project. Now it’s time to create the structure to keep test cases, logic, and page objects in different namespaces.
🌐
DEV Community
dev.to › utkarsh630 › day-02-building-a-complete-selenium-java-framework-project-initiation-and-structure-4dmj
🛠️ Day 02 - Building a Complete Selenium Java Framework – Project Initiation and Structure - DEV Community
February 2, 2026 - The pom.xml file is the heart of a Maven project. This is where we define all external libraries our framework needs. ... <dependencies> <!-- Selenium WebDriver --> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>4.27.0</version> </dependency> <!-- TestNG Framework --> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>7.10.2</version> <scope>compile</scope> </dependency> </dependencies>
🌐
Stack Overflow
stackoverflow.com › questions › 21398965 › file-structure-for-maven-base-selenium-project
java - File structure for Maven base selenium project? - Stack Overflow
Take a look here and in particular this example for a container example with selenium furthermore you can look at the code examples and a full working example with Selenium etc. ... 1.: Folders and packages, is not the only benefit. It also gives you a proper project structure.