public void TestCNLMDVLayout()
 {
     TestCaseExternalID = "CGN-106";
     MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
     MultiDefectViewerDisplayOption.DefineLayout("3", "4");
     MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();
 }
        public void TestCNLMDVShowClassInHeaders()
        {
            TestCaseExternalID = "CGN-132";
            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowHeader(true, true, false);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowHeader(true, true, false);
            MultiDefectViewerDisplayOption.ClickOk();
        }
Exemplo n.º 3
0
        public void TestCNLMDVHideHeaders()
        {
            TestCaseID = "CGN-135";
            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowHeader(false, false, false);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowHeader(false, false, false);
            MultiDefectViewerDisplayOption.ClickOk();
        }
        public void TestCNLMDVHideDefectBoxes()
        {
            TestCaseExternalID = "CGN-136";
            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowDefectBoxes(false);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowDefectBoxes(false);
            MultiDefectViewerDisplayOption.ClickOk();
        }
Exemplo n.º 5
0
        public void TestCNLMDVShowDefectBoxes()
        {
            TestCaseID = "CGN-108";
            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowDefectBoxes(true);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowDefectBoxes(true);
            MultiDefectViewerDisplayOption.ClickOk();
        }
Exemplo n.º 6
0
        public void TestCNLMDVShowBothClassAndViewInHeaders()
        {
            TestCaseID = "CGN-107";
            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowHeader(true, true, true);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowHeader(true, true, true);
            MultiDefectViewerDisplayOption.ClickOk();
        }
        public void TestCNLMDVHideImage()
        {
            TestCaseExternalID = "CGN-112";

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowImage(false, false, false);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowImage(false, false, false);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();
        }
Exemplo n.º 8
0
        public void TestCNLMDVHideDefectLabels()
        {
            TestCaseID = "CGN-137";

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowDefectLabels(false, "");
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowDefectLabels(false, "");
            MultiDefectViewerDisplayOption.ClickOk();
        }
        public void TestCNLMDVDisableThresholdedPixel()
        {
            TestCaseExternalID = "CGN-120";

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.DefineGrayThresholdedPixel(false, false, true);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyGrayThresholdedPixel(false, false, true);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();
        }
        public void TestCNLMDVHidePointerToolbar()
        {
            TestCaseExternalID = "CGN-141";

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowPointerToolbar(false);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowPointerToolbar(false);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();
        }
        public void TestCNLMDVHideDefectFatures()
        {
            TestCaseExternalID = "CGN-139";

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowFeatures(false, "top");
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowFeatures(false, "top");
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();
        }
        public void TestCNLMDVShowDefectFaturesAboveTheDefectImage()
        {
            TestCaseExternalID = "CGN-138";

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowFeatures(true, "top");
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowFeatures(true, "top");
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();
        }
        public void TestCNLMDVShowImageWithDownwebLocator()
        {
            TestCaseExternalID = "CGN-116";

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowImage(true, false, true);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowImage(true, false, true);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();
        }
Exemplo n.º 14
0
        public void TestCNLMDVEnableThresholdedPixelWithGrayBins()
        {
            TestCaseID = "CGN-122";

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.DefineGrayThresholdedPixel(true, false, true);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyGrayThresholdedPixel(true, false, true);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();
        }
Exemplo n.º 15
0
        public void TestCNLMDVShowPointerToolbar()
        {
            TestCaseID = "CGN-140";

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowPointerToolbar(true);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowPointerToolbar(true);
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();
        }
Exemplo n.º 16
0
        public void TestCNLMDVShowDefectFaturesLeftTheDefectImage()
        {
            TestCaseID = "CGN-117";

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.ShowFeatures(true, "left");
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

            MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
            MultiDefectViewerDisplayOption.VerifyShowFeatures(true, "left");
            MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();
        }
        public void TestCNLMDVShowDefectLabels()
        {
            TestCaseExternalID = "CGN-109";
            String[] labels = { "Class", "Symbol", "Severity", "Defect No.", "Box Top", "Box Bottom" };
            for (int index = 0; index < labels.Length; index++)
            {
                MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
                MultiDefectViewerDisplayOption.ShowDefectLabels(true, labels[index]);
                MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

                MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
                MultiDefectViewerDisplayOption.VerifyShowDefectLabels(true, labels[index]);
                MultiDefectViewerDisplayOption.ClickOk();
            }
        }
        public void TestCNLMDVDefineColorMapWithInvert()
        {
            TestCaseExternalID = "CGN-119";

            String[] colorMaps = { "Normal", "Blue shade", "Difference", "Spectrum", "Contour", "Equalized" };
            for (int index = 0; index < colorMaps.Length; index++)
            {
                MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
                MultiDefectViewerDisplayOption.DefineGrayColormap(colorMaps[index], true);
                MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();

                MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow();
                MultiDefectViewerDisplayOption.VerifyGrayColormap(colorMaps[index], true);
                MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings();
            }
        }