Evaluation of a selenium question

HackerEarth allows you to write Selenium test cases using the following languages:

  • Java
  • Node.js
  • Python

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 full stack questions are evaluated. To learn more about how full stack questions are evaluated, read this article