private string DoAllNavigationtoPrint() { OrderPage orderPage = new OrderPage(driver); orderPage.ClickBack(); DemandPage demandPage = new DemandPage(driver); demandPage.ClickBackToHome(); MainPage mainPage = new MainPage(driver); mainPage.ClickEReturn(); EReturn eReturPage = new EReturn(driver); eReturPage.ClickBackToPrint(); PrintPage printPage = new PrintPage(driver); printPage.SelectYearAndVaigate(year); ReturnStatusPage statusListPage = new ReturnStatusPage(driver); string message = statusListPage.getInitiatedData(); return(message); }
private string DoNavigationForMobileVerificationCust() { MobileVerification mverify = new MobileVerification(driver); mverify.ClickBack(); VerifyEmailMobile emailMobile = new VerifyEmailMobile(driver); emailMobile.ClickBack(); MainPage mainPage = new MainPage(driver); mainPage.ClickEReturn(); EReturn eReturPage = new EReturn(driver); eReturPage.ClickBackToPrint(); PrintPage printPage = new PrintPage(driver); printPage.SelectYearAndVaigate(year); ReturnStatusPage statusListPage = new ReturnStatusPage(driver); string message = statusListPage.getInitiatedData(); return(message); }