public void organizationSetup()
        {
            Console.WriteLine("_02OrganizationSetup");

            String orgname = "ORG"+AlwaysRandom();

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

            XMLParse oXMLData = new XMLParse();
            oXMLData.LoadXML("../../Config/ApplicationSetting.xml");
            ArtzyLoginHelper loginHelper = new ArtzyLoginHelper(GetWebDriver());
            registerHelper = new RegisterHelper(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("Organization Info");

            //Enter organization name
            registerHelper.type("OrgName", orgname);

            //Enter URL:
            registerHelper.type("URL", orgname);

            //Enter Email:
            registerHelper.type("OrgEmail", username);

            //Click on 'Save' button.
            registerHelper.ClickElement("SaveOrg");

            //wait for text
            registerHelper.WaitForTextInPage("Organization info saved successfully", 30);

            //Verify saved organozation name.
            registerHelper.verifyFieldText("OrgName", orgname);

            //Verify saved URL
            registerHelper.verifyFieldText("URL", orgname);

            //Logout from the application
            Logout();

            //Capture screenshot fot the screen
            registerHelper.TakeScreenshot("OrganizationSetup - Artzy");
        }
        public void updateOrgInfo()
        {
            Console.WriteLine("_23UpdateOrgInfo");

            String email = "aman" + AlwaysRandom() + "@yopmail.com";
            String orgname = "ORG" + AlwaysRandom();

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

            XMLParse oXMLData = new XMLParse();
            oXMLData.LoadXML("../../Config/ApplicationSetting.xml");
            ArtzyLoginHelper loginHelper = new ArtzyLoginHelper(GetWebDriver());
            RegisterHelper registerHelper = new RegisterHelper(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");

            //Scroll to element
            registerHelper.scrollToElement("Settings");

            //Click on Setting dropdown.
            registerHelper.ClickElement("Settings");

            //Scroll to element
            registerHelper.scrollToElement("Orginfo");

            //Click on org infor tab
            registerHelper.ClickElement("Orginfo");

            //Wait for text
            registerHelper.WaitForTextInPage("Email", 20);

            //Update organization name
            registerHelper.type("OrgName", orgname);

            //Update URL:
            registerHelper.type("URL", orgname);

            //Update Email:
            registerHelper.type("OrgEmail", orgname + "@yopmail.com");

            //Click on 'Save' button.
            registerHelper.ClickElement("SaveOrg");

            //wait for text
            registerHelper.WaitForTextInPage("Organization info saved successfully", 30);

            //Verify updated organozation name.
            registerHelper.verifyFieldText("OrgName", orgname);

            //Verify updated URL
            registerHelper.verifyFieldText("URL", orgname);

            //Verify updated email
            registerHelper.verifyFieldText("OrgEmail", orgname + "@yopmail.com");

            //Logout from the application
            Logout();

            //Capture screenshot fot the screen
            registerHelper.TakeScreenshot("UpdateOrgInfo - Artzy");
        }