def get_login_data(): data = ReadYaml("bainian_data").read_yaml() arr = [] for i in data.values(): arr.append((i.get("username"), i.get("password"), i.get("expect"), i.get("expect_toast"), i.get("message"))) return arr
def get_data(): datas = ReadYaml("search_data").read_yaml() arrs = [] for data in datas.values(): arrs.append(data.get("input_text")) return arrs