Evaluation of automation testing questions
HackerEarth allows you to write Selenium automation tests using the following languages
- Java
- Node.js
- Python
- TypeScript
- C#
For example, in the case of the Java-Selenium question, the platform auto-evaluates the question on the basis of JUnit test cases. An equal score is assigned to each of the test cases. If a candidate passes all the test cases, they receive the total score assigned to the problem.
However, if the code satisfies certain test cases but fails some test cases, the score obtained is proportional to the number of test cases passed. HackerEarth generates an XML file at runtime to evaluate the JUnit test cases.
It is very similar to how project questions are evaluated. To learn more about how project questions are evaluated, read this article.