public override void Click(bool rightButton = false, int relativeX = 0, int relativeY = 0) { var cdef = new ControlLocatorDef<FindControl>( () => new FromHandle(SystemUnderTestHandle), () => new ClickNonWindowControlByCaption(new[] { SelectedItems[0] }) ); cdef.Play(); }
public virtual void Click(String[] menuByCaption) { var f = new ControlLocatorDef <FindControl>( () => new FromHandle(SystemUnderTestHandle), () => new ClickNonWindowControlByCaption(menuByCaption) ); f.Play(); }