public void UpdateUserNamePassword_PreviouslyConfiguredFeed(string UpdateUsername, string UpdatePassword, string WhatToupdate)
        {
            if (UpdateUsername == "" || UpdatePassword == "")
            {
                UpdateConnection_Flag = false;
            }

            Updated_Username       = UpdateUsername;
            Updated_Password       = UpdatePassword;
            TxtConfigured_Username = Configured_UserName.GetAttribute("value");
            TxtConfigured_Paswd    = Configured_Password.GetAttribute("value");
            //Retrive the ID of UserName from DB
            ID_ConfiguredUsername = ServiceProviderDataId_UserName(TxtConfigured_Username);
            // Enter updated username and Password
            if (WhatToupdate == "username" || WhatToupdate == "any")
            {
                Configured_UserName.EnterText(UpdateUsername);
                Assert.AreEqual(true, UpdateUsername == Configured_UserName.GetAttribute("value"), "Username updated");
                if (WhatToupdate != "any")
                {
                    Updated_Password = TxtConfigured_Paswd;
                }
            }
            if (WhatToupdate == "password" || WhatToupdate == "any")
            {
                Configured_Password.EnterText(UpdatePassword);
                Assert.AreEqual(true, UpdatePassword == Configured_Password.GetAttribute("value"), "Password updated");
                string a = Configured_Password.GetAttribute("value");
                if (WhatToupdate != "any")
                {
                    Updated_Username = TxtConfigured_Username;
                }
            }
        }
        public void ModifyUserNamePassword_PreviouslyConfiguredFeed(string ModifyUsername, string ModifyPassword)
        {
            Retrived_RightPane_ConfiguredValue();
            Username_BeforeDiscard = TxtConfigured_Username;
            Password_BeforeDiscard = TxtConfigured_Paswd;
            URL_BeforeDiscard      = TxtConfigured_Url;
            // Enter New modified username and  Password
            Configured_UserName.EnterText(ModifyUsername);
            Configured_Password.EnterText(ModifyPassword);

            Assert.AreEqual(true, ModifyUsername == Configured_UserName.GetAttribute("value"), "Username modified");
            Assert.AreEqual(true, ModifyPassword == Configured_Password.GetAttribute("value"), "Password modified");
        }
        public void Retrived_RightPane_ConfiguredValue()
        {
            if (count == 0)
            {
                //Configured_UserName.HighLightElement();
                TxtConfigured_Username = Configured_UserName.GetAttribute("value");
                TxtConfigured_Paswd    = Configured_Password.GetAttribute("value");
                TxtConfigured_Url      = Configured_URL.GetText();

                TxtConfigured_OptionalName          = Txt_OptionalName.GetText();
                TxtConfigured_Provider_OptionalName = Txt_ContainTitle.GetText();
            }
            else
            {
                string Uname_Xpath = "(//label[text()='Username: '******'Password: '******'URL: ']//following::label[1])" + "[" + count + "]";

                TxtConfigured_Username = BrowserFactory.Driver.FindElement(By.XPath(Uname_Xpath)).GetAttribute("value");
                TxtConfigured_Paswd    = BrowserFactory.Driver.FindElement(By.XPath(Paswd_Xpath)).GetAttribute("value");
                TxtConfigured_Url      = BrowserFactory.Driver.FindElement(By.XPath(Url_Xpath)).GetText();
            }
        }