java.lang.RuntimeException: Unable to capture screenshot.

adventuresinqa.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    It's like 10000 knives when all you need is a Spoon

    adventuresinqa.com | 7 months ago
    java.lang.RuntimeException: Unable to capture screenshot.
  2. 0

    java.lang.RuntimeException: Unable to capture screenshot

    GitHub | 3 years ago | denysz
    java.lang.RuntimeException: Unable to capture screenshot.
  3. 0

    Can't create screenshot dir on CI emulator

    GitHub | 2 years ago | sregg
    java.lang.RuntimeException: Unable to capture screenshot.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android, Robotium and Spoon: A Practical Guide for Testing on Android Devices |

    sep.com | 8 months ago
    java.lang.RuntimeException: Unable to capture screenshot.

  1. tererecool 2 times, last 6 months ago
2 unregistered visitors

Root Cause Analysis

  1. java.lang.RuntimeException

    Unable to capture screenshot.

    at com.squareup.spoon.Spoon.screenshot()
  2. com.squareup.spoon
    Spoon.screenshot
    1. com.squareup.spoon.Spoon.screenshot(Spoon.java:54)
    1 frame
  3. com.example.calcapplication
    CalcTestCase.testDialog
    1. com.example.calcapplication.test.CalcTestCase.testDialog(CalcTestCase.java:37)
    1 frame
  4. Java RT
    Method.invokeNative
    1. java.lang.reflect.Method.invokeNative(Native Method)
    1 frame
  5. Android Platform
    Instrumentation$InstrumentationThread.run
    1. android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
    2. android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
    3. android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
    4. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
    5. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
    6. android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
    7. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
    7 frames