@BeforeTest public void checkRunmode() { boolean run = RunControl.checkTestRunMode("Read1000PageTest"); if (!run) { throw new SkipException("Skipping the test as Runmode is NO"); } }
@DataProvider public Object[][] gTestData() { return RunControl.getTestData("Read1000PageTest"); }