appium / appium/java-client

How to perform swipe action on WINDOWS?

Open
#558 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug server side
Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

Description

Appium5.0 beta build.
It seems the TouchAction can't perform real action on Windows10 platform.

Environment

Windows10

Details

TouchAction touchAction = new TouchAction(windowsDriver);
touchAction.press(startX, startY).waitAction(duration).moveTo(endX, endY).release().perform();

It will throw errors when using code above.
FAILED: swipe
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: [object Object] (WARNING: The server did not provide any stacktrace information)

Does anyone know how to do swipe for UWP?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the TouchAction sequence with windowsDriver on Windows 10 and Appium 5.0 beta. Investigate how swipe actions are handled for UWP and identify why the command returns the reported server-side error. Done means the documented swipe sequence completes successfully without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.