Exemple #1
0
 def test_open_browser_swaps_ie_for_chrome_on_mac(self):
     LIB.euh_EWS_Logon("IE", data.LOGIN_URL, "jack","frost",False)
     from selenium.webdriver import chrome
     self.assertIs(type(LIB._current_browser()),chrome.webdriver.WebDriver)
Exemple #2
0
 def test_implicity_wait_is_set_from_ews_creation(self):
     test_lib = EWSLibrary(10)
     LIB.euh_EWS_Logon("IE", data.LOGIN_URL, "jack","frost",False)
     self.assertEquals('10 seconds', test_lib.get_selenium_implicit_wait())
Exemple #3
0
 def test_login_negative_test_works_if_we_are_one_the_same_page(self):
     LIB.euh_EWS_Logon(data.BROWSER, data.LOGIN_URL, "jack","frost", False)
     LIB.textfield_value_should_be(OR["login_username"], "jack")
     LIB.textfield_value_should_be(OR["login_password"], None) #cannot read value from password field