private void setupDefaultTickerTable() { SenchaWebElement defaultTickerCurrentHoldingsContainer = Driver.findIfExists(CURRENT_HOLDINGS_PUBLIC_SELECTOR); Assert.assertNotNull( defaultTickerCurrentHoldingsContainer, getScreenName() + ": " + System.getProperty("test.defaultTicker") + " current holdings table is missing."); defaultTickerHoldings.setContainer(defaultTickerCurrentHoldingsContainer); }
protected boolean setupChartCarousel() { selectEquityTab(); if (Driver.findIfExists(By.xpath(CHARTS_CAROUSEL_XPATH)) != null) { chartsEquityCarousel.setContainerXpath(CHARTS_CAROUSEL_XPATH); chartsEquityCarousel.setAnimationTimeout(2); return true; } else { Logger.logError("Cannot initialize Chart table: no chart carousel found."); return false; } }
private void setupTopHoldingsTable() { SenchaWebElement topHoldingsContainer = Driver.findIfExists(TOP_HOLDINGS_LOCATOR); Assert.assertNotNull( topHoldingsContainer, getScreenName() + ": top holdings table is missing."); defaultTickerHoldings.setContainer(topHoldingsContainer); }
private void setupOwnershipSummaryTable() { SenchaWebElement ownershipSummaryContainer = Driver.findIfExists(OWNERSHIP_SUMMARY_LOCATOR); Assert.assertNotNull( ownershipSummaryContainer, getScreenName() + ": ownership summary table is missing."); defaultTickerHoldings.setContainer(ownershipSummaryContainer); }