In rational robot i tried recording a push button click "close" and playing it back, the object is not recognized and the pushbutton is not clicked. The result shown it as pass but the window remains minimized rather closed(Pushbutton).
i used Object inspector and found the index value give to be 1.
Window SetContext, "Caption= --- - Microsoft Internet Explorer;Class=IEFrame", ""
PushButton Click, "Index=1"
can anyone give a suggestion on how to make the script click the "close" button.