A PHP Error was encountered
Severity: Warning
Message: unlink(/home/anhtest2/public_html/application/cache/Category_model_SelectMainMenu.cache): No such file or directory
Filename: drivers/Cache_file.php
Line Number: 279
Backtrace:
File: /home/anhtest2/public_html/application/core/MY_Model.php
Line: 25
Function: get
File: /home/anhtest2/public_html/application/models/Category_model.php
Line: 53
Function: query_cache
File: /home/anhtest2/public_html/application/core/MY_Controller.php
Line: 106
Function: SelectMainMenu
File: /home/anhtest2/public_html/application/controllers/frontend/Lesson.php
Line: 9
Function: __construct
File: /home/anhtest2/public_html/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/home/anhtest2/public_html/application/cache/Category_model_SelectByParentArrayId.cache): No such file or directory
Filename: drivers/Cache_file.php
Line Number: 279
Backtrace:
File: /home/anhtest2/public_html/application/core/MY_Model.php
Line: 25
Function: get
File: /home/anhtest2/public_html/application/models/Category_model.php
Line: 60
Function: query_cache
File: /home/anhtest2/public_html/application/core/MY_Controller.php
Line: 109
Function: SelectByParentArrayId
File: /home/anhtest2/public_html/application/controllers/frontend/Lesson.php
Line: 9
Function: __construct
File: /home/anhtest2/public_html/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/home/anhtest2/public_html/application/cache/Config_model_SelectByKeyicon.cache): No such file or directory
Filename: drivers/Cache_file.php
Line Number: 279
Backtrace:
File: /home/anhtest2/public_html/application/core/MY_Model.php
Line: 25
Function: get
File: /home/anhtest2/public_html/application/models/Config_model.php
Line: 42
Function: query_cache
File: /home/anhtest2/public_html/application/core/MY_Controller.php
Line: 125
Function: SelectByKey
File: /home/anhtest2/public_html/application/controllers/frontend/Lesson.php
Line: 9
Function: __construct
File: /home/anhtest2/public_html/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/home/anhtest2/public_html/application/cache/Config_model_SelectByKeyqr_facebook_group.cache): No such file or directory
Filename: drivers/Cache_file.php
Line Number: 279
Backtrace:
File: /home/anhtest2/public_html/application/core/MY_Model.php
Line: 25
Function: get
File: /home/anhtest2/public_html/application/models/Config_model.php
Line: 42
Function: query_cache
File: /home/anhtest2/public_html/application/core/MY_Controller.php
Line: 130
Function: SelectByKey
File: /home/anhtest2/public_html/application/controllers/frontend/Lesson.php
Line: 9
Function: __construct
File: /home/anhtest2/public_html/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/home/anhtest2/public_html/application/cache/Config_model_SelectByKeygoogle_site_verification.cache): No such file or directory
Filename: drivers/Cache_file.php
Line Number: 279
Backtrace:
File: /home/anhtest2/public_html/application/core/MY_Model.php
Line: 25
Function: get
File: /home/anhtest2/public_html/application/models/Config_model.php
Line: 42
Function: query_cache
File: /home/anhtest2/public_html/application/core/MY_Controller.php
Line: 135
Function: SelectByKey
File: /home/anhtest2/public_html/application/controllers/frontend/Lesson.php
Line: 9
Function: __construct
File: /home/anhtest2/public_html/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: file_get_contents(/home/anhtest2/public_html/application/cache/Config_model_SelectByKeybanner_home.cache): failed to open stream: No such file or directory
Filename: drivers/Cache_file.php
Line Number: 275
Backtrace:
File: /home/anhtest2/public_html/application/core/MY_Model.php
Line: 25
Function: get
File: /home/anhtest2/public_html/application/models/Config_model.php
Line: 42
Function: query_cache
File: /home/anhtest2/public_html/application/core/MY_Controller.php
Line: 136
Function: SelectByKey
File: /home/anhtest2/public_html/application/controllers/frontend/Lesson.php
Line: 9
Function: __construct
File: /home/anhtest2/public_html/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: drivers/Cache_file.php
Line Number: 277
Backtrace:
File: /home/anhtest2/public_html/application/core/MY_Model.php
Line: 25
Function: get
File: /home/anhtest2/public_html/application/models/Config_model.php
Line: 42
Function: query_cache
File: /home/anhtest2/public_html/application/core/MY_Controller.php
Line: 136
Function: SelectByKey
File: /home/anhtest2/public_html/application/controllers/frontend/Lesson.php
Line: 9
Function: __construct
File: /home/anhtest2/public_html/index.php
Line: 315
Function: require_once
TÀI NGUYÊN CÀI ĐẶT MÔI TRƯỜNG | Anh Tester
NỘI
DUNG BÀI HỌC
Tài nguyên cài đặt môi trường cho khoá học Cucumber TestNG
Cài đặt IntelliJ IDEA bản Community Edition
Cài đặt thư viện theo Maven Project
Tất cả chúng ta cứ update theo phiên bản mới nhất nhé.
Selenium
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.9.1</version>
</dependency>
WebDriverManager
<!-- https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager -->
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>5.3.3</version>
</dependency>
TestNG
Khi copy trên MVN thì bỏ cái dòng <scope>test</scope> ra
<!-- https://mvnrepository.com/artifact/org.testng/testng -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.8.0</version>
</dependency>
Cucumber Java
<!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-java -->
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
<version>7.12.0</version>
</dependency>
Cucumber TestNG
<!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-testng -->
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-testng</artifactId>
<version>7.12.0</version>
</dependency>
Cucumber Gherkin
<!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-gherkin -->
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-gherkin</artifactId>
<version>7.12.0</version>
</dependency>
Gherkin
<!-- https://mvnrepository.com/artifact/io.cucumber/gherkin -->
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>gherkin</artifactId>
<version>26.2.0</version>
</dependency>
Trên là các thư viện bắt buộc có. Ngoài ra chúng ta còn add thêm các thư viện bổ trợ khác trong bài An sẽ cập nhật sau nhé.
⭐️Website rèn luyện code auto test
Demo QA (component web): https://demoqa.com/ The Internet App (component web): https://the-internet.herokuapp.com/ Lambdatest (component web): https://www.lambdatest.com/selenium-playground/ POS: https://saleserpdemo.bdtask-demo.com/v10_demo/login eCommerce CMS: https://demo.activeitzone.com/ecommerce/login Orange HRM: https://opensource-demo.orangehrmlive.com/web/index.php/auth/login HRM GO: https://demo.workdo.io/hrmgo/login Perfex CRM (Anh Tester): https://crm.anhtester.com/admin/authentication RISE CRM (Anh Tester): https://rise.anhtester.com/signin eCommerce CMS (Anh Tester): https://cms.anhtester.com/login eCommerce CMS (Anh Tester): https://ecommerce.anhtester.com/login ERP và HRM (Anh Tester): https://hrm.anhtester.com/erp/login
Anh Tester sẽ cập nhật thêm cái hay hay cho các bạn !!
Software Quality Engineer
Đường dẫu khó chân vẫn cần bước đi Đời dẫu khổ tâm vẫn cần nghĩ thấu
Chia sẻ khóa
học lên trang
Bạn có thể đăng khóa học của
chính bạn lên trang
Anh Tester để kiếm tiền