Desktop Automation

Is there anyway to highlight windows objects while executing desktop application?