Esempio n. 1
0
        public void WhenTheUserEntersAnyValidDataBetweenTheCVIInvestorScreenAndInvestorDeclarationChoiceScreenUsingFileAndClicksOnTheContinueApplicationButton(string fileName)
        {
            //CVI Investor page
            theCVIInvestorPage.clickOnContinueApplicationBtn();
            Helper.pause(2000);
            //Assert.AreEqual(ConstantsList.Eden_CVIInvestor2ndHeaderText, theCVIInvestor2Page.getHeader(), "Check that we are on the 2nd CI Investor Page");

            //The CVI Investor page 2
            theCVIInvestor2Page.EnterAllValid();  //This does not use myData
            theCVIInvestor2Page.clickOnContinueBtn();
            Helper.pause(2000);
            Assert.AreEqual(ConstantsList.Eden_AdviserDeclarationHeaderText, theAdviserDeclarationPage.getHeader(), "Check that we are in the advisor declaration page");

            //The Adviser Declaration page
            try
            {
                Assert.IsTrue(theAdviserDeclarationPage.checkAdviserDeclarationMandatoryFieldsPopulated(), "Check that we are in the advisor declaration page");
            }
            catch (Exception e)
            {
                Debug.WriteLine("Mandatory fields not all populated for Adviser Declaration");
                throw;
            }

            Helper.pause(2000);
            theAdviserDeclarationPage.EnterAllValid(GetInputData(fileName));
            theAdviserDeclarationPage.ClickOnContinueApplicationBtn();
            Helper.pause(2000);
        }
Esempio n. 2
0
 public void WhenTheUserClicksOnTheReasonToBelieveButtonAndThenTheContinueApplicationButton()
 {
     Debug.WriteLine("Debug: In Investor CVI 2 screen");
     theCVIInvestor2Page.clickOnReasonBtn();
     theCVIInvestor2Page.clickOnContinueBtn();
 }
Esempio n. 3
0
 public void WhenTheUserEntersValidDataInTheCVIInvestorPage2ScreenAndClicksOnTheContinueApplicationButton()
 {
     theCVIInvestor2Page.EnterAllValid();  //This does not use myData
     theCVIInvestor2Page.clickOnContinueBtn();
     Helper.pause(2000);
 }