public function test_Ctv3_1026_Check_Edit_Corporate_Contact()
 {
     $USER_LOGIN = $this->getGlobalValue('user.1.login');
     $USER_PASSWORD = $this->getGlobalValue('user.1.password');
     $CONTACT_1_NAME = $this->getTestValue('contact.1.name');
     $FIELD_COMPANY = $this->getTestValue('field.company');
     $FIELD_DEPARTMENT = $this->getTestValue('field.department');
     $FIELD_STATE = $this->getTestValue('field.state');
     $FIELD_ZIP = $this->getTestValue('field.zip');
     //testStart
     $loginPage = new LoginPage($this);
     $loginPage->doLogin($USER_LOGIN, $USER_PASSWORD);
     $mailPage = new MailPage($this);
     $mailPage->clickAddressbook();
     $addressbookPage = new AddressbookPage($this);
     $addressbookPage->clickCorporateCatalog();
     $this->waitForAjaxAndAnimations();
     $mailPage->clearSearchField();
     $mailPage->typeSearchText($CONTACT_1_NAME);
     $mailPage->clickSearchButton();
     $this->waitForAjaxAndAnimations();
     $contactListItem = $addressbookPage->getCatalogEntryByName($CONTACT_1_NAME);
     $contactListItem->click();
     $this->waitForAjaxAndAnimations();
     $widgetContactDetails = $addressbookPage->getWidgetContactDetails();
     $this->assertEquals('true', $widgetContactDetails->isReadonlyField($FIELD_COMPANY), "The field '{$FIELD_COMPANY}' is not readonly");
     $this->assertEquals('true', $widgetContactDetails->isReadonlyField($FIELD_DEPARTMENT), "The field '{$FIELD_DEPARTMENT}' is not readonly");
     $this->assertEquals('true', $widgetContactDetails->isReadonlyField($FIELD_STATE), "The field '{$FIELD_STATE}' is not readonly");
     $this->assertEquals('true', $widgetContactDetails->isReadonlyField($FIELD_ZIP), "The field '{$FIELD_ZIP}' is not readonly");
 }