function xmlTest_checkNonVariableField(fieldDom, name, text) {
  assertEquals(text, fieldDom.textContent);
  assertEquals(name, fieldDom.getAttribute('name'));
  assertNull(fieldDom.getAttribute('id'));
  assertNull(fieldDom.getAttribute('variabletype'));
}
Check the values of the non variable field dom.
@param {!Element} fieldDom The xml dom of the non variable field.
@param {!string} name The expected name of the variable.
@param {!string} text The expected text of the variable.