# indranilpalit24/odoo-crm-automation-using-playwright architecture

> Architecture diagram of the GitHub repository indranilpalit24/odoo-crm-automation-using-playwright, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/indranilpalit24/odoo-crm-automation-using-playwright
- Repository: https://github.com/indranilpalit24/odoo-crm-automation-using-playwright

## Overview

This repository appears to be a Java UI test-automation project centered on a login scenario: a tester initiates a test run, the scenario is interpreted by step definitions, and page and driver components exercise the browser. Configuration and lifecycle helpers are separate supporting layers. The README is empty and no application source was excerpted, so the relationships below are tentative (dashed) and based on the project tree and filenames; generated test reports are excluded.

Main entry points: [`src/test/java/com/qa/runners/LoginPageRunner.java`](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/runners/LoginPageRunner.java) (Login runner), [`src/test/java/com/qa/base/DriverManager.java`](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/base/DriverManager.java) (Web driver manager), [`testng.xml`](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/testng.xml) (TestNG configuration), [`src/test/java/com/qa/stepdefn/LoginStepDefn.java`](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/stepdefn/LoginStepDefn.java) (Login steps)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_scenario["Login scenario"]
  node_testng["TestNG configuration<br/>[testng.xml]"]
  node_feature["Login feature<br/>[Login.feature]"]
end

subgraph group_automation["Test automation"]
  node_runner["Login runner"]
  node_steps["Login steps<br/>[LoginStepDefn.java]"]
  node_page["Login page<br/>[LoginPage.java]"]
  node_hooks["Test hooks<br/>[Hooks.java]"]
end

subgraph group_support["Runtime support"]
  node_driver["Web driver manager<br/>[DriverManager.java]"]
  node_config["Config reader<br/>[ConfigReader.java]"]
  node_properties["Test configuration<br/>[config.properties]"]
end

node_tester(("Tester"))
node_browser["Browser"]

node_tester -.->|"starts run"| node_testng
node_testng -.->|"selects runner"| node_runner
node_runner -.->|"runs scenario"| node_feature
node_runner -.->|"dispatches steps"| node_steps
node_steps -.->|"uses page"| node_page
node_hooks -.->|"manages lifecycle"| node_driver
node_page -.->|"uses driver"| node_driver
node_driver -.->|"controls browser"| node_browser
node_config -.->|"reads settings"| node_properties

click node_testng "https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/testng.xml"
click node_feature "https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/resources/features/Login.feature"
click node_runner "https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/runners/LoginPageRunner.java"
click node_steps "https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/stepdefn/LoginStepDefn.java"
click node_page "https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/pages/LoginPage.java"
click node_hooks "https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/base/Hooks.java"
click node_driver "https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/base/DriverManager.java"
click node_config "https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/utils/ConfigReader.java"
click node_properties "https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/resources/config.properties"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_testng,node_feature,node_browser toneBlue
class node_runner,node_steps,node_page,node_hooks toneAmber
class node_driver,node_config,node_properties toneMint
class node_tester toneIndigo
```

## Components

### Login scenario

- [TestNG configuration](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/testng.xml): `testng.xml`
- [Login feature](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/resources/features/Login.feature): `src/test/resources/features/Login.feature`

### Test automation

- [Login runner](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/runners/LoginPageRunner.java): `src/test/java/com/qa/runners/LoginPageRunner.java`
- [Login steps](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/stepdefn/LoginStepDefn.java): `src/test/java/com/qa/stepdefn/LoginStepDefn.java`
- [Login page](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/pages/LoginPage.java): `src/test/java/com/qa/pages/LoginPage.java`
- [Test hooks](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/base/Hooks.java): `src/test/java/com/qa/base/Hooks.java`

### Runtime support

- [Web driver manager](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/base/DriverManager.java): `src/test/java/com/qa/base/DriverManager.java`
- [Config reader](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/java/com/qa/utils/ConfigReader.java): `src/test/java/com/qa/utils/ConfigReader.java`
- [Test configuration](https://github.com/indranilpalit24/odoo-crm-automation-using-playwright/blob/master/src/test/resources/config.properties): `src/test/resources/config.properties`

### Other components

- **Tester**
- **Browser**

## Connections

- Tester → TestNG configuration: starts run
- TestNG configuration → Login runner: selects runner
- Login runner → Login feature: runs scenario
- Login runner → Login steps: dispatches steps
- Login steps → Login page: uses page
- Test hooks → Web driver manager: manages lifecycle
- Login page → Web driver manager: uses driver
- Web driver manager → Browser: controls browser
- Config reader → Test configuration: reads settings
