+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
$this->openCiviPage('admin/setting/preferences/display', 'reset=1');
// Change editor if not already selected
$this->openCiviPage('admin/setting/preferences/display', 'reset=1');
// Change editor if not already selected
if ($editor == 'CKEditor') {
$this->waitForElementPresent("xpath=//div[@id='cke_{$fieldName}']//iframe");
$this->selectFrame("xpath=//div[@id='cke_{$fieldName}']//iframe");
if ($editor == 'CKEditor') {
$this->waitForElementPresent("xpath=//div[@id='cke_{$fieldName}']//iframe");
$this->selectFrame("xpath=//div[@id='cke_{$fieldName}']//iframe");
$this->openCiviPage('activity/search', 'reset=1', '_qf_Search_refresh');
$this->type('activity_subject', $subject);
$this->openCiviPage('activity/search', 'reset=1', '_qf_Search_refresh');
$this->type('activity_subject', $subject);