Package core.helpers
Class Loginbuilder
java.lang.Object
core.helpers.Loginbuilder
public class Loginbuilder extends Object
-
Constructor Summary
Constructors Constructor Description Loginbuilder() -
Method Summary
-
Constructor Details
-
Loginbuilder
public Loginbuilder()
-
-
Method Details
-
builder
-
withUsername
-
withPassword
-
withOptionalField
-
withOptionalSubmit
-
withFormSubmit
-
withFormSubmit
public Loginbuilder withFormSubmit(EnhancedBy element, EnhancedBy expected, EnhancedBy optionalElemennt) -
withSelectNext
-
withOptionalButton
-
withSelectButton
-
withSelectButtonAndWaitForFirstElement
public Loginbuilder withSelectButtonAndWaitForFirstElement(EnhancedBy element, EnhancedBy expected, EnhancedBy expected2) -
withWaitForElement
-
withWaitForEitherElement
-
withVerifyError
-
withVerifyText
-
build
-
isSigleSignInLoginRequired
determines if login is required checks different login uses and if the main app page is present carries over config and login info to the next test- Returns:
-
isLoggedIn
determine if user is logged in and on main page- Parameters:
user-- Returns:
-