function verifyConnectionAndRun(mTests, bRealOData) {
		var oLoginRequest = new XMLHttpRequest();

		// send a request to the service document from the v4 sample service to ensure that
		// the credentials are known before running the test suite.
		oLoginRequest.open("GET",
			"/sap/opu/odata4/sap/zui5_testv4/default/sap/zui5_epm_sample/0002/");
		oLoginRequest.addEventListener("load", function () {
			if (oLoginRequest.status === 200) {
				runTests(mTests, bRealOData);
			} else {
				setStatus("Could not access the real OData server: "
					+ oLoginRequest.status + " " + oLoginRequest.statusText);
			}
		});
		oLoginRequest.send();
	}
// For the onload handler and the button "Run"
For the onload handler and the button "Run"
For the onload handler and the button " Run "
function verifyConnectionAndRun(mTests, bRealOData) {
		var oLoginRequest = new XMLHttpRequest();
		oLoginRequest.open("GET",
			"/sap/opu/odata4/sap/zui5_testv4/default/sap/zui5_epm_sample/0002/");
		oLoginRequest.addEventListener("load", function () {
			if (oLoginRequest.status === 200) {
				runTests(mTests, bRealOData);
			} else {
				setStatus("Could not access the real OData server: "
					+ oLoginRequest.status + " " + oLoginRequest.statusText);
			}
		});
		oLoginRequest.send();
	}
function verifyConnectionAndRun ( mTests , bRealOData ) { var oLoginRequest = new XMLHttpRequest ( ) ; oLoginRequest . open ( "GET" , "/sap/opu/odata4/sap/zui5_testv4/default/sap/zui5_epm_sample/0002/" ) ; oLoginRequest . addEventListener ( "load" , function ( ) { if ( oLoginRequest . status === 200 ) { runTests ( mTests , bRealOData ) ; } else { setStatus ( "Could not access the real OData server: " + oLoginRequest . status + " " + oLoginRequest . statusText ) ; } } ) ; oLoginRequest . send ( ) ; }
For the onload handler and the button "Run"
For the onload handler and the button " Run "
// send a request to the service document from the v4 sample service to ensure that // the credentials are known before running the test suite.