@Test(groups = "Enterprise-only") public void instantiateDashlet() { customiseSiteDashBoard = siteDashBoard.getSiteNav().selectCustomizeDashboard(); customiseSiteDashBoard.render(); siteDashBoard = customiseSiteDashBoard.addDashlet(Dashlets.WEB_VIEW, 1).render(); webViewDashlet = siteDashBoard.getDashlet(WEB_VIEW_DASHLET).render(); assertNotNull(webViewDashlet); }
@SuppressWarnings("unchecked") @Override public synchronized WebViewDashlet render(RenderTime timer) { try { while (true) { timer.start(); synchronized (this) { try { this.wait(50L); } catch (InterruptedException e) { } } try { this.dashlet = drone.findAndWait((DASHLET_CONTAINER_PLACEHOLDER), 100L, 10L); break; } catch (NoSuchElementException e) { } catch (StaleElementReferenceException ste) { } finally { timer.end(); } } } catch (PageRenderTimeException te) { throw new NoSuchDashletExpection(this.getClass().getName() + " failed to find site notice dashlet", te); } return this; }
WebViewDashlet extends AbstractDashlet implements Dashlet { @SuppressWarnings("unchecked") @Override public synchronized WebViewDashlet render(RenderTime timer) { try { while (true) { timer.start(); synchronized (this) { try { this.wait(50L); } catch (InterruptedException e) { } } try { this.dashlet = drone.findAndWait((DASHLET_CONTAINER_PLACEHOLDER), 100L, 10L); break; } catch (NoSuchElementException e) { } catch (StaleElementReferenceException ste) { } finally { timer.end(); } } } catch (PageRenderTimeException te) { throw new NoSuchDashletExpection(this.getClass().getName() + " failed to find site notice dashlet", te); } return this; } }
WebViewDashlet extends AbstractDashlet implements Dashlet { @SuppressWarnings("unchecked") @Override public synchronized WebViewDashlet render(RenderTime timer) { try { while (true) { timer.start(); synchronized (this) { try { this.wait(50L); } catch (InterruptedException e) { } } try { this.dashlet = drone.findAndWait((DASHLET_CONTAINER_PLACEHOLDER), 100L, 10L); break; } catch (NoSuchElementException e) { } catch (StaleElementReferenceException ste) { } finally { timer.end(); } } } catch (PageRenderTimeException te) { throw new NoSuchDashletExpection(this.getClass().getName() + " failed to find site notice dashlet", te); } return this; } protected  WebViewDashlet(WebDrone drone); }
WebViewDashlet extends AbstractDashlet implements Dashlet { @SuppressWarnings("unchecked") @Override public synchronized WebViewDashlet render(RenderTime timer) { try { while (true) { timer.start(); synchronized (this) { try { this.wait(50L); } catch (InterruptedException e) { } } try { this.dashlet = drone.findAndWait((DASHLET_CONTAINER_PLACEHOLDER), 100L, 10L); break; } catch (NoSuchElementException e) { } catch (StaleElementReferenceException ste) { } finally { timer.end(); } } } catch (PageRenderTimeException te) { throw new NoSuchDashletExpection(this.getClass().getName() + " failed to find site notice dashlet", te); } return this; } protected  WebViewDashlet(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized WebViewDashlet render(RenderTime timer); @SuppressWarnings("unchecked") @Override WebViewDashlet render(long time); @SuppressWarnings("unchecked") @Override WebViewDashlet render(); ConfigureWebViewDashletBoxPage clickConfigure(); String getDefaultMessage(); boolean isFrameShow(String url); }
WebViewDashlet extends AbstractDashlet implements Dashlet { @SuppressWarnings("unchecked") @Override public synchronized WebViewDashlet render(RenderTime timer) { try { while (true) { timer.start(); synchronized (this) { try { this.wait(50L); } catch (InterruptedException e) { } } try { this.dashlet = drone.findAndWait((DASHLET_CONTAINER_PLACEHOLDER), 100L, 10L); break; } catch (NoSuchElementException e) { } catch (StaleElementReferenceException ste) { } finally { timer.end(); } } } catch (PageRenderTimeException te) { throw new NoSuchDashletExpection(this.getClass().getName() + " failed to find site notice dashlet", te); } return this; } protected  WebViewDashlet(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized WebViewDashlet render(RenderTime timer); @SuppressWarnings("unchecked") @Override WebViewDashlet render(long time); @SuppressWarnings("unchecked") @Override WebViewDashlet render(); ConfigureWebViewDashletBoxPage clickConfigure(); String getDefaultMessage(); boolean isFrameShow(String url);  }