Asserts that a field exists in the current page with the given ID and value.
$id: ID of field to assert.
$value: (optional) Value for the field to assert. You may pass in NULL to skip checking the value, while still checking that the field exists. However, the default value ('') asserts that the field value is an empty string.
$message: (optional) Message to display.
$group: The group this message belongs to.
TRUE on pass, FALSE on fail.
protected function assertFieldById($id, $value = '', $message = '') {
return $this
->assertFieldByXPath($this
->constructFieldXpath('id', $id), $value, $message ? $message : t('Found field by id @id', array(
'@id' => $id,
)), t('Browser'));
}