private void CreateLicenseKey(LionLockLicenseKey newSecret) { _browser.Link(Find.ByText("License Key")).Click(); _browser.TextField(Find.ById("Items_0__Value")).Value = newSecret.ProductName; _browser.TextField(Find.ById("Items_1__Value")).Value = newSecret.LicensedTo; _browser.TextField(Find.ById("Items_2__Value")).Value = newSecret.LicenseKey; _browser.TextField(Find.ById("Items_3__Value")).Value = newSecret.Notes; }
private void ConvertKeyFile(Secret secret) { var newSecret = new LionLockLicenseKey(new SecretServerKeyFile(secret)); CreateLicenseKey(newSecret); }
private void ConvertProductLicenceKey(Secret secret) { var newSecret = new LionLockLicenseKey(new SecretServerProductLicenseKey(secret)); CreateLicenseKey(newSecret); }
private void ConvertCertificate(Secret secret) { var newSecret = new LionLockLicenseKey(new SecretServerCertificate(secret)); CreateLicenseKey(newSecret); }