public void WhenIUpdateMyAccountTo(string value) { _driver.Url = test_url + "/index.php?controller=identity"; PDPage pdPage = new PDPage(_driver); var tester = this.config.Get("Customer"); pdPage.UpdateFirstNameOnly(value, tester[1]); }
public void GivenMyAccountIs(string value) { _driver.Url = test_url + "/index.php?controller=identity"; PDPage pdPage = new PDPage(_driver); var tester = this.config.Get("Customer"); pdPage.UpdateFirstNameOnly(value, tester[1]); _driver.Url = test_url + "/index.php?controller=identity"; var actual = pdPage.GetFirstName(); if (actual != value) { throw new Exception("Precondtion Error: Unable to set firstname default"); } }