예제 #1
0
 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);
 }
예제 #2
0
 /// <summary>
 /// Method to initialise  page objects
 /// </summary>
 public void InitialisePageObjects()
 {
     operincidentpage  = new OperationalIncResolutionPage(driver);
     myActivityPage    = new MyActivityPage(driver);
     cM_ContactDetails = new CM_ContactDetailsPage(driver);
 }