///////////////////////////////////////////////////////////////// // DO NOT CHANGE Guid, TestDefinition or TestScript-Attribute; ///////////////////////////////////////////////////////////////// /// <summary> /// The run. /// </summary> public static void Run() { TC_ActivateSoftwareOption.Run("pathToParameter", "softwareOptionCode"); TC_OpenModuleOnline.Run(); TC_DeleteConcentrationData.Run(); TC_CheckThatAllTabPagesExceptLiquidPropertiesAreActive.Run(); TC_ConfigureBaseSettings.Run("Defined liquid", "Aqueous sugar", "Standard calibration", string.Empty, string.Empty, @"°C", "10.00", "50.00", @"%", "33.00", "88.00"); TC_CheckThatAllTabPagesExceptLiquidPropertiesAreActive.Run(); TC_CalculateCoefficients.Run(); TC_CompareCalculatedCoefficientsWithExpectedCoefficients.Run("0.001", "-8.8044;19.5445;-16.4714;6.76874;-1.05918;0.87672;3.07597; "); TC_CheckExpertResults.Run(); TC_SetCoefficientsFromDevice.Run("0", "1", "2", "3", "4", "5", "6", "7"); TC_WriteCoefficientsToDevice.Run(); TC_ReadCoefficientsFromDevice.Run(); TC_CompareCalculatedCoefficientsWithCoefficientsReadFromDevice.Run("0.001"); TC_SaveAs.Run(); TC_DeleteConcentrationData.Run(); TC_Load.Run(); TC_ConfigureBaseSettings.Run("Fine Tuning", string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty); TC_CheckThatAllFieldsInBaseSettingsAreGrayed.Run(); TC_CheckThatAllTabPagesAreActive.Run(); TC_ConfigureBaseSettings.Run("Liquid properties", string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty); TC_CheckThatAllTabPagesAreActive.Run(); TC_ConfigureBaseSettings.Run("Liquid properties", string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty); TC_SetTableValue.Run("5;-10;0.5;10;0;0.6;15;10;0.7;20;20;0.8;25;30;0.9;30;40;1;35;50;1.1;40;60;1.2;45;70;1.3;50;75;1.4;55;80;1.5"); TC_Export.Run(); TC_Import.Run(); TC_CloseModule.Run(); TC_CheckForCriticalError.Run(); }
///////////////////////////////////////////////////////////////// // DO NOT CHANGE Guid, TestDefinition or TestScript-Attribute; ///////////////////////////////////////////////////////////////// /// <summary> /// The run. /// </summary> public static void Run() { TC_ActivateViscositySoftwareOption.Run("DeviceMenu//_Expert_//_System_//_Management_//STD_LicenseCode_", "33631279"); TC_OpenModuleOnline.Run(); TC_SetTableValue.Run("10;2;2;3;3;4;4;5;5;6;6;7"); TC_ConfigureFluidPropertiesParameter.Run("cP", @"°C", "5.00", string.Empty, string.Empty); TC_Calculate.Run(); TC_CheckResultsAfterCalculation.Run(); TC_CompareCoefficients.Run("0.001", "-0.0593", "0.0010"); TC_WriteValuesToDevice.Run(true); TC_Export.Run(); TC_CloseModule.Run(); TC_OpenModuleOnline.Run(); TC_Import.Run(); TC_ConfigureFluidPropertiesParameter.Run("cP", @"°C", "5.00", string.Empty, string.Empty); TC_Calculate.Run(); TC_CheckResultsAfterCalculation.Run(); TC_CompareCoefficients.Run("0.001", "-0.0593", "0.0010"); TC_CloseModule.Run(); TC_CheckForCriticalError.Run(); }
///////////////////////////////////////////////////////////////// // DO NOT CHANGE Guid, TestDefinition or TestScript-Attribute; ///////////////////////////////////////////////////////////////// #region Public Methods and Operators /// <summary> /// The run. /// </summary> public static void Run() { TC_OpenModuleOnline.Run(); TC_ReadTable.Run(300000); TC_ReadTable.Run(300000); TC_ConfigureCylindricalTankStanding.Run(string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty); TC_Calculate.Run(); TC_WriteTable.Run(300000); TC_WriteTable.Run(300000); TestCases.DeviceFunction.CoDIA.Parameterization.TC_OpenModuleOnline.Run(); TestCases.DeviceFunction.CoDIA.Parameterization.TC_CheckThatDeviceHasNoFailure.Run(); TestCases.DeviceFunction.CoDIA.Parameterization.TC_CloseModuleOnline.Run(); TC_Export.Run("Relativer Pfad auf LinearizationData"); TC_Import.Run("Relativer Pfad auf LinearizationData.csv"); TC_WriteTable.Run(300000); TC_CheckSettingsParameterNotInvalid.Run(); TestCases.DeviceFunction.CoDIA.Parameterization.TC_OpenModuleOnline.Run(); TestCases.DeviceFunction.CoDIA.Parameterization.TC_CheckThatDeviceHasNoFailure.Run(); TestCases.DeviceFunction.CoDIA.Parameterization.TC_CloseModuleOnline.Run(); TC_CloseModule.Run(); TC_CheckForCriticalError.Run(); }