public void ThenTheComputerShouldBeAdded(string strAction, string strComputerName) { SearchComputer searchComputer = new SearchComputer(driver); if (strAction.Equals("added")) { searchComputer.SearchForNewComputer(strComputerName, ComputerDataTable); } else { searchComputer.SearchForUpdatedComputer(strComputerName, ComputerDataTable); } }
public void ThenTheComputerShouldBeDeletedWithName(string strComputerName) { SearchComputer searchComputer = new SearchComputer(driver); searchComputer.SearchForNonExistingComputer(strComputerName, ComputerDataTable); }