public void TestSuiteCleanUp() { TestCaseID = "CGN-55"; // PQAInspectionSummaryReport.CloseInspectionSummarryReport(); // PQAInspectionSummaryReport.CloseInspectionSummarryReport(); PQATrendViewer.CloseTrendViewer(); PQADefectSummary.CloseDefectSummary(); //inspectionSummaryReport.CloseReportBrowserWindow(); PQAWebViewer.CloseWebViewer(); PQAWebViewer.CloseSmartViewPQA(); }
public void TestSuiteCleanUp() { TestCaseExternalID = "CGN-55"; // PQAInspectionSummaryReport.CloseInspectionSummarryReport(); // PQAInspectionSummaryReport.CloseInspectionSummarryReport(); PQATrendViewer.CloseTrendViewer(); PQADefectSummary.CloseDefectSummary(); //inspectionSummaryReport.CloseReportBrowserWindow(); PQAWebViewer.CloseWebViewer(); Applications.CloseAllApplication("PQA"); }
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(); }
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"); }
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"); }
public void TestPQAWVShowDefectRatePlot() { TestCaseExternalID = "CGN-2"; PQAWebViewer.AddDefectRatePlot(); PQAWebViewer.VerifyDefectRatePlotIsDisplayed(); }
public void LanuchPQA() { TestCaseExternalID = "CGN-001"; Applications.CloseAllApplication("PQA"); PQAWebViewer.LaunchPQA(PQAExePath, PQAAlternateExePath); }
public void TestCloseReportAndPQA() { PQAInspectionSummaryReport.CloseInspectionSummarryReport(); PQAWebViewer.CloseWebViewer(); PQAWebViewer.CloseSmartViewPQA(); }
public void TestPQAWVShowDefectRatePlotOnLiveMode() { TestCaseID = "CGN-002"; PQAWebViewer.AddDefectRatePlot(); PQAWebViewer.VerifyDefectRatePlotIsDisplayed(); }
public void ClosePQA() { PQAWebViewer.CloseSmartViewPQA(); }
public void LanuchPQA() { TestCaseID = "CGN-001"; PQAWebViewer.LaunchPQA(PQAExePath, PQAAlternateExePath); }