Skip to content

Commit 2277b5b

Browse files
committed
Update README.md
1 parent 81ee410 commit 2277b5b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
33
[![Java CI with Maven on Windows](https://github.com/anhtester/AutomationFrameworkSelenium/actions/workflows/maven.yml/badge.svg)](https://github.com/anhtester/AutomationFrameworkSelenium/actions/workflows/maven.yml)
44

5-
## Test Automation Framework Selenium Java with TestNG building by Anh Tester
5+
## Test Automation Framework using Selenium Java and TestNG building by Anh Tester
6+
7+
### **💥Important**: when clone this repo, you should select '**Recursive**' to get all submodules
68

79
🔆 **SOME FEATURES IN FRAMEWORK**
810

@@ -45,8 +47,8 @@
4547

4648
**1. Run parallel the test case**
4749

48-
- Run test case in suite XML (**src/test/resources/suites/**)
49-
- Run test case from Maven pom.xml file
50+
- Run test cases in suite XML (**src/test/resources/suites/**)
51+
- Run test cases from Maven with setup in the pom.xml file
5052
(**mvn clean test**)
5153

5254
![image](https://user-images.githubusercontent.com/87883620/161658761-5040e527-b410-46b3-8697-3298523e201d.png)
@@ -98,9 +100,9 @@
98100

99101
![image](https://user-images.githubusercontent.com/87883620/161659238-88337f69-b742-4cd7-87f2-76670519c8dd.png)
100102

101-
**6. Write Log to file**
103+
**6. Write Logs to file**
102104

103-
- Call class: Log.info , Log.pass, Log.error,... (**Log** is a custom global class from Log4j2)
105+
- Call class: LogUtils.info(), LogUtils.pass(), LogUtils.error(),... (**LogUtils** is a custom global class from Log4j2)
104106
(**_import utils.com.anhtester.LogUtils.java_**)
105107

106108
![image](https://user-images.githubusercontent.com/87883620/161657858-d333ac1d-9e7b-4c1b-baac-151a237a1fa0.png)
@@ -118,9 +120,8 @@
118120

119121
**8. Read data test from Excel file**
120122

121-
- Create function with annotaion **DataProvider** on *
122-
*src/test/java/anhtester/com/projects/website/crm/dataprovider/DataProviderManager.java**
123-
- Read excel with Map and Hashtable
123+
- Create function with annotation **DataProvider** on **src/test/java/anhtester/com/projects/website/crm/dataprovider/DataProviderManager.java**
124+
- Read Excel file with Map and Hashtable
124125

125126
**9. Base function in the package**
126127

@@ -129,11 +130,11 @@
129130

130131
**10. Read data test from JSON file**
131132

132-
- **JsonUtils** class select the json file path and call **"get"** method with **key**
133+
- **JsonUtils** class selects the JSON file path and calls **"get"** method with **key**
133134

134135
**11. Main Keyword: WebUI**
135136

136-
- WebUI class is main keyword in Framework. It contains common functions
137+
- WebUI class is the main keyword in Framework. It contains common functions
137138
- How to use: WebUI.function_name
138139
- Example: WebUI.setWindowSize(1024, 768), WebUI.screenshotElement(By by, String elementName),...
139140

@@ -157,13 +158,13 @@
157158
===How to get Token and start Bot===
158159

159160
- Read blog: https://blog.devgenius.io/automation-of-reporting-2abe7f101801
160-
- Copy Token of your Bot => Paste to TelegramManager class
161-
- Click your Bot => input **/start** to start your Bot
161+
- Copy Token of your Bot Paste to TelegramManager class
162+
- Click your Bot input **/start** to start your Bot
162163

163164
===How to get ChatID===
164165

165-
- After starting your Bot, your use Postman and using your Token:
166-
Get: https://api.telegram.org/bot{token}/getUpdates => chat.id
166+
- After starting your Bot, you use Postman tools and using your Token:
167+
Get: https://api.telegram.org/bot{token}/getUpdates chat.id
167168
- Example: https://api.telegram.org/bot19468772:AAHtlc_BH8zlJAGDHuTJy3J72XumY5LxWcE/getUpdates
168169

169170
```
@@ -232,7 +233,6 @@ https://www.selenium.dev/documentation/webdriver/getting_started/install_drivers
232233
Document DataFaker: https://www.datafaker.net/documentation/getting-started/
233234
or of Anh Tester blog: https://anhtester.com/blog/selenium-java/tao-du-lieu-gia-voi-datafaker
234235

235-
236236
### 🔆 Project structure
237237

238238
```
@@ -589,7 +589,7 @@ or of Anh Tester blog: https://anhtester.com/blog/selenium-java/tao-du-lieu-gia-
589589

590590
### ⭐️ I will support your company if needed
591591

592-
## Copyright 2022-2024 Anh Tester
592+
## Copyright 2022-2025 Anh Tester
593593

594594
> Anh Tester Blog: https://anhtester.com/
595595

0 commit comments

Comments
 (0)