public static bool Run(int expectedMinimumNumberOfEvents) { StartUp(); /* Add your TestFramework calls here, for example: * EH.PCPS.TestAutomation.CommonHostApplicationLayerLoader.CommonFlows.OpenHostApplication.Run(pathToApplication); * EH.PCPS.TestAutomation.DeviceFunctionLoader.CoDIA.Parameterization.Flows.OpenModuleOnline.Run(); */ bool isPassed = Execution.RunSelectTab.Run(0); isPassed &= AssertFunctions.GreaterOrEqual(expectedMinimumNumberOfEvents, Execution.Table.GetNumberOfEvents(), "Checking whether the number of events is greater than or equal to: " + expectedMinimumNumberOfEvents); if (isPassed) { Log.Success(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "Test case TC_CheckMinimumNumberOfEvents passed."); } else { Log.Failure(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "Test case TC_CheckMinimumNumberOfEvents failed."); Log.Screenshot(); } TearDown(); return(isPassed); }