public void LaunchWorkoutWizard()
        {
            var installerRath = Path.Combine(StartAnalysisHelper.GetExecutingAssemblyPath(), "WorkOut", "WorkOut600.exe");

            Report.Log(ReportLevel.Info, "Application", String.Format("Run application {0} with arguments '' in normal mode.", installerRath));
            Host.Local.RunApplication(installerRath, "", "", false);
        }
예제 #2
0
        public void UninstallMyAssays_Run_Application()
        {
            Report.Log(ReportLevel.Info, "Application", "Run application '.\\en-us\\MyAssaysDesktopSetup.msi' with arguments '' in normal mode.");
            var file = StartAnalysisHelper.GetExecutingAssemblyPath() + "\\en-us\\MyAssaysDesktopSetup.msi";

            Report.Info(file);
            Host.Local.RunApplication(file, "", "", false);
        }
        public static void StartAnalysisWithArg(string param = "")
        {
            var file = StartAnalysisHelper.GetExecutingAssemblyPath() + "\\input.txt";

            var arg = " \"/import-raw:" + file + "\"" + param;

            Report.Info(String.Format("Validating Exists on file '{0}'. {1}.", file, File.Exists(file)));
            StartAnalysisHelper.StartAnalysis(arg);
        }
예제 #4
0
        public void CommandLineImport(string protocolName, string param)
        {
            var file = Path.Combine(HelperConstants.getExeAssemblyPath(), @"Inputs\ImportMeasurements\ELISA Absorbance 405nm.xml");

            var arg = " \"/import-raw:" + file + "\"" + param;

            Report.Info("Argument string: " + arg);
            Report.Info(String.Format("Validating Exists on file '{0}'. {1}.", file, File.Exists(file)));

            StartAnalysisHelper.Protocol = protocolName;
            StartAnalysisHelper.StartAnalysis(arg);

            Delay.Seconds(HelperConstants.TIME_TO_OPEN_PROTOCOL);
        }
        public void Validate_ProtocolName()
        {
            var text = repo.ResultsAnalysis.PadText;

            var defText   = File.ReadAllText(StartAnalysisHelper.GetExecutingAssemblyPath() + "\\input.txt");
            var defValues = GridInteractionHelper.ConvertStringToDoubleList(defText);
            var curValues = GridInteractionHelper.ConvertStringToDoubleList(text.TextValue);

            Report.Log(ReportLevel.Info, "Validation", "Validating AttributeEqual on item 'ResultsAnalysis.ProtocolName'.");
            var areEqual = defValues.SequenceEqual(curValues);

            Validate.AreEqual(areEqual, true);
            Delay.Milliseconds(100);
        }
 public void RunAnalysis()
 {
     StartAnalysisHelper.Protocol = protocolName;
     StartAnalysisHelper.StartAnalysis();
     Delay.Seconds(10);
 }
 public void RunAnalysis(string protocolName)
 {
     StartAnalysisHelper.Protocol = protocolName;
     StartAnalysisHelper.StartAnalysis();
     Delay.Seconds(HelperConstants.TIME_TO_OPEN_PROTOCOL);
 }