def test_28_saleDetails_edit(self): u"""edit SaleDetails""" multiTractSaleIndicator = dbConnect().getdata( *(excelHandle(filepath, sheetName).read_excel("multiTractSaleIndicator"))) reservationEasement = dbConnect().getdata( *(excelHandle(filepath, sheetName).read_excel("reservationEasement"))) LandCommonPage(self.driver).list_operation("Land Details","Sale Details", "Edit", "1","") self.assertTrue(LandDetailPage(self.driver).SaleDetails(multiTractSaleIndicator,reservationEasement))
def test_32_utilities_edit(self): u"""edit utilities""" utilityType = dbConnect().getdata( *(excelHandle(filepath, sheetName).read_excel("utilityType"))) LandCommonPage(self.driver).summary_operation("Land Details", "Utilities", "Edit", "1", "") self.assertTrue(LandDetailPage(self.driver).utilities(utilityType))
def test_21_encumbrance_edit(self): u"""edit encumbrance""" encumbranceClass = dbConnect().getdata( *(excelHandle(filepath, sheetName).read_excel("encumbranceClass"))) LandCommonPage(self.driver).summary_operation("Land Details", "Encumbrances", "Edit", "1", "") self.assertTrue( LandDetailPage(self.driver).encumbrance(encumbranceClass))
def test_26_surroundingUse_edit(self): u"""edit surroundingUse""" surroundingUseClass = dbConnect().getdata(*(excelHandle( filepath, sheetName).read_excel("surroundingUseClass"))) LandCommonPage(self.driver).summary_operation("Land Details", "Surrounding Use", "Edit", "1", "") self.assertTrue( LandDetailPage(self.driver).surroundingUse(surroundingUseClass))
def test_25_saleDetails_new(self): u"""new SaleDetails""" LandCommonPage(self.driver).switch_tab("Land Details","Sale") multiTractSaleIndicator = dbConnect().getdata( *(excelHandle(filepath, sheetName).read_excel("multiTractSaleIndicator"))) reservationEasement = dbConnect().getdata( *(excelHandle(filepath, sheetName).read_excel("reservationEasement"))) LandCommonPage(self.driver).list_operation("Land Details","Sale Details", "New", "","") self.assertTrue(LandDetailPage(self.driver).SaleDetails(multiTractSaleIndicator,reservationEasement))
def test_16_improvement_edit(self): u"""edit improvement""" improvementType = dbConnect().getdata( *(excelHandle(filepath, sheetName).read_excel("improvementType"))) LandCommonPage(self.driver).summary_operation("Land Details", "Improvements", "Edit", "1", "") self.assertTrue( LandDetailPage(self.driver).improvement(improvementType))
def test_07_dispositionPlan_new(self): u"""New dispositionPlan""" dispositionAttribute = dbConnect().getdata(*(excelHandle( filepath, sheetName).read_excel("dispositionAttribute"))) LandCommonPage(self.driver).summary_operation( "Land Details", "Disposition Attributes", "New", "", "") self.assertTrue( LandDetailPage(self.driver).dispositionPlan( 1, dispositionAttribute))
def test_03_location(self): u"""New/Edit Location""" legalAccessIndicator = dbConnect().getdata(*(excelHandle( filepath, sheetName).read_excel("legalAccessIndicator"))) withinCityIndicator = dbConnect().getdata(*(excelHandle( filepath, sheetName).read_excel("withinCityIndicator"))) LandCommonPage(self.driver).summary_operation("Land Details", "Location", "Edit", "", "") self.assertTrue( LandDetailPage(self.driver).location(legalAccessIndicator, withinCityIndicator))
def test_01_countySeat(self): u"""New/Edit CountySeat""" LandCommonPage(self.driver).switch_tab("Land Details", "Location") directionFromCountySeat = dbConnect().getdata(*(excelHandle( filepath, sheetName).read_excel("directionFromCountySeat"))) deviationFromCountySeat = dbConnect().getdata(*(excelHandle( filepath, sheetName).read_excel("deviationFromCountySeat"))) LandCommonPage(self.driver).summary_operation( "Land Details", "Location From County Seat", "Edit", "", "") self.assertTrue( LandDetailPage(self.driver).locationCountySeat( directionFromCountySeat, deviationFromCountySeat))
def test_05_characteristic(self): u"""New/Edit characteristic""" LandCommonPage(self.driver).switch_tab("Land Details", "Characteristics") improvementsIndicator = dbConnect().getdata(*(excelHandle( filepath, sheetName).read_excel("improvementsIndicator"))) utilitiesAvailableIndicator = dbConnect().getdata(*(excelHandle( filepath, sheetName).read_excel("utilitiesAvailableIndicator"))) LandCommonPage(self.driver).summary_operation("Land Details", "Characteristics", "Edit", "", "") self.assertTrue( LandDetailPage(self.driver).characteristics( improvementsIndicator, utilitiesAvailableIndicator))
def test_14_utilization_new(self): u"""new Utilization""" utilizationClass = dbConnect().getdata(*(excelHandle(filepath, sheetName).read_excel("utilizationClass"))) utilizationType = dbConnect().getdata(*(excelHandle(filepath, sheetName).read_excel("utilizationType"))) self.assertTrue(LandDetailPage(self.driver).utilization(utilizationClass,utilizationType))
def test_23_comments_edit(self): u"""edit Comments""" commentClass = dbConnect().getdata(*(excelHandle(filepath, sheetName).read_excel("commentClass"))) LandCommonPage(self.driver).list_operation("Land Details","Comments", "Edit", "1","") self.assertTrue(LandDetailPage(self.driver).comments(commentClass))
def test_29_utilities_new(self): u"""New utilities""" utilityType = dbConnect().getdata( *(excelHandle(filepath, sheetName).read_excel("utilityType"))) self.assertTrue(LandDetailPage(self.driver).utilities(utilityType))
def test_02_interest_new(self): u"""new Interest""" interestClass = dbConnect().getdata(*(excelHandle(filepath,sheetName).read_excel("interestClass"))) interestStatus = dbConnect().getdata(*(excelHandle(filepath,sheetName).read_excel("interestStatus"))) self.assertTrue(LandDetailPage(self.driver).interest(interestClass,interestStatus))
def test_05_interest_edit(self): u"""edit Interest""" interestClass = dbConnect().getdata(*(excelHandle(filepath, sheetName).read_excel("interestClass"))) interestStatus = dbConnect().getdata(*(excelHandle(filepath, sheetName).read_excel("interestStatus"))) LandCommonPage(self.driver).list_operation("Land Details","Interest (Reservations)", "Edit", "1","") self.assertTrue(LandDetailPage(self.driver).interest(interestClass,interestStatus))
def test_08_county_new(self): u"""new County""" county = dbConnect().getdata(*(excelHandle(filepath, sheetName).read_excel("county"))) state = dbConnect().getdata(*(excelHandle(filepath, sheetName).read_excel("state"))) self.assertTrue(LandDetailPage(self.driver).counties(county,state))
def test_20_comments_new(self): u"""new Comments""" commentClass = dbConnect().getdata(*(excelHandle(filepath, sheetName).read_excel("commentClass"))) self.assertTrue(LandDetailPage(self.driver).comments(commentClass))
def test_11_county_edit(self): u"""edit County""" county = dbConnect().getdata(*(excelHandle(filepath, sheetName).read_excel("county"))) state = dbConnect().getdata(*(excelHandle(filepath, sheetName).read_excel("state"))) LandCommonPage(self.driver).list_operation("Land Details","Counties", "Edit", "1","") self.assertTrue(LandDetailPage(self.driver).counties(county,state))
def test_13_improvement_new(self): u"""New improvement""" improvementType = dbConnect().getdata( *(excelHandle(filepath, sheetName).read_excel("improvementType"))) self.assertTrue( LandDetailPage(self.driver).improvement(improvementType))
def test_17_utilization_edit(self): u"""edit Utilization""" utilizationClass = dbConnect().getdata(*(excelHandle(filepath, sheetName).read_excel("utilizationClass"))) utilizationType = dbConnect().getdata(*(excelHandle(filepath, sheetName).read_excel("utilizationType"))) LandCommonPage(self.driver).list_operation("Land Details","Land Utilization", "Edit", "1","") self.assertTrue(LandDetailPage(self.driver).utilization(utilizationClass,utilizationType))