Exemplo n.º 1
0
 public void TestPQAReportLauncLaneSummaryReport()
 {
     TestCaseExternalID = "CGN-13";
     LaneSummaryReport.ClickReportButtonInPQAToolBar();
     PQAInspectionSummaryReport.LoadStandardReportTabInReportBrowser();
     LaneSummaryReport.LoadLaneSummaryReport();
     //PQASmartViewDataSelector.SearchByInspectionName(SharedInspectionName);
 }
Exemplo n.º 2
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");
        }
Exemplo n.º 3
0
 /// <summary>
 ///
 /// This function is used to open window for Lane Summary Report
 /// </summary>
 /// <param name="obj"></param>
 private void OpenLaneSummaryReport(object obj)
 {
     CommonSettings.logger.LogInfo(typeof(string), string.Format(CultureInfo.InvariantCulture, Resources.loggerMsgStart, DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString(), MethodBase.GetCurrentMethod().Name));
     try
     {
         LaneSummaryReport objOpen = new LaneSummaryReport();
         CurrentReportControl = objOpen;
     }
     catch (Exception ex)
     {
         LogHelper.LogErrorToDb(ex);
         bool displayErrorOnUI = false;
         CommonSettings.logger.LogError(this.GetType(), ex);
         if (displayErrorOnUI)
         {
             throw;
         }
     }
     finally
     {
         CommonSettings.logger.LogInfo(typeof(string), string.Format(CultureInfo.InvariantCulture, Resources.loggerMsgEnd, DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString(), MethodBase.GetCurrentMethod().Name));
     }
 }