function checkControlValue(oOpa5, sViewName, bText, sId, sValue, iRow, bSearchOpenDialogs,
			bEnabled) {
		oOpa5.waitFor({
			controlType : bText ? "sap.m.Text" : "sap.m.Input",
			id : sId,
			matchers : iRow === undefined ? undefined : function (oControl) {
				return oControl.getBindingContext().getIndex() === iRow;
			},
			enabled : bEnabled,
			searchOpenDialogs : bSearchOpenDialogs,
			success : function (vControls) {
				var oControl = iRow === undefined ? vControls : vControls[0],
					sActual = bText ? oControl.getText() : oControl.getValue();

				Opa5.assert.ok(iRow === undefined || vControls.length === 1);
				Opa5.assert.strictEqual(sActual, sValue, "Control: " + sId + " Value is: "
					+ sActual);
			},
			viewName : sViewName
		});
	}
Checks the value/text of a sap.m.Input/.Text field

@param {sap.ui.test.Opa5} oOpa5
 An instance of Opa5 to access the current page object
@param {string} sViewName
 The name of the view which contains the searched control
@param {boolean} bText
 Whether the type of the control is "sap.m.Text", otherwise it is "sap.m.Input"
@param {string} sId
 The ID of a "sap.m.Input" or "sap.m.Text"  control inside the view sViewName
@param {string} sValue
 The external value of the control as a string
@param {number} [iRow]
 The row number (zero based) of the control if the control is within a collection
@param {boolean} bSearchOpenDialogs
 If set to true, Opa5 will only search in open dialogs
@param {boolean} bEnabled
 If set to false, Opa5 will look for both enabled and disabled controls.