Beispiel #1
0
        public void ValidateSiteSpecificZone()
        {
            //  Click on advance search icon
            MCOEDSeleniumActions.ClickOnSearchIcon(driver);

            //  Click on tab
            MCOEDSeleniumActions.ClickOnAdvanceSearchTab(driver, "Property Class");
            Thread.Sleep(1000);

            //  Click on tab
            MCOEDSeleniumActions.ClickOnAdvanceSearchTab(driver, "Site Specific Incentives");

            // Click to Uncheck DeSelectALL checkbox
            MCOEDSeleniumActions.ClickOnDeSelectAllCheckBox(driver, false);

            // Click Ok button to close Info message pop up
            MCOEDSeleniumActions.ClickOkQuickTipsInfo(driver);

            MCOEDSeleniumActions.ClickPropertyClassLegend(driver, "Urban Enterprise Zone (UEZ)", false);

            MCOEDSeleniumActions.ClickOnAdvanceSearchViewGridIcon(driver, "Site Specific Incentives");

            MCOEDSeleniumActions.ClickParcelFromGrid(driver);

            MCOEDSeleniumActions.ClickOnFeature(driver);
        }
Beispiel #2
0
        public override void Setup()
        {
            base.Setup();

            //  Enter the username and password
            MCOEDSeleniumActions.EnterUserCredentials(driver, userName, password);

            //  Click on splash close icon
            MCOEDSeleniumActions.ClickSplashCloseIcon(driver);

            //  Click on Quick Tips 'Ok' button
            MCOEDSeleniumActions.ClickOkQuickTipsInfo(driver);
        }
Beispiel #3
0
        //[DataSource("System.Data.OleDb", "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\\\CSSLESXI20-VM22\\Users\\deepum\\Desktop\\MCOED Project\\TestMCOED.xlsx;Persist Security Info=False;Extended Properties='Excel 12.0 Xml;HDR=YES'", "MCOED$", DataAccessMethod.Sequential), TestMethod()]
        public void ValidatePropertyClass()
        {
            //string propertyClassLegendName = context.DataRow["PropertyClasses"].ToString();
            //  Click on advance search icon
            MCOEDSeleniumActions.ClickOnSearchIcon(driver);

            // Click to Unselect DeSelectALL checkbox
            MCOEDSeleniumActions.ClickOnDeSelectAllCheckBox(driver);

            // Click Ok button to close Info message pop up
            MCOEDSeleniumActions.ClickOkQuickTipsInfo(driver);

            // Get color code from property class panel
            string rgbColorValue = MCOEDSeleniumActions.PropertyClassFeatureGetLegendColor(driver, "Industrial");

            MCOEDSeleniumActions.ClickPropertyClassLegend(driver, "Industrial");

            // Validate the layer color with property class legend color
            Assert.IsTrue(MCOEDValidation.GetPropertyClassFeature(driver, rgbColorValue));
        }