Mapping Custom Objects to standard class
How to map a Custom object to a Standard Class ?
We tried as per the steps as explained in the USer Guide for the Sample Flight Application.
We tried to map the Flight Button(custom Object) in the "Flight Reservation" window to the Push_Button standard class.
The following statements were pasted at the beginning of the script.
set_record_attr("FButton", "class label", "MSW_id", "location");
but still generates the
obj_mouse_click statement instead of the button_press statement.
Re: Mapping Custom Objects to standard class
Make sure you execute(or run) your first three lines:
Once you have run those three lines, when you record on that object, it should record as a button_press.