// Get the ControlArea from the XML document.
Element eControlArea = getControlArea(inDoc.getRootElement());
// Get the TestId if it exists.
TestId testId = extractTestId("TestId", eControlArea);
// Get the messageAction, messageObject, and SenderAppId from the
// ControlArea.
String msgAction = eControlArea.getAttribute("messageAction").getValue();
String msgObject = eControlArea.getAttribute("messageObject").getValue();