コード例 #1
0
ファイル: test_pricing.py プロジェクト: imarajith/CallHub
 def test_PageTitle(self,setup):
     self.driver = setup
     Commons.get_url(self.driver)
     act_title=self.driver.title
     if act_title==ReadConfig.getPageTile():
         self.driver.close()
         assert True
     else:
         self.driver.close()
         assert False
コード例 #2
0
ファイル: test_yearly.py プロジェクト: imarajith/CallHub
 def test_yearly_enterprise(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickYearlyPlan()
     Commons.moveToPricingTable(self.driver)
     actual = pricingPage.get_custompricing()
     expected = pricing.SubscriptionPricing["Yearly"]["Enterprise"]
     Commons.assertValues(actual, expected, self.driver)
コード例 #3
0
ファイル: test_yearly.py プロジェクト: imarajith/CallHub
 def test_yearly_payasugo_amount(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickYearlyPlan()
     Commons.moveToPricingTable(self.driver)
     actualAmount = pricingPage.get_payasugo_amount()
     expectedAmount = pricing.SubscriptionPricing["Yearly"]["Pay as you go"]["price"]
     Commons.assertValues(actualAmount, expectedAmount, self.driver)
コード例 #4
0
ファイル: test_yearly.py プロジェクト: imarajith/CallHub
 def test_yearly_premium_billedamount(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickYearlyPlan()
     Commons.moveToPricingTable(self.driver)
     actualBilledAmount = pricingPage.get_premium_billedamount()
     expectedBilledAmount = pricing.SubscriptionPricing["Yearly"]["Premium"]["BilledAmount"]["price"]
     Commons.assertValues(actualBilledAmount, expectedBilledAmount, self.driver)
コード例 #5
0
ファイル: test_halfyearly.py プロジェクト: imarajith/CallHub
 def test_halfyearly_business_amount(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickHalfYearlyPlan()
     Commons.moveToPricingTable(self.driver)
     actualAmount = pricingPage.get_business_amount()
     expectedAmount = pricing.SubscriptionPricing["Half Yearly"][
         "Business"]["MonthAmount"]["price"]
     Commons.assertValues(actualAmount, expectedAmount, self.driver)
コード例 #6
0
ファイル: test_quaterly.py プロジェクト: imarajith/CallHub
 def test_quaterly_premium_amount(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickQuaterlyPlan()
     Commons.moveToPricingTable(self.driver)
     actualAmount = pricingPage.get_premium_amount()
     expectedAmount = pricing.SubscriptionPricing["Quaterly"]["Premium"][
         "MonthAmount"]["price"]
     Commons.assertValues(actualAmount, expectedAmount, self.driver)
コード例 #7
0
ファイル: test_quaterly.py プロジェクト: imarajith/CallHub
 def test_quaterly_business_billedamount(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickQuaterlyPlan()
     Commons.moveToPricingTable(self.driver)
     actualBilledAmount = pricingPage.get_business_billedamount()
     expectedBilledAmount = pricing.SubscriptionPricing["Quaterly"][
         "Business"]["BilledAmount"]["price"]
     Commons.assertValues(actualBilledAmount, expectedBilledAmount,
                          self.driver)
コード例 #8
0
ファイル: test_yearly.py プロジェクト: imarajith/CallHub
 def test_yearly_availability(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickYearlyPlan()
     self.driver.close()