public void updateProfileBIO()
        {
            Console.WriteLine("_06UpdateProfileBIO");

            string username = "";
            string[] password = null;

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

            //username = oXMLData.getData("settings/credentials", "Artzyusername");
            username = loginHelper.GetFromFile("Registration");

            password = oXMLData.getData("settings/credentials", "Artzypassword");

            //Verify Page title
            verifyTitle("Artzy Login");

            //Login with email address
            Login(username, password[0]);

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

            //Verify Page title
            verifyTitle("Index");

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

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

            //wait for text
            profileHelper.WaitForTextInPage("User Bio", 20);

            //Enter First name
            profileHelper.type("Firstname", "Test Updated");

            //Enter Last name
            profileHelper.type("LastName", "Automation Updated");

            //Enter company
            profileHelper.type("Company", "Testing Updated");

            //Ente job title
            profileHelper.type("JobTitle", "Senior QA");

            //Enter BIO
            profileHelper.typeDescription(0, "This is Updated BIO of the user.");

            profileHelper.ClickElement("JobTitle");

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

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

            //Verify saved first name
            profileHelper.verifyfieldText("Firstname", "Test Updated");

            //Verify saved Last name
            profileHelper.verifyfieldText("LastName", "Automation Updated");

            //Verify Saved company
            profileHelper.verifyfieldText("Company", "Testing Updated");

            //Verify saved job title
            profileHelper.verifyfieldText("JobTitle", "Senior QA");

            //Reset details to deault

            //Enter First name
            profileHelper.type("Firstname", "Test");

            //Enter Last name
            profileHelper.type("LastName", "Automation");

            //Enter company
            profileHelper.type("Company", "Testing");

            //Ente job title
            profileHelper.type("JobTitle", "QA");

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

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

            //Logout from the application
            Logout();

            //Capture screenshot fot the screen
            loginHelper.TakeScreenshot("UpdateProfileBIO - Attendee");
        }
        public void updateProfileAddress()
        {
            Console.WriteLine("_07UpdateProfileAddress");

            string username = "";
            string[] password = null;

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

            //username = oXMLData.getData("settings/credentials", "Artzyusername");
            username = loginHelper.GetFromFile("Registration");

            password = oXMLData.getData("settings/credentials", "Artzypassword");

            //Verify Page title
            verifyTitle("Artzy Login");

            //Login with email address
            Login(username, password[0]);

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

            //Verify Page title
            verifyTitle("Index");

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

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

            //wait for text
            profileHelper.WaitForTextInPage("User Bio", 20);

            //Enter Address1
            profileHelper.type("Address1", "3090 S Jamaica Ct");

            //Enter Address2
            profileHelper.type("Address2", "Suite 313");

            //Enter city
            profileHelper.type("City", "Denver");

            //Enter Zip
            profileHelper.type("Zip", ",80014");

            profileHelper.ClickElement("Zip");

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

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

            //Verify saved Address1
            profileHelper.verifyfieldText("Address1", "3090 S Jamaica Ct");

            //Verify saved Address2
            profileHelper.verifyfieldText("Address2", "Suite 313");

            //Verify saved City
            profileHelper.verifyfieldText("City", "Denver");

            //Verify Saved Zip
            profileHelper.verifyfieldText("Zip", ",80014");

            //Reset details to deault

            //Enter Address1
            profileHelper.type("Address1", "");

            //Enter Address2
            profileHelper.type("Address2", "");

            //Enter City
            profileHelper.type("City", "");

            //Ente Zip
            profileHelper.type("Zip", ",");

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

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

            //Logout from the application
            Logout();

            //Capture screenshot fot the screen
            loginHelper.TakeScreenshot("UpdateProfileAddress - Attendee");
        }
        public void updateProfileEmail()
        {
            Console.WriteLine("_08UpdateProfileEmail");

            string username = "";
            string[] password = null;

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

            //username = oXMLData.getData("settings/credentials", "Artzyusername");
            username = loginHelper.GetFromFile("Registration");

            password = oXMLData.getData("settings/credentials", "Artzypassword");

            //Verify Page title
            verifyTitle("Artzy Login");

            //Login with email address
            Login(username, password[0]);

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

            //Verify Page title
            verifyTitle("Index");

            //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");

            //Accept alert
            profileHelper.acceptAlert();

            //Wait for text
            profileHelper.WaitForTextInPage("Selected Email Address has been deleted successfully.", 30);

            //Logout from the application
            Logout();

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