Class GrouperUiBrowserGeneralVerifyVersion

java.lang.Object
edu.internet2.middleware.grouper.app.browser.GrouperUiBrowser
edu.internet2.middleware.grouper.app.browser.GrouperUiBrowserGeneralVerifyVersion

public class GrouperUiBrowserGeneralVerifyVersion extends GrouperUiBrowser
This class is used to verify the version of the ui.

Get the current ui version

    GrouperUiBrowserGeneralVerifyVersion grouperUiBrowserGeneralVerifyVersion = new GrouperUiBrowserGeneralVerifyVersion(page).browse();
    String uiVersion = grouperUiBrowserGeneralVerifyVersion.getUiVersion().toString();
 

Confirm the current ui version
    new GrouperUiBrowserGeneralVerifyVersion(page).assignExpectedVersion("4.0.0").browse();
 

  • Constructor Details

    • GrouperUiBrowserGeneralVerifyVersion

      public GrouperUiBrowserGeneralVerifyVersion(GrouperPage grouperPage)
  • Method Details

    • getExpectedVersion

      public GrouperVersion getExpectedVersion()
      Getter method for the expected version.
      Returns:
      expectedVersion
    • assignExpectedVersion

      public GrouperUiBrowserGeneralVerifyVersion assignExpectedVersion(String expectedVersion1)
      Assigner method for expected version
      Parameters:
      expectedVersion1 - is the expected version to be assigned
      Returns:
      this object
    • assignExpectedVersion

      public GrouperUiBrowserGeneralVerifyVersion assignExpectedVersion(GrouperVersion expectedVersion1)
      Assigner method for expected version
      Parameters:
      expectedVersion1 - is the expected version to be assigned
      Returns:
      this object
    • getUiVersion

      public GrouperVersion getUiVersion()
      getter method for the uiVersion
      Returns:
    • browse

      Method used to verify that the browser starts with the correct version.