public void ThenTheNewlyAddedBankAccountAppearsOnBankAccountScreen() { string accountName = ScenarioContext.Current.Get <string>("AccountName"); string accountNumber = ScenarioContext.Current.Get <string>("AccountNumber"); Assertion.AssertContains(accountName, accountNumber, BankAccountDetail, StringComparison.OrdinalIgnoreCase); }