User idhrees (email@example.com) posted:
This function is from WinRunner/Samples/Utils/Virtual_objects script.
function virtual_obj_get_text(in object, out text)
auto win = GUI_get_window(), dsc, file;
GUI_map_get_desc(win, object, dsc, file);
win_get_text(win, text, arr["x"], arr["y"]+offset, arr["x"]
Could someone pls explain why we should use the offset here in this
function, and why it is concerned with y co-ordinate rather than the
Why we couldn't get the text if we use just the x,y cordinates and
the width and height....any thoughts..