示例#1
0
 def verifyButtonAlertTextbox(self):
     assertion.assertTrue(
         'Unable to find the button to display an alert with Textbox',
         page.getButtonAlertTextbox().isDisplayed())
     return self
示例#2
0
 def verifyOkAndCancelOption(self):
     assertion.assertTrue('Unable to find the OK and Cancel option',
                          page.getButtonAlertOKCancel().isDisplayed())
     return self
示例#3
0
 def verifyButtonAlertOKCancel(self):
     assertion.assertTrue(
         'Unable to find the button to display an alert box with OK and Cancel options',
         page.getButtonAlertOKCancel().isDisplayed())
     return self
示例#4
0
 def verifyAlertsOption(self):
     assertion.assertTrue('Unable to find Alerts option',
                          page.getAlertsOption().isDisplayed())
     return self
示例#5
0
 def verifyFramesOption(self):
     assertion.assertTrue('Unable to find Frames option',
                          page.getFrameOption().isDisplayed())
     return self
示例#6
0
 def verifyInputInFrames(self):
     assertion.assertTrue("Input is not Displayed",
                          self.__page.getInputInFrames().isDisplayed())
     return self
示例#7
0
 def verifyIframeWithIframeButton(self):
     assertion.assertTrue(
         "Button is not Displayed",
         self.__page.getButtonIframeWithIframe().isDisplayed())
     return self
示例#8
0
 def verifySingleInput(self):
     assertion.assertTrue("Input is not Displayed",
                          self.__page.getSingleInput().isDisplayed())
     return self
示例#9
0
 def verifySwitchToOption(self):
     assertion.assertTrue('Unable to find SwitchTo Option on Menu',
                          page.getOptionSwitchTo().isDisplayed())
     return self
示例#10
0
 def verifyButtonSkipSingIn(self):
     assertion.assertTrue('Unable to find Skip Sing In button',
                          page.getButtonSkipSingIn().isDisplayed())
     return self