private ValidationData MainTestMethod(BeazleyUIDataModel data)
        {
            SetUpChromeInstance();
            ValidationData validationData = new ValidationData();
            JsonHelper     jsonHelper     = new JsonHelper();
            Billing        billing        = null;

            try
            {
                var loginPage       = new LoginPage();
                var homePage        = loginPage.Login(data.Product);
                var policySelection = homePage.SearchPolicy(jsonHelper.GetPolicyReference(data), jsonHelper.GetValueDataFromBeazleyDictionary(data, HelperConstants.InsuredName));
                var policySummary   = policySelection.SelectPolicy(jsonHelper.GetValueDataFromBeazleyDictionary(data, HelperConstants.RowNumberToCheck));

                if (jsonHelper.GetValueDataFromBeazleyDictionary(data, HelperConstants.IsBrexit).Equals("True"))
                {
                    validationData = policySummary.AssertDates(data, validationData);
                    var interestPage = policySummary.GoToInterestPage(validationData);
                    validationData = interestPage.AssertInterestPageValues(data);
                }
                else
                {
                    validationData = policySummary.AssertPremiumValues(data, validationData);
                    billing        = policySummary.GoToBillingPage(validationData);
                    validationData = billing.AssertPremiumValues(data);
                }

                if (data.Product.Contains("Marine") && jsonHelper
                    .GetValueDataFromBeazleyDictionary(data, HelperConstants.TestType).Equals("Renewal"))
                {
                    var rateChange = billing.GoToRateRateChange(validationData);
                    validationData = rateChange.AssertRateChangeValues(data);
                }
            }
            catch (Exception ex)
            {
                validationData.PolicyReference += $" / Test: {jsonHelper.GetValueDataFromBeazleyDictionary(data, HelperConstants.TestName)} failed.";
            }

            return(validationData);
        }