question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Where can I find screenshots?

See original GitHub issue

Hi.

I wrote my tests using Kaspresso framework. Everything work find except I don’t see any screenshots when my tests fail.

Where can I find my screenshots?

If I try to run gradle connectedAndroidTest in https://github.com/KasperskyLab/Kaspresso/tree/master/kaspresso/kaspresso-sample, I also don’t see any screenshots. There is no *.png files in my project directory, neither in /sdcard folder.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
eakurnikovcommented, Jul 30, 2020
  1. Your tested application must have the WRITE_EXTERNAL_STORAGE permission 😃 It is mentioned here and here. Sorry if this was not so clear to the user. Also, as you can see here, your test must have a grant permission rule for this. And then, after completing the test, you can find screenshots on the sdcard.
  2. It is the responsibility of test runner to run tests on devices and collect all data and resources from all devices after the tests are completed. Kaspresso is not responsible for this 😃 Also, you can create a simple gradle task to pull resources from devices after completing tests.
1reaction
matzukcommented, Jul 31, 2020

@asolntsev Hi! There is a special wiki page devoted to screenshots in the DocLoc (Documentation and Localization) process. The issue of sdcard. @RuslanMingaliev do you have a similar problem with sdcard? And, do you want to save screenshots in internal memory, too? Required WRITE_EXTERNAL_STORAGE permission. @RuslanMingaliev, I suggest to research this topic.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Where do screenshots go? Find them in Windows, Mac ...
On most Android devices, open the Photos app, tap on Library, and you can see the Screenshots folder with all your captures. Where...
Read more >
Where Are Screenshots Saved? How to Find Screenshots on PC
1. Open File Explorer {"smallUrl":"https:\/\/www.wikihow.com\/images\/0\/04\/File_Explorer_Icon.png","bigUrl":"\/images\/thumb\/0\/04\/File_Explorer_Icon.png ... 2. Click This PC. It's in the panel of locations on the left side of the window....
Read more >
How to Find Screenshots on a Windows 10 PC in 3 Ways
How to find screenshots on Windows 10 · 1. Open your File Explorer. You can do this by opening any folder. · 2....
Read more >
What to Do When You Can't Find Your Screenshots on ...
After clicking on This PC, click on the Pictures folder. In the Pictures folder, find the Screenshots folder. That's where you should be...
Read more >
Can't Find Screenshots In Windows? Try These Fixes
After a screenshot has been taken, Windows saves it in the default folder called “Screenshots.” If you do not find it there, then...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found