Added function isViewOnScreen in BBCTTestUtil