public CommonFunctions() { driver = BaseClass.GetDriver(); log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); cmLoginPage = new CmLoginPage(driver); portalLoginPage = new PortalLoginPage(driver); myActivityPage = new MyActivityPage(driver); seleniumFunc = new SeleniumCommFunctions(); startAppPage = new StartApplicationCommonPage(driver); reviewAndSubmitPage = new ReviewAndSubmitCommonPage(driver); cmLoginPage = new CmLoginPage(driver); contactDetails = new CM_ContactDetailsPage(driver); moreInforPage = new MoreInfromationCommPage(driver); }
/// <summary> /// Method to initialise page objects /// </summary> public void InitialisePageObjects() { operincidentpage = new OperationalIncResolutionPage(driver); myActivityPage = new MyActivityPage(driver); cM_ContactDetails = new CM_ContactDetailsPage(driver); }