— In browser it displays the contents (i20-50000...)
— But in testing framework it's giving error for the test case
— And the testing framework code is?
— You mean js code?
— Of the testing framework, yes.
— Ok, this is working right? Now let us see the testing code.
— The program runs properly in the browser
— But when I try to run on the test platform the test cases fail
— This is the test case error
— And the problem is not your JS code. It’s the framework. Or you’re not following correctly what you have to do to to pass the test cases.