Beispiel #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();
        }
Beispiel #3
0
        public void LoadTestInspectionSummaryReport()
        {
            TestCaseExternalID = "CGN-8";
            Applications.CloseAllApplication("PQA");
            PQAWebViewer.LaunchPQA(PQAExePath, PQAAlternateExePath);

            PQAWebViewer.LaunchSmartViewDataSelectorWindow();
            //PQASmartViewDataSelector.ChangeDataBase(bool.Parse(MasterData.InPQAChangeDB), MasterData.PQADBServer, MasterData.PQADB);
            PQASmartViewDataSelector.CheckStartDateCheckBox(false);
            PQASmartViewDataSelector.SearchByRecipeAndClickOk(MasterData.PQAInspection);

            PQAInspectionSummaryReport.LoadTheReportSelectionWindow();
            PQAInspectionSummaryReport.DisplayInspectionSummaryReport();
            //inspectionSummaryReport.MaximizedInspectionSummaryWindow();
            PQAInspectionSummaryReport.VerifyInspectionSummaryReportLoadedProperly();
            PQAInspectionSummaryReport.VerifyInspectionSummaryToolBarControls();
            Thread.Sleep(10000);
            Applications.CloseAllApplication("PQA");
        }
Beispiel #4
0
        public void LoadTestLauncLaneSummaryReport()
        {
            TestCaseExternalID = "CGN-13";
            Applications.CloseAllApplication("PQA");
            PQAWebViewer.LaunchPQA(PQAExePath, PQAAlternateExePath);

            PQAWebViewer.LaunchSmartViewDataSelectorWindow();
            // PQASmartViewDataSelector.ChangeDataBase(bool.Parse(MasterData.InPQAChangeDB), MasterData.PQADBServer, MasterData.PQADB);
            PQASmartViewDataSelector.CheckStartDateCheckBox(false);
            PQASmartViewDataSelector.SearchByRecipeAndClickOk(MasterData.PQAInspection);

            LaneSummaryReport.ClickReportButtonInPQAToolBar();
            PQAInspectionSummaryReport.LoadStandardReportTabInReportBrowser();
            LaneSummaryReport.LoadLaneSummaryReport();
            //inspectionSummaryReport.MaximizedInspectionSummaryWindow();
            ReportWizardReportOptions.WaitForReportWizardIconIsEnabled();
            LaneSummaryReport.WaitForRepotingOptionsAreEnabled();
            Thread.Sleep(10000);


            Applications.CloseAllApplication("PQA");
        }