appium-gestures-plugin | perform gestures with w3 actions | Android | IOS

Поделиться
HTML-код
  • Опубликовано: 6 май 2023
  • #appium_java_tutorial_qavbox #appium #java-client #mobiletesting #automationtesting #appiumsetup #android #iOS #appiumserver #appium2
    This video will explain how to effectively perform Appium gestures with w3 actions like swipe, doubleTap, LongPress, tap etc with Appium gesture plugin.
    Resources -
    github.com/AppiumTestDistribu...
    Blog posts for quick read -
    qavalidation.com/appium-tutor...
    Appium java-client releases -
    github.com/appium/java-client...
    Complete tutorial - bit.ly/qav_appiumtutorial
    code base - github.com/sunilpatro1985/App...
    Subscribe to this channel -
    bit.ly/youtube-qavbox
    Blog posts -
    qavalidation.com
    Make me awake & feel fresh always, so I can bring lot's of interesting topics for you all, Buy me a coffee?
    buymeacoffee.com/qavalidation

Комментарии • 25

  • @SURAJSALUNKHES
    @SURAJSALUNKHES 5 дней назад

    what is the elementID in driver.executescript inside immutableMap

  • @thalai143
    @thalai143 Год назад +2

    Sir, You are doing a commendable job for the QA community. Please also release an explanatory video for integration of Appium Scripts with CI/CD tools like Gitlabs especially. Please Sir, We really need your assistance for Mobile Automation regarding remote execution

    • @qavbox
      @qavbox  Год назад +1

      Sure, will publish soon!

    • @thalai143
      @thalai143 Год назад

      @@qavbox waitingggg😎

  • @thallapallyharsitha
    @thallapallyharsitha Год назад

    The video was informative, please make a video explaining about doing signature. That would be helpfull.

  • @vikramvikki4265
    @vikramvikki4265 11 месяцев назад

    Is the gesture plugin support for apple tv remote? Because in tvos automation there are scenario for swiping the remote for scrolling till end of progress bar

  • @linkin_park___5106
    @linkin_park___5106 9 месяцев назад

    Hello sir, can you tell me or make video on how to tap an element using its (x,y)
    coordinates?

  • @Merkano2007
    @Merkano2007 9 месяцев назад

    Thanks for sharing. I have 2 questions:
    - If we don't have accessibilityId in the app we are using, is there a way to use id instead? or xpath?
    - Does this plugin work only in NATIVE_APP context?

    • @qavbox
      @qavbox  9 месяцев назад +1

      You can ask the developers to add accessibilityID for each element for your app.
      The plugin should work for webview, but never tried.

    • @arunkumarn8396
      @arunkumarn8396 6 месяцев назад

      RemoteWebElement winterware = (RemoteWebElement) driver.findElement(By.xpath("//com.snapdeal.sdrecyclerview.widget.SDRecyclerView/android.widget.LinearLayout[1]"));
      driver.executeScript("gesture: swipe", ImmutableMap.of("elementId", winterware.getId(), "percentage", 10, "direction", "left"));
      itried with x path it worked
      but i have one more doubt swiping should be done till element located how it can be done

  • @lokeshdarne
    @lokeshdarne Год назад

    @qavbox Any option for remote execution as I don't have appium in my local machine

    • @qavbox
      @qavbox  Год назад

      You can run your tests on cloud providers like browserstack / saucelabs / headspin etc

  • @maitrayeedevi1611
    @maitrayeedevi1611 6 месяцев назад

    for these gestures,if I do not have id but xpath is there then how to implement this?

    • @qavbox
      @qavbox  5 месяцев назад

      You can identify the elements with Xpath, and then use the getId method to use it in gestures

  • @user-yj1wr1lt1m
    @user-yj1wr1lt1m 8 месяцев назад

    How can we do to implement scroll untill element? with gesture?

    • @qavbox
      @qavbox  8 месяцев назад

      Yes, you can refer to below link to scroll till element
      ruclips.net/video/M1AFgaunfBQ/видео.htmlsi=QXHpZU8fNPzvvSuQ

  • @eminz.8554
    @eminz.8554 Год назад

    Why we need these kinds of plugins to perform gestures? Why there is no Class like Actions in Selenium? Also do you know when the Appium team will publish the detailed documentation? Its still in progress? Also how can start server programatically with this gesture plugin?

    • @qavbox
      @qavbox  Год назад

      Actions class got deprecated in appium to support the w3 actions.
      Appium is also in progress in documentation and you can refer appium.io/docs/en/2.0/

    • @qavbox
      @qavbox  Год назад

      You can refer to these playlist for all appium related gesture implementation
      ruclips.net/p/PLPO0LFyCaSo2X4NLeZsIwnRcq32asQiI9

  • @mohamedakram3808
    @mohamedakram3808 Год назад

    Hi,While trying to implement this feature on current Appium 2.0.I am getting this error message => org.openqa.selenium.UnsupportedCommandException: {"value":{"error":"unknown method","message":"Method is not implemented". This issue has been killing me for past two days.Please help as none of the solutions have been working so far.

    • @qavbox
      @qavbox  Год назад

      Can you check if you started the appium server with command as "appium --use-plugins=gestures"
      Then run the appium code?

    • @mohamedakram3808
      @mohamedakram3808 Год назад

      @@qavbox yes bro I ran like that as well.Infact I tried with multiple versions of Appium-Java client and testng versions but to no avail.

    • @AliHamza-vm9cr
      @AliHamza-vm9cr Год назад

      Any luck on this issue? I am facing the same

    • @qavbox
      @qavbox  Год назад

      Can any of you share any of your git repo or code block using to perform gesture and the appium server command?

    • @AliHamza-vm9cr
      @AliHamza-vm9cr Год назад

      @@qavbox RemoteWebElement carousel = (RemoteWebElement) driver.findElement(AppiumBy.xpath("//*[@resource-id='com.dubizzle.horizontal:id/filtersRecyclerView']"));
      driver.executeScript("gesture: swipe", ImmutableMap.of("elementId", carousel.getId(), "percentage", 50, "direction", "left"));