https://github.com/anhtester/testngparallelexecutiononseleniumgrid
TestNG Parallel Execution On Selenium Grid 4
https://github.com/anhtester/testngparallelexecutiononseleniumgrid
Last synced: 14 days ago
JSON representation
TestNG Parallel Execution On Selenium Grid 4
- Host: GitHub
- URL: https://github.com/anhtester/testngparallelexecutiononseleniumgrid
- Owner: anhtester
- License: apache-2.0
- Created: 2022-10-21T20:44:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-21T21:03:56.000Z (over 3 years ago)
- Last Synced: 2025-02-25T20:29:38.055Z (over 1 year ago)
- Language: Java
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## TestNG Parallel Execution On Selenium Grid 4
### ---------------- Download and Install --------------
1. Download Selenium Grid 4: https://www.selenium.dev/downloads/
(tải bản Latest stable version)
**selenium-server-4.5.2.jar** (updated 22/10/2022)
2. Thiết đặt PATH cho driver của từng Browser:
Xem link làm theo: https://www.selenium.dev/documentation/webdriver/getting_started/install_drivers/#2-the-path-environment-variable
Đặt file **selenium-server-4.5.2.jar** vào thư mục nào đó và mở CMD tại thư mục đó lên
### ---------------------- Run default -------------------
Mở 1 hub với 1 node mặc định (port 4444)
> java -jar selenium-server-4.5.2.jar standalone
### -------------------- Run multi Node ----------------
Mở 1 hub với 3 node: (chạy 4 lệnh mở 4 CMD nhé)
> java -jar selenium-server-4.5.2.jar hub
> java -jar selenium-server-4.5.2.jar node --port 5556
> java -jar selenium-server-4.5.2.jar node --port 6667
> java -jar selenium-server-4.5.2.jar node --port 7778
**NOTE: Thực thi nhiều lệnh thì mở nhiều CMD**
### ------------Build Maven project------------------
**Run: SuiteAll.xml**
> Author: Anh Tester
> Website: https://anhtester.com