Exemple #1
0
 public void Edit_Family_Code()
 {
     ManageFamilyCode.SelectClient();
     ManageFamilyCode.GoToManageFamilyCode();
     Assert.IsTrue(ManageFamilyCode.IsManageFamilyCode, "Failed to Manage Family Code");
     ManageFamilyCode.NumberFamilyCode();
 }
Exemple #2
0
 public void Add_New_Family_Code()
 {
     ManageFamilyCode.SelectClient();
     ManageFamilyCode.GoToManageFamilyCode();
     Assert.IsTrue(ManageFamilyCode.IsManageFamilyCode, "Failed to Manage Family Code");
     ManageFamilyCode.AddNewFamilyCode();
     Assert.IsTrue(ManageFamilyCode.IsAddNewFamilyCode, "Failed to IsAddNewFamilyCode");
     ManageFamilyCode.SelectGS1Prefix();
     Assert.IsTrue(ManageFamilyCode.IsSelectGSIPrefix(), "Failed to IsSelectGSIPrefix");
     Assert.IsFalse(ManageFamilyCode.IsGs1PrefixDescription(), "Failed to IsGs1PrefixDescription");
     ManageFamilyCode.FamilyCode("009");
     Assert.IsTrue(ManageFamilyCode.IsFamilyCode("009"), "Failed to IsFamilyCode");
     ManageFamilyCode.Description("test");
     Assert.IsTrue(ManageFamilyCode.IsDescription(), "Failed to description");
     ManageFamilyCode.ButtonOk();
     //Assert.IsFalse(ManageFamilyCode.DisabledButtonOk(), "Family code is repeate");
 }