Open teachingwebdrivervideo opened 4 years ago
Bạn có thể tạo ra nhiều file giống như serenity.properties
Ví dụ như android.properties
hoặc ios.properties
và muốn dùng nó thay cho file serenity.properties
mặc định của serenity thì trong lệnh chạy chúng ta truyền thêm tham số sau
mvn verify -Dproperties=android.properties
serenity.properties
serenity.properties
là file dùng để thay đổi các cấu hình chung cho toàn bộ test project. Bạn có thể dễ dàng thay đổi baseUrl, driver cho trình duyệt.... và nhiều thứ khác.Tài liệu để bạn có thể tìm thấy nhiều hơn các cấu hình cung cấp bởi framework