| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
# This library contains alternative implementations for standard functions that operate on menues (menu_x() functions). Another sort of functions in this library are functions that implement some additional functionality that would probably fit into Mercury's logic for menu_x() functions.
Method Summary | |
int | DOS_menu_select_item(in win, in item) This function is specially designed for a particular DOS application. |
int | EMOS_menu_check_info1(in item, in attr, in info, in win) This function compares the expected with the actual info of a menu item without requiring items to be learned. |
int | EMOS_menu_get_info1(in item, in attr, out info, in win) This function returns the info of a menu item without requiring items to be learned. |
int | EMOS_menu_item_via_text(in item) This function clicks on a menu item without requiring items to be learned by untilysing the WinRunner's text recognition cpabilities. |
int | EMOS_menu_select_item(in gui1, in win1, in men1, inout win2) This function implements an alternative for native menu_select_item(). |
int | EMOS_menu_select_item1(in item, in win) This function clicks on a menu item without requiring items to be learned. |
int | EMOS_menu_select_item2(in item) This function clicks on a menu item without requiring items to be learned. |
int | EMOS_menu_wait_info1(in item, in attr, in info, in time, in win) This function waits for the info of a menu item without requiring items to be learned. |
int | excep1(in rc, in func) The empty (does nothing) exception handler needed for menu_select_item1(). |
int | menu_select_item1(in gui, in win1, in men1, in ttt1, out gui2, inout win2, out menu_str) |
Method Detail |
public int DOS_menu_select_item(in win, in item)
NOTE! Please note that position and size of the menu bar is hard-coded.
public int EMOS_menu_check_info1(in item, in attr, in info, in win)
public int EMOS_menu_get_info1(in item, in attr, out info, in win)
public int EMOS_menu_item_via_text(in item)
NOTE
This is an alternative to EMOS_menu_item() when this one does not seem to be stable enough (e.g. position of menu entries changes too often). This worked in very well for some applications that we were punished to test.
public int EMOS_menu_select_item(in gui1, in win1, in men1, inout win2)
win2 = "" , dann nur Path von menu_item gibt zurück. win2 = "*", dann sucht Name von Window in alle GUI-Filen (wenn Sie wissen nicht, welche Window taucht auf). win2 # "*",dann sucht nicht (wenn Sie wissen, welche Window taucht auf).
public int EMOS_menu_select_item1(in item, in win)
public int EMOS_menu_select_item2(in item)
public int EMOS_menu_wait_info1(in item, in attr, in info, in time, in win)
public int excep1(in rc, in func)
public int menu_select_item1(in gui, in win1, in men1, in ttt1, out gui2, inout win2, out menu_str)
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |