Esempio n. 1
0
 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();
 }
Esempio n. 2
0
        public virtual void Click(String[] menuByCaption)
        {
            var f = new ControlLocatorDef <FindControl>(
                () => new FromHandle(SystemUnderTestHandle),
                () => new ClickNonWindowControlByCaption(menuByCaption)
                );

            f.Play();
        }