08-31-2010, 03:29 PM
Try out this (without any class description)
where abc is tagname for the dialog.
Code:
JavaDialog("tagname:=abc")).JavaButton("label:=Close").Click
where abc is tagname for the dialog.