|
6 | 6 |
|
7 | 7 | ### 💥Important: when clone this repo, you should select 'Recursive' to get all submodules |
8 | 8 |
|
9 | | -**SOME FEATURES IN FRAMEWORK** |
| 9 | +**🌟SOME FEATURES IN FRAMEWORK** |
10 | 10 |
|
11 | 11 | 1. Run the parallel Scenario on feature file |
12 | 12 | 2. Cucumber Report |
|
23 | 23 | 13. Use DataFaker and JavaFaker to generate data |
24 | 24 | 14. Javadoc for this source |
25 | 25 |
|
26 | | -### **SYSTEM REQUIREMENTS** |
| 26 | +### **⚙️SYSTEM REQUIREMENTS** |
27 | 27 |
|
28 | 28 | - Install Java JDK (recommend JDK >= 17) |
29 | 29 | - Install Chrome Browser, Edge Browser, Firefox Browser |
|
39 | 39 |
|
40 | 40 |  |
41 | 41 |
|
42 | | -### **HOW TO USE** |
| 42 | +### **✳️HOW TO USE** |
43 | 43 |
|
44 | 44 | **1. Run parallel the test case** |
45 | 45 |
|
|
152 | 152 | + TestSimpleCode |
153 | 153 | ``` |
154 | 154 |
|
155 | | -### Project structure |
| 155 | +### 📙Project structure |
156 | 156 |
|
157 | 157 | ``` |
158 | 158 | 📦AutomationFrameworkCucumberTestNG |
|
300 | 300 | ┃ ┃ ┃ ┣ 📜cucumber.properties |
301 | 301 | ┃ ┃ ┃ ┣ 📜extent.properties |
302 | 302 | ┃ ┃ ┃ ┗ 📜pdf-config.yaml |
303 | | - ┣ 📂target |
304 | | - ┃ ┣ 📂classes |
305 | | - ┃ ┃ ┣ 📂anhtester |
306 | | - ┃ ┃ ┃ ┗ 📂com |
307 | | - ┃ ┃ ┃ ┃ ┣ 📂annotations |
308 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜FrameworkAnnotation.class |
309 | | - ┃ ┃ ┃ ┃ ┣ 📂config |
310 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜ConfigFactory.class |
311 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜Configuration.class |
312 | | - ┃ ┃ ┃ ┃ ┣ 📂constants |
313 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜FrameworkConstants.class |
314 | | - ┃ ┃ ┃ ┃ ┣ 📂driver |
315 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜BrowserFactory$1.class |
316 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜BrowserFactory$2.class |
317 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜BrowserFactory$3.class |
318 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜BrowserFactory$4.class |
319 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜BrowserFactory.class |
320 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜DriverManager.class |
321 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜TargetFactory.class |
322 | | - ┃ ┃ ┃ ┃ ┣ 📂enums |
323 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜AuthorType.class |
324 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜Browser.class |
325 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜CategoryType.class |
326 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜FailureHandling.class |
327 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜Platform.class |
328 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜Project.class |
329 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜Target.class |
330 | | - ┃ ┃ ┃ ┃ ┣ 📂exceptions |
331 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜FrameworkException.class |
332 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜HeadlessNotSupportedException.class |
333 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜InvalidPathForExcelException.class |
334 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜InvalidPathForExtentReportFileException.class |
335 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜InvalidPathForFilesException.class |
336 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜InvalidRemoteWebDriverURLException.class |
337 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜TargetNotValidException.class |
338 | | - ┃ ┃ ┃ ┃ ┣ 📂helpers |
339 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜CaptureHelpers.class |
340 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜DatabaseHelpers.class |
341 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜ExcelHelpers.class |
342 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜FileHelpers.class |
343 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜Helpers.class |
344 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜PropertiesHelpers.class |
345 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜ScreenRecoderHelpers.class |
346 | | - ┃ ┃ ┃ ┃ ┣ 📂keywords |
347 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜WebUI.class |
348 | | - ┃ ┃ ┃ ┃ ┣ 📂mail |
349 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜EmailAttachmentsSender$1.class |
350 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜EmailAttachmentsSender.class |
351 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜EmailConfig.class |
352 | | - ┃ ┃ ┃ ┃ ┣ 📂report |
353 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜AllureManager.class |
354 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜ExtentReportManager.class |
355 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜ExtentTestManager.class |
356 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜TelegramManager.class |
357 | | - ┃ ┃ ┃ ┃ ┗ 📂utils |
358 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜BrowserInfoUtils.class |
359 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜DataFakerUtils.class |
360 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜DataGenerateUtils.class |
361 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜DateUtils.class |
362 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜DecodeUtils.class |
363 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜EmailSendUtils.class |
364 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜IconUtils.class |
365 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜JsonUtils$1.class |
366 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜JsonUtils.class |
367 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜LanguageUtils.class |
368 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜LocalStorageUtils.class |
369 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜LogUtils.class |
370 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜ObjectUtils.class |
371 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜ReportUtils.class |
372 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜ZipUtils.class |
373 | | - ┃ ┃ ┣ 📂META-INF |
374 | | - ┃ ┃ ┃ ┗ 📂services |
375 | | - ┃ ┃ ┃ ┃ ┗ 📜io.qameta.allure.listener.TestLifecycleListener |
376 | | - ┃ ┃ ┗ 📜log4j2.properties |
377 | | - ┃ ┣ 📂generated-sources |
378 | | - ┃ ┃ ┗ 📂annotations |
379 | | - ┃ ┣ 📂generated-test-sources |
380 | | - ┃ ┃ ┗ 📂test-annotations |
381 | | - ┃ ┗ 📂test-classes |
382 | | - ┃ ┃ ┣ 📂anhtester |
383 | | - ┃ ┃ ┃ ┗ 📂com |
384 | | - ┃ ┃ ┃ ┃ ┣ 📂common |
385 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜BaseTest.class |
386 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜CommonPageCRM.class |
387 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜CommonSteps.class |
388 | | - ┃ ┃ ┃ ┃ ┣ 📂dataprovider |
389 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜DataProviderManager.class |
390 | | - ┃ ┃ ┃ ┃ ┣ 📂hooks |
391 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜CucumberListener.class |
392 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜Hooks.class |
393 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜TestContext.class |
394 | | - ┃ ┃ ┃ ┃ ┣ 📂listeners |
395 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜AllureListener.class |
396 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜TestListener.class |
397 | | - ┃ ┃ ┃ ┃ ┣ 📂projects |
398 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📂website |
399 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┣ 📂cms |
400 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣ 📂pages |
401 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜CommonPageCMS.class |
402 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜LoginPage.class |
403 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📂stepdefinitions |
404 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜LoginSteps.class |
405 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📂crm |
406 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣ 📂models |
407 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜ClientModel.class |
408 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜SignInModel.class |
409 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣ 📂pages |
410 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣ 📂Clients |
411 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜ClientPageCRM.class |
412 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣ 📂Dashboard |
413 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜DashboardPageCRM.class |
414 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣ 📂Projects |
415 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜ProjectPageCRM.class |
416 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣ 📂SignIn |
417 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜SignInPageCRM.class |
418 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📂Tasks |
419 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜TaskPage.class |
420 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📂stepdefinitions |
421 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜DashboardSteps.class |
422 | | - ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜LoginSteps.class |
423 | | - ┃ ┃ ┃ ┃ ┗ 📂runners |
424 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜LoginCMSTestRunner.class |
425 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜SigninCRMTestRunner.class |
426 | | - ┃ ┃ ┃ ┃ ┃ ┣ 📜TestRunnerAllFeatureByTag.class |
427 | | - ┃ ┃ ┃ ┃ ┃ ┗ 📜TestRunnerForDashboardHRM.class |
428 | 303 | ┃ ┃ ┣ 📂config |
429 | 304 | ┃ ┃ ┃ ┣ 📜config.json |
430 | 305 | ┃ ┃ ┃ ┣ 📜config.properties |
|
453 | 328 | ┗ 📜README.md |
454 | 329 | ``` |
455 | 330 |
|
456 | | -## Copyright 2022-2025 Anh Tester |
| 331 | +## ✅Copyright 2022-2025 Anh Tester |
457 | 332 |
|
458 | 333 | ### ⭐️ I will support your company if needed |
| 334 | + |
459 | 335 | #### **📗 Documents:** https://deepwiki.com/anhtester/AutomationFrameworkCucumberTestNG |
| 336 | +[](https://deepwiki.com/anhtester/AutomationFrameworkCucumberTestNG) |
460 | 337 |
|
461 | 338 | > Anh Tester Blog: https://anhtester.com/ |
462 | 339 |
|
|
0 commit comments