{"id":18537293,"url":"https://github.com/nareshnavinash/teber-java","last_synced_at":"2026-05-05T04:41:03.279Z","repository":{"id":45505169,"uuid":"223751824","full_name":"nareshnavinash/Teber-Java","owner":"nareshnavinash","description":"Selenium Framework with cucumber, jvm and allure.","archived":false,"fork":false,"pushed_at":"2021-12-14T21:36:47.000Z","size":35418,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-24T15:57:10.087Z","etag":null,"topics":["cucumber","framework","java","page-object-model","selenium","web-automation"],"latest_commit_sha":null,"homepage":"https://nareshnavinash.github.io/Teber-Java/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nareshnavinash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-24T13:51:20.000Z","updated_at":"2023-02-06T10:14:13.000Z","dependencies_parsed_at":"2022-07-19T02:04:27.321Z","dependency_job_id":null,"html_url":"https://github.com/nareshnavinash/Teber-Java","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/nareshnavinash/Teber-Java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nareshnavinash%2FTeber-Java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nareshnavinash%2FTeber-Java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nareshnavinash%2FTeber-Java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nareshnavinash%2FTeber-Java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nareshnavinash","download_url":"https://codeload.github.com/nareshnavinash/Teber-Java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nareshnavinash%2FTeber-Java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32636096,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cucumber","framework","java","page-object-model","selenium","web-automation"],"created_at":"2024-11-06T19:37:43.974Z","updated_at":"2026-05-05T04:41:03.265Z","avatar_url":"https://github.com/nareshnavinash.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Teber-Java\n\nBasic Framework setup in Page Object Model for Selenium with cucumber, maven and allure in Java.\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](LICENSE)\n[![Made with Java](https://img.shields.io/badge/Made%20with-Java-red.svg)](https://www.java.com/en/)\n[![StackOverflow](http://img.shields.io/badge/Stack%20Overflow-Ask-blue.svg)]( https://stackoverflow.com/users/10505289/naresh-sekar )\n[![Contributions Welcome](https://img.shields.io/badge/Contributions-Welcome-brightgreen.svg)](CONTRIBUTING.md)\n[![email me](https://img.shields.io/badge/Contact-Email-green.svg)](mailto:nareshnavinash@gmail.com)\n\n\n\n![alt text](src/test/java/support/Teber_Java.png)\n\n\n\n## Supports\n* Multiple browser automation\n* Multi browser automation\n* Allure reports\n* Jenkins Integration\n* Modes of run via CLI command\n* Headless run\n* Docker Execution\n* Failed Screenshots\n* Testdata driven tests\n\n## Yet to be added\n* Multi Thread run\n\n## To run the tests\n```\nmvn clean install\n```\nThis will install the dependencies and runs the test\n\n### To run along with tags\n```\nmvn clean install -Dcucumber.options='--tags @sanity'\n```\n\n### To run along with tags and arguments\n```\nmvn clean install -Dcucumber.options='--tags @sanity' -DargLine=\"-DMODE=headless\"\n```\n\n## To get allure report\n```\nmvn allure:serve\n```\nThis will open the report in your default browser\n\n## Multiple Browser\nCurrently supports for Chrome browser, but handled in such a way that framework can be easily configured to support multiple browsers. I used webdriver manager to resolve the driver-browser compatibility issues, use the same to add your designated browser (firefox, edge, ie, safari etc.,).\n\n## Multi Browser\nInitiate the driver class inside support package mutiple times with different WebDriver objects. You can execute the actions in multiple browsers at the same time by passing the WebDriver Object to the model methods.\n\n## Reports\nFor better illustration on the testcases, allure reports has been integrated. Allure reports can also be integrated with jenkins to get a dashboard view. Apart from allure, cucumber's default reporting such as HTML, JSON, PRETTY, and additional logger file has been added to the `target/` folder.\n\n## Jenkins Integration with Docker images\nGet any of the linux with maven docker image as the slaves in jenkins and use the same for executing the UI automation with this framework (Sample docker image - `https://hub.docker.com/r/zenika/alpine-maven/`). From the jenkins bash directly call the `mvn clean install` command to execute the testcases.\n\nIn Jenkins pipeline, try to add the following snippet to execute the tests,\n```\npipeline {\n  agent any\n  tools {\n    maven 'M3'\n  }\n  stages {\n    stage('Build') {\n      steps {\n        sh 'mvn clean install'\n      }\n    }\n  }\n}\n```\n\n## Headless Run\nIn `test-data/master.properties` file, if the mode is `headless`, the chrome will be initialized in headless mode which can be used to run in server. Screenshots will be added even if the browser runs in headless mode.\n\n## CLI commands\nIn order to pass the cucumber tags, one can use mvn's command line option as \n```\nmvn clean install -Dcucumber.options='--tags \"@regression\"'\nor\nmvn clean test -Dcucumber.options='--tags \"@regression\"'\n```\nOptions to select the mode of run `headless or UI` from cli is added. By default have the mode in global.properties file as UI and while running the test suite in server use the following command to invoke the browser in headless mode\n```\nmvn clean install -DargLine=\"-DMODE=headless\"\n```\n\n## Parallel run \nParallel run is yet to be added!!!\n\n\n## Built With\n\n* [Cucumber](https://github.com/cucumber/cucumber-jvm) - Automation core framework\n* [Maven](https://maven.apache.org/) - Dependency manager\n* [Allure Cucumber](https://github.com/allure-framework/allure-cucumberjvm) - For Detailed reporting.\n* [Selenium](https://www.seleniumhq.org/) - For web browser automation.\n\n## Contributing\n\n1. Clone the repo!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Create a pull request.\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on code of conduct, and the process for submitting pull requests.\n\n## Authors\n\n* **[Naresh Sekar](https://github.com/nareshnavinash)**\n\n## License\n\nThis project is licensed under the GNU GPL-3.0 License - see the [LICENSE](LICENSE) file for details\n\n## Acknowledgments\n\n* To all the open source contributors whose code has been referred to create this framework\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnareshnavinash%2Fteber-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnareshnavinash%2Fteber-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnareshnavinash%2Fteber-java/lists"}