Advantest interview question

Related to DOM object and scripting