コード例 #1
0
  public BaseOwnershipProfileTab verifyCurrencyInTopHoldingsHeader() {
    String header = "Top Holdings (" + currency + ")";
    String currentlyActiveTab = getSelectedTab();

    selectEquityTab();
    topHoldings.verifyHeader(header);

    selectFixedIncomeTab();
    topHoldings.verifyHeader(header);

    switch (currentlyActiveTab) {
      case EQ:
        selectEquityTab();
        break;
      case FI:
        selectFixedIncomeTab();
        break;
      default:
        throw new Error("Unknown Ownership tab: '" + currentlyActiveTab + "'.");
    }
    return this;
  }
コード例 #2
0
 public BaseOwnershipProfileTab verifyCurrencyInTopBuySellTableHeader(String header) {
   selectTopBuySellTable(header);
   topBuySellTable.verifyHeader(header + " (" + currency + ")");
   return this;
 }
コード例 #3
0
 public BaseOwnershipProfileTab verifyTickerInCurrentHoldingsTableHeader() {
   String tableHeader = defaultTicker + " Holdings";
   defaultTickerHoldings.verifyHeader(tableHeader);
   return this;
 }