You need to ascertain how the webpage responds when the user enters characters and then clicks the add and divide buttons

HOTSPOT
You test a webpage that contains the following JavaScript code:

The webpage also contains the following markup:

You need to ascertain how the webpage responds when the user enters characters and then
clicks the add and divide buttons.
For each statement in the table, select Yes if the action causes the webpage to behave as
described. Select No if it does not. Make only one selection in each column.

HOTSPOT
You test a webpage that contains the following JavaScript code:

The webpage also contains the following markup:

You need to ascertain how the webpage responds when the user enters characters and then
clicks the add and divide buttons.
For each statement in the table, select Yes if the action causes the webpage to behave as
described. Select No if it does not. Make only one selection in each column.

Answer:



Leave a Reply 5

Your email address will not be published. Required fields are marked *


C

C

division by 0 returns infinity and NaN and also error.

Answer above is not correct, the second option is also Yes –> unhandled JS runs.

ti

ti

shouldn’t third row be No. The error is not unhandled – it is a custome error.