add console autotest support