Пример #1
0
 public void TestSuiteCleanUp()
 {
     TestCaseID = "CGN-55";
     // PQAInspectionSummaryReport.CloseInspectionSummarryReport();
     // PQAInspectionSummaryReport.CloseInspectionSummarryReport();
     PQATrendViewer.CloseTrendViewer();
     PQADefectSummary.CloseDefectSummary();
     //inspectionSummaryReport.CloseReportBrowserWindow();
     PQAWebViewer.CloseWebViewer();
     PQAWebViewer.CloseSmartViewPQA();
 }
Пример #2
0
 public void TestSuiteCleanUp()
 {
     TestCaseExternalID = "CGN-55";
     // PQAInspectionSummaryReport.CloseInspectionSummarryReport();
     // PQAInspectionSummaryReport.CloseInspectionSummarryReport();
     PQATrendViewer.CloseTrendViewer();
     PQADefectSummary.CloseDefectSummary();
     //inspectionSummaryReport.CloseReportBrowserWindow();
     PQAWebViewer.CloseWebViewer();
     Applications.CloseAllApplication("PQA");
 }
Пример #3
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 LoadTestTrendViewer()
        {
            TestCaseExternalID = "CGN-8";
            Applications.CloseAllApplication("PQA");
            PQAWebViewer.LaunchPQA(PQAExePath, PQAAlternateExePath);

            PQATrendViewer.GenerateTrendViewer();
            //PQATrendWizard.DefineQueryByLastDuration();
            PQATrendWizard.DefineQuery(MasterData.PQAInspection);

            Thread.Sleep(5000);
            PQATrendViewer.WaitForEnableRunButtonInTrendViewerToolBar();

            Thread.Sleep(10000);
            Applications.CloseAllApplication("PQA");
        }
        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();
        }
Пример #6
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");
        }
Пример #7
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");
        }
Пример #8
0
 public void TestPQAWVShowDefectRatePlot()
 {
     TestCaseExternalID = "CGN-2";
     PQAWebViewer.AddDefectRatePlot();
     PQAWebViewer.VerifyDefectRatePlotIsDisplayed();
 }
Пример #9
0
 public void LanuchPQA()
 {
     TestCaseExternalID = "CGN-001";
     Applications.CloseAllApplication("PQA");
     PQAWebViewer.LaunchPQA(PQAExePath, PQAAlternateExePath);
 }
Пример #10
0
 public void TestCloseReportAndPQA()
 {
     PQAInspectionSummaryReport.CloseInspectionSummarryReport();
     PQAWebViewer.CloseWebViewer();
     PQAWebViewer.CloseSmartViewPQA();
 }
 public void TestPQAWVShowDefectRatePlotOnLiveMode()
 {
     TestCaseID = "CGN-002";
     PQAWebViewer.AddDefectRatePlot();
     PQAWebViewer.VerifyDefectRatePlotIsDisplayed();
 }
Пример #12
0
 public void ClosePQA()
 {
     PQAWebViewer.CloseSmartViewPQA();
 }
Пример #13
0
 public void LanuchPQA()
 {
     TestCaseID = "CGN-001";
     PQAWebViewer.LaunchPQA(PQAExePath, PQAAlternateExePath);
 }