getAttribute Method test sample