$this->type("first_name", "$firstName");
$this->type("middle_name", "mid$firstName");
$this->type("last_name", "adv$firstName");
- $this->select("contact_sub_type", "label=- $Subtype");
+ $this->select("contact_sub_type", "label=$Subtype");
$this->type("email_1_email", "$firstName@advsearch.co.in");
$this->type("phone_1_phone", "123456789");
$this->type("external_identifier", "extid$firstName");
if ($loc) {
$this->select("mapper_{$set}_{$row}_2", "label=$loc");
}
- $this->select("operator_{$set}_{$row}", "label=$op");
+ $this->select("operator_{$set}_{$row}", "value=$op");
if (is_array($value)) {
$this->waitForElementPresent("css=#crm_search_value_{$set}_{$row} select option + option");
foreach ($value as $val) {
//advanced search by selecting the contactType
$this->openCiviPage("contact/search/advanced", "reset=1");
if (isset($contactType)) {
- $this->select("id=crmasmSelect0", "value=$contactType");
+ $this->select("id=contact_type", "value=$contactType");
}
if (substr($field, 0, 5) == 'note_') {
$this->click("notes");