public void Execute(Arguments arguments)
        {
            arguments.Search.Value = "//android.widget.ImageView[@content-desc='Me']";
            arguments.By.Value     = "xpath";
            ElementHelper.GetElement(arguments.By.Value.ToLower(), arguments.Search.Value).Click();

            arguments.Search.Value = "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.LinearLayout/android.view.ViewGroup/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View/android.view.View/android.view.View/android.view.View[1]/android.view.View[6]";
            arguments.By.Value     = "xpath";
            ElementHelper.GetElement(arguments.By.Value, arguments.Search.Value).Click();
        }
Пример #2
0
        public void Execute(Arguments arguments)
        {
            arguments.Search.Value = "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.LinearLayout/android.widget.RelativeLayout/android.widget.EditText";
            arguments.By.Value     = "xpath";
            ElementHelper.GetElement(arguments.By.Value.ToLower(), arguments.Search.Value).Click();

            ElementHelper.GetElement(arguments.By.Value, arguments.Search.Value).SendKeys(arguments.question.Value);

            arguments.Search.Value = "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.LinearLayout/android.widget.HorizontalScrollView/android.widget.LinearLayout/androidx.appcompat.app.ActionBar.Tab[4]/android.widget.RelativeLayout/android.widget.RelativeLayout";
            arguments.By.Value     = "xpath";
            ElementHelper.GetElement(arguments.By.Value, arguments.Search.Value).Click();
        }
        public void Execute(Arguments arguments)
        {
            arguments.Search.Value = "//android.widget.ImageView[@content-desc='Search']";
            arguments.By.Value     = "xpath";
            ElementHelper.GetElement(arguments.By.Value.ToLower(), arguments.Search.Value).Click();

            ElementHelper.GetElement(arguments.By.Value, arguments.Search.Value).SendKeys(arguments.name.Value);

            arguments.Search.Value = "com.quora.android:id / lookup_edittext";
            arguments.By.Value     = "id";
            ElementHelper.GetElement(arguments.By.Value, arguments.Search.Value).Click();
        }
        public void Execute(Arguments arguments)
        {
            arguments.Search.Value = "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.LinearLayout/android.widget.HorizontalScrollView/android.widget.LinearLayout/androidx.appcompat.app.ActionBar.Tab[3]/android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.ImageView";
            arguments.By.Value     = "xpath";
            ElementHelper.GetElement(arguments.By.Value.ToLower(), arguments.Search.Value).Click();

            arguments.Search.Value = "/ hierarchy / android.widget.FrameLayout / android.widget.LinearLayout / android.widget.FrameLayout / android.widget.FrameLayout / android.widget.FrameLayout / android.widget.FrameLayout / android.widget.FrameLayout[2] / android.widget.RelativeLayout / android.widget.RelativeLayout / android.widget.LinearLayout / android.widget.RelativeLayout / android.widget.FrameLayout / android.widget.FrameLayout / android.widget.LinearLayout / androidx.viewpager.widget.ViewPager / android.widget.RelativeLayout / android.widget.RelativeLayout / android.widget.LinearLayout / android.view.ViewGroup / android.webkit.WebView / android.webkit.WebView / android.view.View / android.view.View / android.view.View / android.view.View / android.widget.Button[1]";
            arguments.By.Value     = "xpath";
            ElementHelper.GetElement(arguments.By.Value.ToLower(), arguments.Search.Value).Click();

            arguments.Search.Value = "/ hierarchy / android.widget.FrameLayout / android.widget.LinearLayout / android.widget.FrameLayout / android.widget.FrameLayout / android.widget.FrameLayout / android.widget.FrameLayout / android.widget.FrameLayout[2] / android.widget.RelativeLayout / android.widget.RelativeLayout / android.widget.LinearLayout / android.widget.RelativeLayout / android.widget.FrameLayout / android.widget.FrameLayout / android.widget.LinearLayout / androidx.viewpager.widget.ViewPager / android.widget.RelativeLayout / android.widget.RelativeLayout / android.widget.LinearLayout / android.view.ViewGroup / android.webkit.WebView / android.webkit.WebView / android.view.View / android.view.View / android.view.View / android.view.View / android.view.View[4]";
            arguments.By.Value     = "xpath";
            ElementHelper.GetElement(arguments.By.Value, arguments.Search.Value).SendKeys(arguments.name.Value);

            arguments.Search.Value = "/ hierarchy / android.widget.FrameLayout / android.widget.LinearLayout / android.widget.FrameLayout / android.widget.FrameLayout / android.widget.FrameLayout / android.widget.FrameLayout / android.widget.FrameLayout[2] / android.widget.RelativeLayout / android.widget.RelativeLayout / android.widget.LinearLayout / android.widget.RelativeLayout / android.widget.FrameLayout / android.widget.FrameLayout / android.widget.LinearLayout / androidx.viewpager.widget.ViewPager / android.widget.RelativeLayout / android.widget.RelativeLayout / android.widget.LinearLayout / android.view.ViewGroup / android.webkit.WebView / android.webkit.WebView / android.view.View / android.view.View / android.view.View / android.view.View / android.view.View[4]";
            arguments.By.Value     = "xpath";
            ElementHelper.GetElement(arguments.By.Value, arguments.Search.Value).SendKeys(arguments.space.Value);

            arguments.Search.Value = "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.LinearLayout/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/androidx.viewpager.widget.ViewPager/android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.LinearLayout/android.view.ViewGroup/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View/android.view.View/android.view.View";
            arguments.By.Value     = "xpath";
            ElementHelper.GetElement(arguments.By.Value.ToLower(), arguments.Search.Value).Click();
        }
 public void Execute(Arguments arguments)
 {
     arguments.Search.Value = "com.quora.android:id/badge";
     arguments.By.Value     = "id";
     ElementHelper.GetElement(arguments.By.Value, arguments.Search.Value).Click();
 }