private void ConvertWebPassword(Secret secret) { var newSecret = new LionLockWebsitePassword(new SecretServerWebPassword(secret)); CreateWebsitePassword(newSecret); }
private void CreateWebsitePassword(LionLockWebsitePassword newSecret) { _browser.Link(Find.ByText("Website Password")).Click(); _browser.TextField(Find.ById("Items_0__Value")).Value = newSecret.WebsiteAddress; _browser.TextField(Find.ById("Items_1__Value")).Value = newSecret.UserName; _browser.TextField(Find.ById("Items_2__Value")).Value = newSecret.Password; _browser.TextField(Find.ById("Items_3__Value")).Value = newSecret.Notes; }
private void ConvertEmailAccount(Secret secret) { var newSecret = new LionLockWebsitePassword(new SecretServerEmailAccount(secret)); CreateWebsitePassword(newSecret); }