Ejemplo n.º 1
0
 public MultiActionProduct(IMultiAction resource) : base(resource)//Resource resource, Actor actor)
 {
     foreach (var res in resource.Actions)
     {
         _actions.Add(res.Create());
     }
 }
 /// <summary>
 /// Perform the multi action
 /// </summary>
 /// <param name="multiAction">multi action to perform</param>
 public void PerformMultiAction(IMultiAction multiAction)
 {
     if (multiAction != null)
     {
         var parameters = multiAction.GetParameters();
         Execute(AppiumDriverCommand.PerformMultiAction, parameters);
     }
 }
Ejemplo n.º 3
0
        /// <summary>
        /// Perform the multi action
        /// </summary>
        /// <param name="multiAction">multi action to perform</param>
        public void PerformMultiAction(IMultiAction multiAction)
        {
            if (null == multiAction)
            {
                return; // do nothing
            }

            var parameters = multiAction.GetParameters();

            this.Execute(AppiumDriverCommand.PerformMultiAction, parameters);
        }
 /// <summary>
 /// Performs the multi-action sequence.
 /// </summary>
 /// <param name="multiAction">Multi-action sequence to perform.</param>
 public void PerformMultiAction(IMultiAction multiAction)
 {
     // mock method - should not do anything
 }