private void CommonFloodFillTest() { lock (_commonObject) { // Initialise string firstSalutationName; string lastSalutationName; string firstAddresseeName; string lastAddresseeName; //Arrange var dataPackage = GetDataPackage("BU_APP_PSA_T1", out firstSalutationName, out lastSalutationName, out firstAddresseeName, out lastAddresseeName); using (new DataSetup(purgeBeforeInsert: false, purgeAfterTest: false, packages: dataPackage)) { NavigateToBulkUpdateApplicantParentalSalutationDetailScreen(); //Act ParentalSalutationAndAddresseeDetail.DeleteParentalSalutationColumnValues(); ParentalSalutationAndAddresseeDetail.ExecuteJavaScriptToBulkSelectParentalSalutation(); ParentalSalutationAndAddresseeDetail.FloodFillSalutationColumnWithOverride(); //Assert var cells = ParentalSalutationAndAddresseeDetail.GetCellText(DefaultSalutationColumn); Assert.AreEqual(cells[0], firstSalutationName); Assert.AreEqual(cells[1], lastSalutationName); IWebElement IsDirtyIndicator = SeleniumHelper.Get(ParentalSalutationAndAddresseeDetail.IsDirtyIndicator); Assert.IsTrue(IsDirtyIndicator.Displayed, "Page Dirty Indicator"); } } }