<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
$this->click("xpath=//button[@title='Close']");
// select default header and footer ( with label )
- $this->click("xpath=//ul/li/a[text()='Header and Footer']");
+ $this->click('link=Header and Footer');
$this->select2("s2id_crmUiId_10", "Mailing Header");
$this->select2("s2id_crmUiId_11", "Mailing Footer");
//--------track and respond----------
// check for default settings options
- $this->click("xpath=//ul/li/a[text()='Tracking']");
+ $this->click('link=Tracking');
$this->assertChecked("url_tracking");
$this->assertChecked("open_tracking");
//------end delivery verification---------
// //------ check with unsubscribe -------
- // // FIX ME: there is an issue with DSN setting for Webtest, need to handle by seperate DSN setting for Webtests
+ // // FIX ME: there is an issue with DSN setting for Webtest, need to handle by separate DSN setting for Webtests
// // build unsubscribe link
// require_once 'CRM/Mailing/Event/DAO/Queue.php';
// $eventQueue = new CRM_Mailing_Event_DAO_Queue( );
$this->click("xpath=//button[@title='Close']");
// select default header and footer ( with label )
- $this->click("xpath=//ul/li/a[text()='Header and Footer']");
+ $this->click('link=Header and Footer');
$this->select2("s2id_crmUiId_10", "Mailing Header");
$this->select2("s2id_crmUiId_11", "Mailing Footer");
//--------track and respond----------
// check for default settings options
- $this->click("xpath=//ul/li/a[text()='Tracking']");
+ $this->click('link=Tracking');
$this->assertChecked("url_tracking");
$this->assertChecked("open_tracking");