public void SearchCatalogs(Region region, string profileName, string identityName) { SelectOption(SelectRegionSpan, region.ConvertToString().ToUpper()); SelectOption(SelectCustomerNameSpan, profileName.ToUpper()); SelectOption(SelectIdentityNameSpan, identityName.ToUpper()); SearchRecordsLink.Click(); CatalogsTable.WaitForElementVisible(TimeSpan.FromSeconds(30)); }
public void SearchInventoryRecords(Region region, string profileName = "", string identityName = "") { InventoryCheckbox.Click(); SelectOption(SelectRegionSpan, region.ConvertToString().ToUpper()); if (!string.IsNullOrEmpty(profileName)) { SelectOption(SelectCustomerNameSpan, profileName.ToUpper()); } if (!string.IsNullOrEmpty(identityName)) { SelectOption(SelectIdentityNameSpan, identityName.ToUpper()); } SearchRecordsLink.Click(); CatalogsTable.WaitForElementVisible(TimeSpan.FromSeconds(30)); }