public static void MyClassInitialize(TestContext testContext) { CategoryTestsWithRoleContribute.UserName = DataHelper.RandomString(20); CategoryTestsWithRoleContribute.UserPassword = DataHelper.RandomString(20); BusinessHelper.CreateUserWithContribute( CategoryTestsWithRoleContribute.UserName, CategoryTestsWithRoleContribute.UserPassword); }