Getting the exception in latest Appium Library for get("logcat") for Android device
メンテナーはふだん 5 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- mobile, testing-qa
調査の方向性
Issue に記載されている AndroidDriver と manage().logs().get("logcat") および getAvailableLogTypes() の呼び出しから始め、Java client 7.5.1 と 8.0.0 を比較します。リンクされている Appium ログと W3C logging の動作を確認し、404 が client の regression なのか、利用できない endpoint なのかを判断します。原因を特定し、動作を文書化または修正し、Android log retrieval の regression check を行えば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
When we try to get the logs from manage().logs().get("logcat") we are getting 404 errors, till 7.5.1 version this method was working fine, but when we have switched to 8.0.0 Java client this is throwing the error.
Environment
- Java client build version : Java client library 8.0.0
- Real device or emulator/simulator: Real Device
- Cloud Platform : Sauce Labs
- App : Native App
Details
We have tried the below steps :
AndroidDriver mobileAndroidDriver = new AndroidDriver ();
mobileAndroidDriver.manage().logs().get("logcat") throws 404 error
mobileAndroidDriver.manage().logs().getAvailableLogTypes() Also throws errors
AppiumDriver driver = new AndroidDriver();
driver.manage().logs().get("logcat") throws 404 error.
driver.manage().logs().getAvailableLogTypes() Also throws errors
As we cannot call now AppiumDriver driver = new AndroidDriver(); in new Java clent, we tried with AndroidDriver mobileAndroidDriver = new AndroidDriver (); still no luck.
We couldnt see any doc mentioning there is a change of this logs as its not deprecated.
Link To Appium Logs
(https://gist.github.com/krnnarayan/e1e7f8ea446b2a25c69ab86a53c52a11)
- 主要言語
- Java
- スター
- 1.3k
- フォーク
- 755
- 平均マージ
- 5日 14時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
appium/java-client のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
appium/java-client#2426 ·
メンテナーはふだん 5 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 50/100
appium/java-client#2372 ·
メンテナーはふだん 5 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
appium/java-client#2368 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 30/100
appium/java-client#2341 · コメント 1 件 ·
メンテナーはふだん 5 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
appium/java-client#2323 ·
メンテナーはふだん 5 日以内に返信
appium/java-client の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
beehive-lab/TornadoVM#1151 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
FasterXML/jackson-dataformats-binary#823 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信