Autotest Framework in Communication Environment