public static void ClassInitialize(TestContext testContext)
{
// A method is used to initialize the variables.
TestClassBase.Initialize(testContext);
if (null == MSCopysAdapter)
{
MSCopysAdapter = BaseTestSite.GetAdapter<IMS_COPYSAdapter>();
}
if (null == MSCOPYSSutControlAdapter)
{
MSCOPYSSutControlAdapter = BaseTestSite.GetAdapter<IMS_COPYSSUTControlAdapter>();
}
if (null == FilesUrlRecordOfDestination)
{
FilesUrlRecordOfDestination = new List<string>();
}
if (string.IsNullOrEmpty(SourceFileContentBase64Value))
{
string sourceFileContent = Common.GetConfigurationPropertyValue("SourceFileContents", BaseTestSite);
byte[] souceFileContentBinaries = Encoding.UTF8.GetBytes(sourceFileContent);
SourceFileContentBase64Value = Convert.ToBase64String(souceFileContentBinaries);
}
}