Exemplo n.º 1
0
 def test_add_additional_coverages(self):
     driver = self.driver
     driver.get(utils.url)
     Hdfchome = hdfchomepage(driver)
     Hdfchome.selecting_homeinsurance()
     Home_insur = home_insurance_homepage(driver)
     Home_insur.Click_on_Buy_Now()
     driver.switch_to.window(driver.window_handles[1])
     coverpage = home_insurance_coverage(driver)
     coverpage.Selection_type()
     coverpage.Selcetion_struct_type()
     coverpage.Click_On_Continue()
     Struct_Content = Struct_Content_Details(driver)
     time.sleep(5)
     Struct_Content.Select_Valuation(utils.value)
     Struct_Content.Builtup_Area(utils.area)
     Struct_Content.Select_AgeofProp_PropType()
     Struct_Content.Select_Security_Measures()
     Struct_Content.Click_Next_Button()
     Struct_Content.Entering_Basic_Details(utils.name, utils.email,
                                           utils.mobile)
     time.sleep(4)
     CustomizeQuote = Customize_Quote(driver)
     CustomizeQuote.Select_Additonal_Coverage(utils.bicycle_coverage)
     CustomizeQuote.Select_Quote()
Exemplo n.º 2
0
 def test_add_fianacier(self):
     driver = self.driver
     driver.get(utils.url)
     Hdfchome = hdfchomepage(driver)
     Hdfchome.selecting_homeinsurance()
     Home_insur = home_insurance_homepage(driver)
     Home_insur.Click_on_Buy_Now()
     driver.switch_to.window(driver.window_handles[1])
     coverpage = home_insurance_coverage(driver)
     coverpage.Selection_type()
     coverpage.Selcetion_struct_type()
     coverpage.Click_On_Continue()
     Struct_Content = Struct_Content_Details(driver)
     time.sleep(5)
     Struct_Content.Select_Valuation(utils.value)
     Struct_Content.Builtup_Area(utils.area)
     Struct_Content.Select_AgeofProp_PropType()
     Struct_Content.Select_Security_Measures()
     Struct_Content.Click_Next_Button()
     Struct_Content.Entering_Basic_Details(utils.name, utils.email,
                                           utils.mobile)
     time.sleep(4)
     CustomizeQuote = Customize_Quote(driver)
     time.sleep(5)
     # CustomizeQuote.Select_Additonal_Coverage(utils.bicycle_coverage)
     CustomizeQuote.Select_Quote()
     filldetails = Fill_Details(driver)
     time.sleep(3)
     filldetails.Select_Coowner(utils.coowner)
     filldetails.Select_Address(utils.dob, utils.pincode, utils.h_no,
                                utils.street)
     filldetails.Select_Correspondance_Address(utils.cpincode, utils.chno,
                                               utils.cstreet)
     filldetails.Select_fiancier(utils.financier)
     filldetails.Select_Next_Button()
Exemplo n.º 3
0
 def test_tenant_quote_content(self):
     driver = self.driver
     driver.get(utils.url)
     Hdfchome = hdfchomepage(driver)
     Hdfchome.selecting_homeinsurance()
     Home_insur = home_insurance_homepage(driver)
     Home_insur.Click_on_Buy_Now()
     driver.switch_to.window(driver.window_handles[1])
     coverpage = home_insurance_coverage(driver)
     coverpage.Selection_Tenant()
     #coverpage.Selcetion_struct_type()
     coverpage.Click_On_Continue()
     Struct_Content = Struct_Content_Details(driver)
     time.sleep(5)
     Struct_Content.Select_Tenanat_Valuation(utils.value)
     #Struct_Content.Builtup_Area(utils.area)
     #Struct_Content.Select_AgeofProp_PropType()
     #Struct_Content.Select_Security_Measures()
     Struct_Content.Click_Next_Button_Tenant()
     Struct_Content.Entering_Basic_Details(utils.name, utils.email,
                                           utils.mobile)