Ejemplo n.º 1
0
        bool StartProcess()
        {
            try
            {
                Steps.ClickOnTools();
                Steps.ClickOnSeverScriptGenerator();
                Steps.ClickOnGeneralTab();
                Steps.ScanForLeftTables();
                Steps.ClickOnDeselectObject();
                Steps.ScanForRightTables();
                Steps.ClickOnNextButton();
                Steps.BrowseFolderLocation();
                Steps.ClickOnNextButton();
                Steps.ClickOnCloseButton();
                Steps.ClickOnFile();
                Steps.ClickOnOpenMenuItem();
                Steps.OpenSqlFile();
                Steps.ClickOpen();
                Steps.SelectServer();
                Steps.ClickOpenQueryAnalyser();
                Preconditions.Steps.CloseTab(Config.TestCaseName);
            }
            catch (Exception e)
            {
                Reports.ReportLog(e.Message, Reports.ADSReportLevel.Fail, null, Config.TestCaseName);
            }

            return(true);
        }
Ejemplo n.º 2
0
 bool StartProcess()
 {
     try
     {
         Steps.CloseServerTab();
         Steps.ClickOnProjectTab();
         Steps.RightClickProjectTab();
         Steps.SelectNewProject();
         Steps.SelectDataSchemaAndDataExporterTemplate();
         Steps.BrowseFolderLocation();
         Steps.ClickOk();
         Steps.ValidateTemplateFromNewProject();
         Steps.ValidateNewProjectFile();
         Steps.CloseTab();
         Steps.RemoveProject();
         Steps.CloseProjectTab();
         Steps.OpenServerTab();
         Steps.Cleanup(Steps.DATABASE_SCHEMA_AND_DATA_EXPORTER);
     }
     catch (Exception)
     {
     }
     return(true);
 }