function checkValueState(oOpa, rId, sState, iRow) {
		oOpa.waitFor({
			controlType : "sap.m.Input",
			id : rId,
			matchers : function (oControl) {
				return getIndex(oControl) === (iRow || 0);
			},
			success : function (aControls) {
				var oInput = aControls[0];

				Opa5.assert.strictEqual(oInput.getValueState(), sState,
					rId + " has valueState:" + sState);
			},
			viewName : sViewName
		});
	}
/*
	 * Checks whether the input control which matches the given <code>rId</code> and is in the
	 * given row <code>iRow</code> of a table has the given value state <code>sState</code>; checks
	 * the first row if none is given.
	 */
Checks whether the input control which matches the given rId and is in the
given row iRow of a table has the given value state sState; checks
the first row if none is given.
Checks whether the input control which matches the given rId and is in the given row iRow of a table has the given value state sState ; checks the first row if none is given .
function checkValueState(oOpa, rId, sState, iRow) {
		oOpa.waitFor({
			controlType : "sap.m.Input",
			id : rId,
			matchers : function (oControl) {
				return getIndex(oControl) === (iRow || 0);
			},
			success : function (aControls) {
				var oInput = aControls[0];
				Opa5.assert.strictEqual(oInput.getValueState(), sState,
					rId + " has valueState:" + sState);
			},
			viewName : sViewName
		});
	}
function checkValueState ( oOpa , rId , sState , iRow ) { oOpa . waitFor ( { controlType : "sap.m.Input" , id : rId , matchers : function ( oControl ) { return getIndex ( oControl ) === ( iRow || 0 ) ; } , success : function ( aControls ) { var oInput = aControls [ 0 ] ; Opa5 . assert . strictEqual ( oInput . getValueState ( ) , sState , rId + " has valueState:" + sState ) ; } , viewName : sViewName } ) ; }
Checks whether the input control which matches the given <code>rId</code> and is in the
 given row <code>iRow</code> of a table has the given value state <code>sState</code>; checks
 the first row if none is given.
Checks whether the input control which matches the given <code > rId< / code > and is in the given row <code > iRow< / code > of a table has the given value state <code > sState< / code > ; checks the first row if none is given .