This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Let's add a new Email record | |
$parameters = array( | |
'session' => $sessionId, | |
'module' => 'Emails', | |
'name_value_list' => array( | |
array('name' => 'name', 'value' => 'email body'), | |
array('name' => 'from_addr', 'value' => '[email protected]'), | |
array('name' => 'to_addrs', 'value' => '[email protected]'), | |
array('name' => 'date_sent', 'value' => gmdate("Y-m-d H:i:s")), | |
array('name' => 'description', 'value' => 'This is an email created from a REST web services call'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium.common.exceptions import NoSuchElementException, TimeoutException | |
class DomHelper(object): | |
driver = None | |
waiter = None | |
def open_page(self, url): | |
self.driver.get(url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
import datetime | |
from sys import * | |
from selenium import webdriver | |
from selenium.webdriver.support.ui import WebDriverWait | |
import login_dom | |
class BaseTests(unittest.TestCase): |