public class SignupPage extends Object
HudsonPrivateSecurityRealm| Modifier and Type | Field and Description |
|---|---|
com.gargoylesoftware.htmlunit.html.HtmlForm |
signupForm |
com.gargoylesoftware.htmlunit.html.HtmlPage |
signupPage |
| Constructor and Description |
|---|
SignupPage(com.gargoylesoftware.htmlunit.html.HtmlPage signupPage) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertErrorContains(String msg) |
void |
enterEmail(String email) |
void |
enterFullName(String fullName) |
void |
enterPassword(String password)
Enters the password in password1 and password2.
|
void |
enterPassword2(String password2) |
void |
enterUsername(String username) |
com.gargoylesoftware.htmlunit.html.HtmlPage |
submit(JenkinsRule rule) |
public com.gargoylesoftware.htmlunit.html.HtmlForm signupForm
public final com.gargoylesoftware.htmlunit.html.HtmlPage signupPage
public SignupPage(com.gargoylesoftware.htmlunit.html.HtmlPage signupPage)
public void enterUsername(String username)
public void enterPassword(String password)
enterPassword2(String) if you want them to be different.password - public void enterPassword2(String password2)
public void enterFullName(String fullName)
public void enterEmail(String email)
public com.gargoylesoftware.htmlunit.html.HtmlPage submit(JenkinsRule rule) throws Exception
Exceptionpublic void assertErrorContains(String msg)
Copyright © 2004–2019. All rights reserved.