public static string MenuItemClick(string WindowName, string menuName, string itemName, int time) { MenuClick(null, WindowName, menuName); Utility.wait(time); return(ContextOp.ItemClick(itemName)); }
public static string MenuItemClick(string className, string WindowName, string menuName, string itemName) { MenuClick(className, WindowName, menuName); return(ContextOp.ItemClick(itemName)); }