Skip to Content
0
Former Member
May 07, 2018 at 09:13 AM

SAPUI5 automated testing error the server responded with a status of 404 (Not Found)

738 Views

Hi all !

I wan't automate my tests by following the sap tutorial, but i have 404 error the server reponded with a status of 404.


Someone could help me please?

Thanks.

testsuite.qunit.html


<!DOCTYPE html>
<html>
<head>
<title>QUnit TestSuite for Bulletin Board</title>
<script type="text/javascript" src="/resources/sap/ui/qunit/qunit-redirect.js"></script>
    <script>
        /**
         * Add test pages to this test suite function.
         *
         */
        function suite() {
        var oSuite = new parent.jsUnitTestSuite(),
        sContextPath = window.location.pathname.substring(0, window.location.pathname.lastIndexOf("/") + 1);
        oSuite.addTestPage(sContextPath + "unit/unitTests.qunit.html");
        oSuite.addTestPage(sContextPath + "integration/opaTests.qunit.html");
            return oSuite;
        }
</script>
</head>
<body>
</body>
</html>