-
2 votesanswersviews
我如何告诉Graphene加载我的@Page?
TL;DR: 如何告诉Graphene为@ Page注入的对象加载哪个(相对)URL? 我正在尝试使用“最先进的”设置我的网络前端集成测试,即Arquillian,Arquillian Drone,Selenium 2和Graphene 2的组合 . 使用Arquillian,Drone和普通Selenium WebDriver(即没有任何Graphene特定的东西),测试可能如下所示: imp... -
1 votesanswersviews
Arquillian Graphene @Location占位符
我正在学习Arquillian现在我想知道如何创建在路径中有占位符的页面 . 例如: @Location("/posts/{id}") public class BlogPostPage { public String getContent() { // ... } } 要么 @Location("/posts/{name}&... -
0 votesanswersviews
如何使用Graphene登录使用带注释的方法?
我正在学习Graphene并创建了页面对象以获取登录页面和欢迎页面 . Loginpage @Location("myurl/login.xhtml") public class LoginPage { @Drone private WebDriver driver; @FindBy(id = "username") private We...