public void Execute(Arguments arguments)
 {
     AppiumWrapper.AppiumClick("action_bar_inbox_button", "id");
     AppiumWrapper.AppiumClick("New Message", "accessibilityid");
     AppiumWrapper.AppiumClick("recipients_container", "id");
     AppiumWrapper.AppiumTypeText("search_edit_text", arguments.recipient.Value, "id");
     AppiumWrapper.GetDriver().PressKeyCode(AndroidKeyCode.Enter);
     AppiumWrapper.AppiumClick("action_bar_button_text", "id");
     AppiumWrapper.AppiumTypeText("row_thread_composer_edittext", arguments.content.Value, "id");
     AppiumWrapper.AppiumClick("row_thread_composer_button_send", "id");
     AppiumWrapper.AppiumClick("action_bar_button_back", "id");
     AppiumWrapper.AppiumClick("action_bar_button_back", "id");
 }
 public void Execute(Arguments arguments)
 {
     AppiumWrapper.AppiumClick("//android.widget.LinearLayout[@index='3']/android.widget.FrameLayout[@index='2']", "xpath");
     if (arguments.imageNumber == 1)
     {
         AppiumWrapper.AppiumClick("//android.widget.FrameLayout[@index='1']//android.widget.CheckBox[@index='0']", "xpath");
     }
     else
     {
         for (int i = 0; i < arguments.imageNumber; i++)
         {
             var xpath = String.Format("//android.widget.FrameLayout[@index='1']//android.widget.CheckBox[@index='{0}']", i);
             AppiumWrapper.AppiumClick(xpath, "xpath");
         }
     }
     AppiumWrapper.AppiumClick("//android.widget.LinearLayout[@index='2']//android.widget.TextView[@index='2']", "xpath");
     AppiumWrapper.AppiumClick("//android.widget.FrameLayout[@index='1']//android.widget.TextView[@index='2']", "xpath");
     if (!string.IsNullOrEmpty(arguments.caption.Value))
     {
         AppiumWrapper.AppiumTypeText("//android.widget.FrameLayout[@index='0']//android.widget.EditText[@index='2']", arguments.caption.Value, "xpath");
     }
     AppiumWrapper.AppiumClick("//android.widget.FrameLayout[@index='1']//android.widget.TextView[@index='2']", "xpath");
 }