Search Results for

    Show / Hide Table of Contents

    Class AzureAdLoginPage

    Defines a page object for the Azure Active Directory login page.

    Inheritance
    System.Object
    AzureAdLoginPage
    Namespace: Legerity.Web.Authentication.Pages
    Assembly: Legerity.Web.Authentication.dll
    Syntax
    public class AzureAdLoginPage : BasePage

    Constructors

    | Improve this Doc View Source

    AzureAdLoginPage()

    Initializes a new instance of the AzureAdLoginPage class using the instance that verifies the page has loaded within 2 seconds.

    Declaration
    public AzureAdLoginPage()
    | Improve this Doc View Source

    AzureAdLoginPage(RemoteWebDriver)

    Initializes a new instance of the AzureAdLoginPage class using a instance that verifies the page has loaded within 2 seconds.

    Declaration
    public AzureAdLoginPage(RemoteWebDriver app)
    Parameters
    Type Name Description
    RemoteWebDriver app

    The instance of the started application driver that will be used to drive the page interaction.

    | Improve this Doc View Source

    AzureAdLoginPage(RemoteWebDriver, Nullable<TimeSpan>)

    Initializes a new instance of the AzureAdLoginPage class using a instance that verifies the page has loaded within the given timeout.

    Declaration
    public AzureAdLoginPage(RemoteWebDriver app, TimeSpan? traitTimeout)
    Parameters
    Type Name Description
    RemoteWebDriver app

    The instance of the started application driver that will be used to drive the page interaction.

    System.Nullable<TimeSpan> traitTimeout

    The amount of time the driver should wait when searching for the Trait if it is not immediately present.

    | Improve this Doc View Source

    AzureAdLoginPage(Nullable<TimeSpan>)

    Initializes a new instance of the AzureAdLoginPage class using the instance that verifies the page has loaded within the given timeout.

    Declaration
    public AzureAdLoginPage(TimeSpan? traitTimeout)
    Parameters
    Type Name Description
    System.Nullable<TimeSpan> traitTimeout

    The amount of time the driver should wait when searching for the Trait if it is not immediately present.

    Fields

    | Improve this Doc View Source

    Title

    The expected title of the Azure AD login page.

    Declaration
    public const string Title = null
    Field Value
    Type Description
    System.String

    Properties

    | Improve this Doc View Source

    EmailInput

    Gets the input element for providing an email address.

    Declaration
    public virtual TextInput EmailInput { get; }
    Property Value
    Type Description
    TextInput
    | Improve this Doc View Source

    PasswordInput

    Gets the input element for providing a password.

    Declaration
    public virtual TextInput PasswordInput { get; }
    Property Value
    Type Description
    TextInput
    | Improve this Doc View Source

    SignInButton

    Gets the button element for continuing the sign-in flow through the Azure AD login UI.

    Declaration
    public virtual Button SignInButton { get; }
    Property Value
    Type Description
    Button
    | Improve this Doc View Source

    Trait

    Gets a given trait of the page to verify that the page is in view.

    Declaration
    protected override By Trait { get; }
    Property Value
    Type Description
    By
    | Improve this Doc View Source

    UsePasswordButton

    Gets the optional "Use Password" button that appears when password-less authentication is enabled.

    Declaration
    public virtual Button UsePasswordButton { get; }
    Property Value
    Type Description
    Button

    Methods

    | Improve this Doc View Source

    Login(String, String)

    Login an Azure Active Directory user by email and password.

    Declaration
    public AzureAdLoginPage Login(string email, string password)
    Parameters
    Type Name Description
    System.String email

    The email address to authenticate with.

    System.String password

    The password associated with the email address to authenticate with.

    Returns
    Type Description
    AzureAdLoginPage

    The AzureAdLoginPage instance.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps