//check the correctness of default value void CheckDefault(RatesFeesLogicHelper helper, ExecutionLog log) { log.Log("RatesFeesLogic", "start checking"); string VisaQual = helper.GetTextContent("ClientVisaQua"); Assert.IsTrue(string.Compare(VisaQual, "2") == 0); log.Log("RatesFeesLogic", "Visa qua passed"); string VisaMid = helper.GetTextContent("ClientVisaMid"); Assert.IsTrue(string.Compare(VisaMid, "3") == 0); log.Log("RatesFeesLogic", "visa mid pass"); string VisaNon = helper.GetTextContent("ClientVisaNon"); Assert.IsTrue(string.Compare(VisaNon, "4") == 0); log.Log("RatesFeesLogic", "visa non pass"); string MasterQual = helper.GetTextContent("ClientMasterQua"); Assert.IsTrue(string.Compare(MasterQual, "5") == 0); log.Log("RatesFeesLogic", "master qua pass"); string MasterMid = helper.GetTextContent("ClientMasterMid"); Assert.IsTrue(string.Compare(MasterMid, "6") == 0); log.Log("RatesFeesLogic", "master mid pass"); string MasterNon = helper.GetTextContent("ClientMasterNon"); Assert.IsTrue(string.Compare(MasterNon, "7") == 0); log.Log("RatesFeesLogic", "mater non pass"); }