//--------- mail delivery verification---------
// click report link of created mailing
- $this->clickLink("xpath=//form[@id='Search']/table/tbody//tr/td[1][text()='Final ($ABTestName)']/../descendant::a[text()='Report']");
+ $this->clickLink("xpath=//form[@id='Search']/table/tbody//tr/td[@class='crm-mailing-name'][text()='Final ($ABTestName)']/..//td/span/a[text()='Report']");
// directly send schedule mailing -- not working right now
$this->openCiviPage("mailing/queue", "reset=1");
//click report link of created mailing
- $this->clickLink("xpath=//form[@id='Search']/table/tbody//tr/td[1][text()='Final ($ABTestName)']/../descendant::a[text()='Report']");
+ $this->clickLink("xpath=//form[@id='Search']/table/tbody//tr/td[@class='crm-mailing-name'][text()='Final ($ABTestName)']/..//td/span/a[text()='Report']");
//get actual number of user for mailing
$mailedUser = round($totalUser * ($totalUser / 100));
//--------- mail delivery verification---------
// click report link of created mailing
- $this->clickLink("xpath=//form[@id='Search']/table/tbody//tr/td[1][text()='Final ($ABTestName)']/../descendant::a[text()='Report']");
+ $this->clickLink("xpath=//form[@id='Search']/table/tbody//tr/td[@class='crm-mailing-name'][text()='Final ($ABTestName)']/..//td/span/a[text()='Report']");
// directly send schedule mailing -- not working right now
$this->openCiviPage("mailing/queue", "reset=1");
//click report link of created mailing
- $this->clickLink("xpath=//form[@id='Search']/table/tbody//tr/td[1][text()='Final ($ABTestName)']/../descendant::a[text()='Report']");
+ $this->clickLink("xpath=//form[@id='Search']/table/tbody//tr/td[@class='crm-mailing-name'][text()='Final ($ABTestName)']/..//td/span/a[text()='Report']");
//get actual number of user for mailing
$mailedUser = round($totalUser * ($totalUser / 100));
//--------- mail delivery verification---------
// click report link of created mailing
- $this->clickLink("xpath=//form[@id='Search']/table/tbody//tr/td[1][text()='Final ($ABTestName)']/../descendant::a[text()='Report']");
+ $this->clickLink("xpath=//form[@id='Search']/table/tbody//tr/td[@class='crm-mailing-name'][text()='Final ($ABTestName)']/..//td/span/a[text()='Report']");
// directly send schedule mailing -- not working right now
$this->openCiviPage("mailing/queue", "reset=1");
//click report link of created mailing
- $this->clickLink("xpath=//form[@id='Search']/table/tbody//tr/td[1][text()='Final ($ABTestName)']/../descendant::a[text()='Report']");
+ $this->clickLink("xpath=//form[@id='Search']/table/tbody//tr/td[@class='crm-mailing-name'][text()='Final ($ABTestName)']/..//td/span/a[text()='Report']");
//get actual number of user for mailing
$mailedUser = round($totalUser * ($totalUser / 100));