public void createProcessor()
        {
            //   string[] username = null;
            //     string[] password = null;

            var oXMLData = new XMLParse();
            oXMLData.LoadXML("../../Config/ApplicationSettings.xml");

            //   username = oXMLData.getData("settings/Credentials", "username");
            //    password = oXMLData.getData("settings/Credentials", "password");

            //Initializing the objects
            var loginHelper = new LoginHelper(GetWebDriver());
            var clientHelper = new ClientsHelper(GetWebDriver());
            var createProcessorHelper = new CreateProcessorHelper(GetWebDriver());

            //Variable
            var name = "Test" + GetRandomNumber();
            var Test = "New" + GetRandomNumber();

            //Login with valid credential  Username
            createProcessorHelper.TypeText("EnterUsername", "selcorp");

            //Login with valid credential password
            createProcessorHelper.TypeText("EnterPassword", "seWelcome2");

            //Click On Login Button
            createProcessorHelper.ClickElement("ClickOnLoginButtojn");

            //Verify Page title
            VerifyTitle("Dashboard");
            Console.WriteLine("Redirected at Dashboard screen.");

            //Click on Residual Income tab
            createProcessorHelper.ClickElement("ClickMasterTab");

            //Click to Import
            createProcessorHelper.redirectToPage();

            //Click On Create
            createProcessorHelper.ClickElement("ClickOnCreate");

            //Click On Save Btn
            createProcessorHelper.ClickElement("ClickOnSaveBtn");
            createProcessorHelper.WaitForWorkAround(3000);

            //Enter Processor name
            createProcessorHelper.TypeText("ProcessorName", name);

            //Enter ProcessorCode
            createProcessorHelper.TypeText("ProcessorCode", Test);

            //Click On Save Btn
            createProcessorHelper.ClickElement("ClickOnSaveBtn");
            createProcessorHelper.WaitForWorkAround(3000);

            //Verify text present
            createProcessorHelper.VerifyPageText("The processor is successfully created!!");
            createProcessorHelper.WaitForWorkAround(3000);
        }
        public void processorPuchToOffice()
        {
            //   string[] username = null;
            //     string[] password = null;

            var oXMLData = new XMLParse();
            oXMLData.LoadXML("../../Config/ApplicationSettings.xml");

            //   username = oXMLData.getData("settings/Credentials", "username");
            //    password = oXMLData.getData("settings/Credentials", "password");

            //Initializing the objects
            var loginHelper = new LoginHelper(GetWebDriver());
            var clientHelper = new ClientsHelper(GetWebDriver());
            var createProcessorHelper = new CreateProcessorHelper(GetWebDriver());

            //Variable
            var name = "Test" + GetRandomNumber();
            var Test = "New" + GetRandomNumber();

            //Login with valid credential  Username
            createProcessorHelper.TypeText("EnterUsername", "selcorp");

            //Login with valid credential password
            createProcessorHelper.TypeText("EnterPassword", "seWelcome2");

            //Click On Login Button
            createProcessorHelper.ClickElement("ClickOnLoginButtojn");

            //Verify Page title
            VerifyTitle("Dashboard");
            Console.WriteLine("Redirected at Dashboard screen.");

            //Click on Residual Income tab
            createProcessorHelper.ClickElement("ClickMasterTab");

            //Click to Import
            createProcessorHelper.redirectToPage();

            //Click On Create
            createProcessorHelper.ClickElement("ClickOnCreate");

            //Enter Processor name
            createProcessorHelper.TypeText("ProcessorName", name);

            //Enter ProcessorCode
            createProcessorHelper.TypeText("ProcessorCode", Test);

            //Click On Save Btn
            createProcessorHelper.ClickElement("ClickOnSaveBtn");
            createProcessorHelper.WaitForWorkAround(3000);

            //Verify text present
            createProcessorHelper.VerifyPageText("The processor is successfully created!!");
            createProcessorHelper.WaitForWorkAround(3000);

            //Click On Push Office
            createProcessorHelper.ClickElement("ClickOnPushOffice");

            createProcessorHelper.AcceptAlert();

            createProcessorHelper.WaitForWorkAround(5000);

            //################  LOGOUT ######################3
            //Mover HoverWelcome
            createProcessorHelper.MouseHover("WelcomeMoveHover");

            // Logout button
            createProcessorHelper.ClickElement("ClickOnWelcomeBack");
            createProcessorHelper.WaitForWorkAround(4000);

            //################### OFFICE SIDE

            //Login with valid credential  Username
            createProcessorHelper.TypeText("EnterUsernameOff", "AslamKhan");

            //Login with valid credential password
            createProcessorHelper.TypeText("EnterPasswordOff", "1qaz!QAZ");

            //Click On Login Button
            createProcessorHelper.ClickElement("ClickOnLoginButtojn");

            //Mover HoverWelcome
            createProcessorHelper.MouseHover("WelcomeMoveHover");

            // Click ON Admin
            createProcessorHelper.ClickElement("ClickOnAdmin");
            createProcessorHelper.WaitForWorkAround(4000);

            //Click On Mater
            createProcessorHelper.ClickElement("ClickOnMaterOff");

            //Redirect to Procesosr
            createProcessorHelper.redirectToPayout();
        }