예제 #1
0
 def test_check_district_names(self):
     print("check with districtwise drop down")
     b = District_names(self.driver)
     result = b.test_districtlist()
     self.assertNotEqual(
         0, result, msg="All Districts are not present in select box!..")
     self.data.page_loading(self.driver)
예제 #2
0
 def test_check_district_names(self):
     self.tests.pop()
     self.logger.info("test_check_district_names" + " " + "Total :" + " " + str(
         self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))
     print("check with districtwise drop down")
     b = District_names(self.driver)
     result = b.test_districtlist()
     self.assertNotEqual(0, result, msg="All Districts are not present in select box!..")
     self.data.page_loading(self.driver)
     self.logger.info("test_check_district_names is completed...")
예제 #3
0
 def test_check_district_names(self):
     self.tests.pop()
     self.logger.info("test_check_district_names" + " " + "Total :" + " " +
                      str(self.total_tests) + " " + "Remaining :" + " " +
                      str(len(self.tests) - 1))
     b = District_names(self.driver)
     result = b.test_districtlist()
     self.assertNotEqual(
         0, result, msg="All Districts are not present in select box!..")
     print("Checked with district select box contains options or not")
     self.logger.info("test_check_district_names is completed...")
 def test_check_district_names(self):
     b = District_names(self.driver)
     result = b.test_districtlist()
     self.assertNotEqual(
         0, result, msg="All Districts are not present in select box!..")
     print("Checked with district select box contains options or not")
예제 #5
0
 def test_check_district_names(self):
     b = District_names(self.driver)
     result = b.test_districtlist()
     self.assertNotEqual(
         0, result, msg="All Districts are not present in select box!..")
     print("District names order checked")