appium / appium/java-client

Recording Screen emulator Appium 2.0 - Method has not yet been implemented

Open
#1,857 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I want to record a video of the emulator screen, and if possible add it to the Allure report.
In the documentation I found the recording functions:
https://appium.io/docs/en/commands/device/recording-screen/start-recording-screen/
http://appium.io/docs/en/commands/device/recording-screen/stop-recording-screen/
Added to the method before the test
@BeforeMethod
public void createDriver() throws MalformedURLException {
if (driver == null) {
driver = Driver.createDriver();
driver.startRecordingScreen(new AndroidStartScreenRecordingOptions());
}
}

But I get an error: org.openqa.selenium.UnsupportedCommandException: Method has not yet been implemented

Java:
java version "17.0.5" 2022-10-18LTS
Java(TM) SE Runtime Environment (build 17.0.5+9-LTS-191)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.5+9-LTS-191, mixed mode, sharing)

Appium: appium -v 2.0.0-beta.46
Windows 10 OS
node:v16.16.0
android emulator pixel 4 - os android 11

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 with the Appium Java Client recording-screen documentation and the createDriver method shown in the report, then reproduce the UnsupportedCommandException with the listed Java, Appium, Android emulator, and Windows versions. Determine whether the failure is in the client or server support; done means identifying the responsible component and documenting a confirmed resolution or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.