示例#1
0
        public override void Body()
        {
            ActualResult = QAliber.RemotingModel.TestCaseResult.Passed;

            try
            {
                UIControlBase c = UIControlBase.FindControlByPath(control);

                if (!c.Exists)
                {
                    ActualResult = QAliber.RemotingModel.TestCaseResult.Failed;
                    throw new InvalidOperationException("Control not found");
                }

                c.MoveMouseTo(point);
            }
            catch (System.Reflection.TargetInvocationException)
            {
                ActualResult = QAliber.RemotingModel.TestCaseResult.Failed;
            }
        }