예제 #1
0
        public void TestPQALaunchWebViewer()
        {
            TestCaseExternalID = "CGN-1";
            PQAWebViewer.LaunchSmartViewDataSelectorWindow();
            PQASmartViewDataSelector.CheckStartDateCheckBox(false);
            PQASmartViewDataSelector.SearchByRecipeAndClickOk(SharedInspectionName);
            PQAWebViewer.DisplayWebViewer();
            PQAWebViewer.VerifyWebViewerIsExist();

            //lodedInspectionNameInWebViewer = webViewer.GetLoadedInspectionNameInWebViewer();
            // webViewer.CloseWebViewer();
        }
        public void TestPQAWVLaunchWebViewerOnLiveMode()
        {
            TestCaseID = "CGN-001";

            TextReader tr = new StreamReader(ProjectPath + "\\Resources\\InspectionName.txt");

            InspectionName = tr.ReadLine();

            // PQAWebViewer.LaunchPQA(PQAExePath, PQAAlternateExePath);
            PQAWebViewer.LaunchSmartViewDataSelectorWindow();
            PQASmartViewDataSelector.CheckStartDateCheckBox(false);
            PQASmartViewDataSelector.SearchByRecipeAndSelelectDefinedRecored(InspectionName);
            PQAWebViewer.DisplayWebViewer();
            PQAWebViewer.VerifyWebViewerIsExist();

            //lodedInspectionNameInWebViewer = webViewer.GetLoadedInspectionNameInWebViewer();
            // webViewer.CloseWebViewer();
        }