예제 #1
0
 private void ConvertWebPassword(Secret secret)
 {
     var newSecret = new LionLockWebsitePassword(new SecretServerWebPassword(secret));
     CreateWebsitePassword(newSecret);
 }
예제 #2
0
 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;
 }
예제 #3
0
 private void ConvertEmailAccount(Secret secret)
 {
     var newSecret = new LionLockWebsitePassword(new SecretServerEmailAccount(secret));
     CreateWebsitePassword(newSecret);
 }