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