Using set_record_attr function, I have changed the obligatory properties of push_button from label to MSW_Class and set_record_method as RM_AS_Object. But still the script generated as button press as well as the configured effect is not taking Place.Still itís Spying as label.

IS this not having any effect while performing on standard objects?