function selectSalesOrderWithId(sSalesOrderId) {
				When.waitFor({
					id : /SalesOrderID/,
					viewName : sViewName,
					controlType : "sap.m.Text",
					matchers : new Properties({text: sSalesOrderId}),
					success : function (aControls) {
						new Press().executeOn(aControls[0]);
						Opa5.assert.ok(true, "Sales Order selected: " + sSalesOrderId);
					}
				});
			}
// find the sales order with given Id and click on it to select the sales order
find the sales order with given Id and click on it to select the sales order
find the sales order with given Id and click on it to select the sales order
function selectSalesOrderWithId(sSalesOrderId) {
				When.waitFor({
					id : /SalesOrderID/,
					viewName : sViewName,
					controlType : "sap.m.Text",
					matchers : new Properties({text: sSalesOrderId}),
					success : function (aControls) {
						new Press().executeOn(aControls[0]);
						Opa5.assert.ok(true, "Sales Order selected: " + sSalesOrderId);
					}
				});
			}
function selectSalesOrderWithId ( sSalesOrderId ) { When . waitFor ( { id : / SalesOrderID / , viewName : sViewName , controlType : "sap.m.Text" , matchers : new Properties ( { text : sSalesOrderId } ) , success : function ( aControls ) { new Press ( ) . executeOn ( aControls [ 0 ] ) ; Opa5 . assert . ok ( true , "Sales Order selected: " + sSalesOrderId ) ; } } ) ; }
find the sales order with given Id and click on it to select the sales order
find the sales order with given Id and click on it to select the sales order