public void TestIniti()
        {
            this.TestInitialize();
            this.applicationMainPage   = new ApplicationMainPage(this.Driver);
            this.loginPage             = new LoginPage(this.Driver);
            this.loanParamPage         = new LoanParametersPage(this.Driver);
            this.personalDataPage      = new PersonalDataPage(this.Driver);
            this.addressPage           = new AddressPage(this.Driver);
            this.contactsPage          = new ContactsPage(this.Driver);
            this.additionalInfoPage    = new AdditionalInfoPage(this.Driver);
            this.creditsPage           = new OtherCreditsPage(this.Driver);
            this.incomePage            = new IncomePage(this.Driver);
            this.otherIncomePage       = new OtherIncomePage(this.Driver);
            this.homePage              = new HomePage(this.Driver);
            this.loanPaymentPage       = new LoanPaymentPage(this.Driver);
            this.printingDocumentsPage = new PrintingDocumentsPage(this.Driver);
            this.uploadDocumentsPage   = new UploadDocumentsPage(this.Driver);
            this.clientOpinionPage     = new ClientOpinionPage(this.Driver);
            this.fraudSuspicionsPage   = new FraudSuspicionPage(this.Driver);

            var user = AccessExcelData.GetTestData <User>("TestName", "TestUser", "Users", BaseConstants.UsersXlsxFilename);

            this.loginPage.AnotherUserLogin(user, BaseConstants.TestCRMUrl);
            Thread.Sleep(1500);
            this.homePage.Applications.Click();
            this.applicationMainPage.OpenNewApplication();
        }
Exemple #2
0
 private void xtileIncome_ItemClick(object sender, TileItemEventArgs e)
 {
     using (var page = new IncomePage())
     {
         page.ShowDialog();
     }
 }