How to change GUI Map file dynamically from the script?
Have any one attempted this? i was asked this question in an interview,the question was how to change the GUI map from the script and how to restore it when the script ends?
I was going thru winrunner help guide and TSL but i didn't find it anywhere. Is the GUI_buf_get _desc and GUI_buf_set_desc helps???
Re: How to change GUI Map file dynamically from the script?
Try this out:
GUI_map_get_desc ( win, obj, desc, file);
GUI_desc_get_attr (desc, "label", val);
GUI_add (but, win, obj, desc);