private void setupTopBuySellTable() {
   SenchaWebElement topBuySellTableContainer = topBuySellCarousel.getActiveCarouselItem();
   Assert.assertNotNull(
       topBuySellTableContainer,
       getScreenName() + ": Top Buy / Sell table container is not found.");
   topBuySellTable.setContainer(topBuySellCarousel.getActiveCarouselItem());
 }
 public BaseOwnershipProfileTab selectTopBuySellTable(String expectedHeader) {
   expectedHeader = expectedHeader + " (" + currency + ")";
   String currentHeader = getActiveTopBuySellTableHeader();
   if (!currentHeader.equalsIgnoreCase(expectedHeader)) {
     topBuySellCarousel.goToPage(0);
     while (!getActiveTopBuySellTableHeader().equalsIgnoreCase(expectedHeader)) {
       if (topBuySellCarousel.hasNext()) {
         topBuySellCarousel.goForward();
       } else {
         throw new Error(
             "Could not reach '"
                 + expectedHeader
                 + "' table using Carousel: no such table found.");
       }
     }
   }
   topBuySellTable.setContainer(topBuySellCarousel.getActiveCarouselItem());
   return this;
 }
 protected String getActiveTopBuySellTableHeader() {
   SenchaWebElement container = topBuySellCarousel.getActiveCarouselItem();
   topBuySellTable.setContainer(container);
   return topBuySellTable.getHeader().toUpperCase();
 }