WATIR
에서 우리는 실행시 (테스트 케이스 실행 중) 생성 된 페이지에 착륙 할 때마다 @current_page
을 사용합니다.Geb의 @current_page 기능
비슷한 기능이있는 Geb
을 (를) 찾고 있습니다. 여기
나는 나는 또한이
static url = "/register.html"
RegistrationPage.groovy 이 UserProfilePage.groovy 여기
내가 제공 할 수있다 등록자를 제출하면 생성되기 때문에 static url
이됩니다. 이 바울의 다음 https://xxxxx.com/paul2.html
이있는 경우 내가 사용하고 있지 않다 경우 이온 페이지, 내가
static content = {
defaultprofilePic {$("#userprofilepic")}
}
이 UserProfilePage.groovy
에 선언 사용하려면, 예를 https://xxxxx.com/paul.html
사용자 이름에 따라 변경 to
키워드를 사용하면 baseURL에 다시 연결될 것이고, 사용하면이 페이지에서 사용할 수없는 요소를 예외로 제공합니다.
는하지만 난 @current_page 같은 뭔가가
이