Closed nguyenthihongthuy closed 5 years ago
Hi all, Em đang tìm hiểu về serenity , nhưng gặp phải lỗi - "[main] ERROR net.thucydides.core.steps.ConsoleLoggingListener - Timed out after 2 seconds. Element not found". File pages của em như sau:
@AndroidFindBy(id="com.kirin:id/edUserName") private WebElement txt_username; @AndroidFindBy(id="com.kirin:id/edPassword") private WebElement txt_password; @AndroidFindBy(id="com.kirin:id/btLogin") private WebElement btn_submit; public void enter_username (String username) { txt_username.sendKeys(username); } public void enter_password (String pass) { txt_password.sendKeys(pass); } public void click_login () { btn_submit.click(); }
Lỗi:
ACE giúp em khắc phục lỗi này với ạ.
Hi all, Em đang tìm hiểu về serenity , nhưng gặp phải lỗi - "[main] ERROR net.thucydides.core.steps.ConsoleLoggingListener - Timed out after 2 seconds. Element not found". File pages của em như sau:
Lỗi:![image](https://user-images.githubusercontent.com/49942430/56780772-cffdf700-680a-11e9-8b73-4c76a640fcbb.png)
ACE giúp em khắc phục lỗi này với ạ.