Пример #1
0
        public void TestInspectWithStandardVSingleView()
        {
            String name = "ATM" + RandomNumber;

            ConfigMang.LaunchConfigurationManager();
            ConfigMang.LoadNewArchitectureWindow();
            ConfMangNewArchitectureWindow.CreateArchitecture(name, "standard", 1);
            ConfigMang.LoadCameraStatusWindow();
            ConfigMang.AssignCameraToSingleView();
            ConfigMang.CloseConfigurationManager();

            ClassifierMng.LaunchClassifierManager();
            ClassifierMng.CreateNewClassifier("Standard", "SmartView", "", false);
            ClassfierClassList.LoadClassListTab();
            ClassfierClassList.ImportClassifier();
            ClassifierMng.SaveClassifier(name);
            ClassifierMng.CloseClassifierManager(name);

            RecipeBase.RecipeWizard.LaunchRecipe(RecipeBase.RecipeExePath, RecipeBase.RecipeAlternateExePath);
            RecipeBase.RecipeWizard.SelectArchitectureInRecipeWizard(name);
            RecipeBase.RecipeWizard.CreateNewRecipe(name);
            RecipeBase.Recipe.AssignClassifierToRecipe(name);

            console.LaunchConsole();
            console.SelectArchitecture(name);
            //inspectionSetup.SetRollInInspectionSetup(name);
            inspectionSetup.SetRollAndLoadAndStartInspection(name);
            console.CloseSystemWarningsWindow();
            console.MaximizeConsoleWindow();
        }
Пример #2
0
        public void TestClassSpecialProcessingViewToViewCorrelation()
        {
            ClassList.LoadClassListTab();

            //ClassList.ClassSpecialProcessingViewToViewCorrelation(true);
            //ClassList.VerifyClassSpecialProcessingViewToViewCorrelation(true);

            //ClassList.ClassSpecialProcessingViewToViewCorrelation(false);
            // ClassList.VerifyClassSpecialProcessingViewToViewCorrelation(false);
        }
Пример #3
0
        public void TestClassSpecialProcessingPreventCamToCamMerging()
        {
            ClassList.LoadClassListTab();

            ClassList.ClassSpecialProcessingPreventCamToCamMerging(true);
            ClassList.VerifyClassSpecialProcessingPreventCamToCamMerging(true);

            ClassList.ClassSpecialProcessingPreventCamToCamMerging(false);
            ClassList.VerifyClassSpecialProcessingPreventCamToCamMerging(false);
        }
Пример #4
0
        public void TestClassSpecialProcessingExtendedConnectivity()
        {
            ClassList.LoadClassListTab();

            ClassList.ClassSpecialProcessingExtendedConnectivity(true);
            ClassList.VerifyClassSpecialProcessingExtendedConnectivity(true);

            ClassList.ClassSpecialProcessingExtendedConnectivity(false);
            ClassList.VerifyClassSpecialProcessingExtendedConnectivity(false);
        }
Пример #5
0
        public void TestClassSpecialProcessingBreakOngoingDefect()
        {
            ClassList.LoadClassListTab();

            ClassList.ClassSpecialProcessingBreakOngoingDefect(true, true);
            ClassList.VerifyClassSpecialProcessingBreakOngoingDefect(true, true);

            ClassList.ClassSpecialProcessingBreakOngoingDefect(true, false);
            ClassList.VerifyClassSpecialProcessingBreakOngoingDefect(true, false);

            ClassList.ClassSpecialProcessingBreakOngoingDefect(false, false);
            ClassList.VerifyClassSpecialProcessingBreakOngoingDefect(false, false);

            ClassList.ClassSpecialProcessingBreakOngoingDefect(false, true);
            ClassList.VerifyClassSpecialProcessingBreakOngoingDefect(false, true);
        }
Пример #6
0
 public void TestSaveActionFilter()
 {
     ClassList.LoadClassListTab();
     ClassList.ClassSaveActionIsFilter();
     ClassList.VerifyFilterClassSaveAction(true);
 }
Пример #7
0
 public void TestSaveActionDiscard()
 {
     ClassList.LoadClassListTab();
     ClassList.ClassSaveActionIsDiscard();
     ClassList.VerifyDiscardClassSaveAction(true);
 }
Пример #8
0
 public void TestSaveActionDefectOnly()
 {
     ClassList.LoadClassListTab();
     ClassList.ClassSaveActionDefectOnly();
     ClassList.VerifyDefectOnlyClassSaveAction(true);
 }
Пример #9
0
 public void TestSaveActionDefectAndGrayAndCompressed()
 {
     ClassList.LoadClassListTab();
     ClassList.ClassSaveActionIsDefectAndGray(true, "Compressed", false);
     ClassList.VerifyDefectAndGrayClassSaveAction(true, "Compressed", false);
 }
Пример #10
0
 public void TestSaveActionDefectAndGrayAndLimitedContext()
 {
     ClassList.LoadClassListTab();
     ClassList.ClassSaveActionIsDefectAndGray(true, "Limited context", false);
     ClassList.VerifyDefectAndGrayClassSaveAction(true, "Limited context", false);
 }
Пример #11
0
 public void TestSaveActionDefectAndGrayAndUseDefectBoundingBox()
 {
     ClassList.LoadClassListTab();
     ClassList.ClassSaveActionIsDefectAndGray(true, "Full context", true);
     ClassList.VerifyDefectAndGrayClassSaveAction(true, "Full context", true);
 }
Пример #12
0
 public void TestCreateNewClass()
 {
     ClassList.LoadClassListTab();
     ClassList.CreateNewClass(className + RandomNumber, "Test automation description", "w");
 }
Пример #13
0
 public void TestSpecialProcessingReportAnalysis()
 {
     ClassList.LoadClassListTab();
 }
Пример #14
0
 public void TestDataBaseImportDoNotImport()
 {
     ClassList.LoadClassListTab();
     ClassList.ClassDataBaseImportDoNotImport();
     ClassList.VerifyClassDataBaseImportDoNotImport(true);
 }
Пример #15
0
 public void TestDataBaseImportDefectOnly()
 {
     ClassList.LoadClassListTab();
     ClassList.ClassDataBaseImportDefectOnly();
     ClassList.VerifyClassDataBaseImportDefectOnly(true);
 }
Пример #16
0
 public void TestDataBaseImportDefectAndGray()
 {
     ClassList.LoadClassListTab();
     ClassList.ClassDBImportDefectAndGray();
     ClassList.VerifyDefectAndGrayClassDBImport(true);
 }