I just developed a JS program that also uses Jquery. I need to test it programmatically which I don't know how. I'm kinda new to testing and my search results included some software testing tools like JsUnit, Selenium.
How can I test my program?
I just developed a JS program that also uses Jquery. I need to test it programmatically which I don't know how. I'm kinda new to testing and my search results included some software testing tools like JsUnit, Selenium.
How can I test my program?
1.) Check Jquery and JavaScript result using alert() and console.log() method.
2.) Debug using developer Tools get from right click and select Inspect Element in browser
Try this code
</head>
<body>
<input type="button" value="check" onclick="checkvaild()">
<script >
function checkvaild()
{
alert("check");
console.log("check");
}
</script>
</body>
</html>
