Exemple #1
0
        public static void Run()
        {
            BrowserAddressIsAPropertyDetailsPage.TestWithCorrectAddress();
            BrowserAddressIsAPropertyDetailsPage.TestWithIncorrectAddress();

            SetPageIndex.TestWithNoIndex();
            SetPageIndex.TestWithNoIndexButNeedsIndex();
            SetPageIndex.TestWithIndexButNoValue();
            SetPageIndex.TestWithIndex();
            SetPageIndex.TestSetNoIndex();

            Postcodes.PartPostcode1();
            Postcodes.PartPostcode2();
            Postcodes.PartPostcode3();
            Postcodes.FullPostcode();
            Postcodes.SpaceInWrongPage();
            Postcodes.NoSpace();
            Postcodes.ValidPostcode1();
            Postcodes.ValidPostcode2();
            Postcodes.ValidPostcode3();
            Postcodes.ValidPostcode4();
            Postcodes.ValidPostcode5();
            Postcodes.ValidPostcode6();
            Postcodes.ValidPostcode1NoSpace();
            Postcodes.ValidPostcode2NoSpace();
            Postcodes.ValidPostcode3NoSpace();
            Postcodes.ValidPostcode4NoSpace();
            Postcodes.ValidPostcode5NoSpace();
            Postcodes.ValidPostcode6NoSpace();
            Postcodes.ValidPostcode1SpaceInWrongPlace();
            Postcodes.ValidPostcode2SpaceInWrongPlace();
            Postcodes.ValidPostcode3SpaceInWrongPlace();
            Postcodes.ValidPostcode4SpaceInWrongPlace();
            Postcodes.ValidPostcode5SpaceInWrongPlace();
            Postcodes.ValidPostcode6SpaceInWrongPlace();
            //Postcodes.WrongPostcode();

            MessageBox.Show("All tests passed!");
        }