getElementsByTagName Method test sample