コード例 #1
0
ファイル: Amazon.cs プロジェクト: nareshbandi123/ads
        bool StartProcess()
        {
            try
            {
                Steps.ClickOnTools();
                Steps.ClickOnExport();
                Steps.SelectServer();
                Steps.ScanForTables();
                Steps.ScanForADSTable();
                Steps.ClickOnExportNext();
                Steps.SelectExportDestinationDropdown(0);
                Steps.EnterExportFilePathToSave();
                Steps.ClickOnExportNext();
                Steps.CheckExportStatus();
                Steps.ClickOnExportCloseButton();
                Steps.ValidateExportFile();

                Steps.ClickOnTools();
                Steps.ClickOnExport();
                Steps.SelectServer();
                Steps.ScanForTables();
                Steps.ScanForADSTable();
                Steps.ClickOnExportNext();
                Steps.SelectExportDestinationDropdown(1);
                Steps.ClickOnExportNext();
                Steps.ClickOnExportCloseButton();
            }
            catch (Exception ex)
            {
                Reports.ReportLog(ex.Message, Reports.ADSReportLevel.Fail, null, Config.TestCaseName);
            }
            return(true);
        }