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

            XMLParse oXMLData = new XMLParse();
            oXMLData.LoadXML("../../Config/ApplicationSetting.xml");
            loginHelper = new AttendeeLoginHelper(GetWebDriver());
            profileHelper = new ProfileHelper(GetWebDriver());

            username = oXMLData.getData("settings/credentials", "AttendeeUsername");
            password = oXMLData.getData("settings/credentials", "AttendeePassword");

            //Verify Page title
            verifyTitle("Attendee.Events - Log in");

            //Login with email address
            Login(username[0], password[0]);
            Console.WriteLine("Logged in as: " + username[0] + " / " + password[0]);

            //Click on sigin button
            loginHelper.ClickElement("Signin");

            //Verify Page title
            verifyTitle("Event List");

            //Click on user-id
            loginHelper.ClickElement("ClickId");

            //Click on my Profile
            profileHelper.ClickElement("MyProfile");

            //Click on Add new email button.
            profileHelper.performClick("AddEmail");

            //Click on Save button without entering email
            profileHelper.performClick("SaveEmail");

            //Verif vaidation message.
            profileHelper.WaitForTextInPage("There are missing email addresses. If you want to remove an email address click the delete button",20);

            //Enter Email
            profileHelper.typeInLastElement("EmailInput", "*****@*****.**");

            //Click on Save button
            profileHelper.performClick("SaveEmail");

            //Wait for text
            profileHelper.WaitForTextInPage("Your Emails(s) has successfully been saved", 20);

            //Reset details to deault

            //Delete phone number
            profileHelper.clickLastElement("DeleteEmail");

            //Click on Save button
            profileHelper.performClick("SaveEmail");

            //Wait for text
            profileHelper.WaitForTextInPage("Your Emails(s) has successfully been saved", 20);

            //Logout from the application
            Logout();

            //Capture screenshot fot the screen
            loginHelper.TakeScreenshot("UpdateProfileEmail - Attendee");
        }
        public void updateProfilePhone()
        {
            string[] username = null;
            string[] password = null;

            XMLParse oXMLData = new XMLParse();
            oXMLData.LoadXML("../../Config/ApplicationSetting.xml");
            loginHelper = new AttendeeLoginHelper(GetWebDriver());
            profileHelper = new ProfileHelper(GetWebDriver());

            username = oXMLData.getData("settings/credentials", "AttendeeUsername");
            password = oXMLData.getData("settings/credentials", "AttendeePassword");

            //Verify Page title
            verifyTitle("Attendee.Events - Log in");

            //Login with email address
            Login(username[0], password[0]);
            Console.WriteLine("Logged in as: " + username[0] + " / " + password[0]);

            //Click on sigin button
            loginHelper.ClickElement("Signin");

            //wait for text
            loginHelper.WaitForTextInPage("My Event List", 60);

            //Verify Page title
            verifyTitle("Event List");

            //Click on user-id
            loginHelper.ClickElement("ClickId");

            //Click on my Profile
            profileHelper.ClickElement("MyProfile");

            //Click on Add new Phone button.
            profileHelper.performClick("AddPhone");

            //Enter phone number
            profileHelper.typeInLastElement("PhoneNumber", "1234567890");

            //Enter Phone Ext
            profileHelper.typeInLastElement("PhoneExt", "911");

            //Click on Save button
            profileHelper.performClick("SavePhone");

            //Wait for text
            profileHelper.WaitForTextInPage("Your phone Number(s) has successfully been saved", 20);

            //Reset details to deault

            //Delete phone number
            profileHelper.clickLastElement("DeletePhone");

            //Click on Save button
            profileHelper.performClick("SavePhone");

            //Wait for text
            profileHelper.WaitForTextInPage("Your phone Number(s) has successfully been saved", 20);

            //Logout from the application
            Logout();

            //Capture screenshot fot the screen
            loginHelper.TakeScreenshot("UpdateProfilePhone - Attendee");
        }