-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not pull record screenshots from the phone to the project on Windows 10 #140
Comments
It has to be something with the paths in windows. We had no time to provide full support for Shot in windows because nobody in our team uses this OS and it was not a priority for us. If any contributor in Shot using windows could review this one ,that'd be really helpful. |
@vnhanh Did you get to solve this Karumi path bug? My team has stucked finding a solution by 3 days and not a clue about how to solve it. We have exactly the same problem than you. Thanks in advance. If you, @pedrovgs , have already developed a solution we would be pleased to know it as we would like tou use this test tool. Regards! |
Sorry, I havn't found any solution and my company ignored recording screenshots on Windows machine. |
FYI we keep looking for a contributor who could help us with the windows support. |
Thank you , I wasted one day checking my Karumi implementation because of this. And in this class https://github.com/Karumi/Shot/blob/master/core/src/main/scala/com/karumi/shot/android/Adb.scala So we can get more details about the occured problem |
I'd be happy to try and fix the Windows version, but in my own project on Windows 10, Shot is able to pull screenshots just fine. Can you provide a sample project? |
Thanks @DSteve595 😃 |
@DSteve595 @pedrovgs I checked one of sample project (https://github.com/pedrovgs/Shot/tree/master/shot-consumer/samplelibrary) on my windows 10 and it doesn't work. It is interesting because screenshot-bundle.zip and other dumped images under build/report/shot dir are fetched |
@pedrovgs I made some investigations and it is caused by used file path separator in the code. Now |
@pedrovgs
Second things needs to be done is fixing getting
|
Could somebody please check if the PR @mariuszmarzec sent works on Windows? The code looks great but I'd like to confirm. @voghDev @sergio-sastre or any other contributor? I'd really appreciate if you can find some time to run the tests the repository contains. You just need to execute these commands:
I'm asking for a CI configuration on windows, but this is not straight forward and I'd like to publish the fix soon if we can guarantee this is working fine on Windows 😃 |
EDIT: wrong issue! |
@rock3r could you please clone this repository and try with |
Sure thing, will do tomorrow |
I just realised I put the comment on the wrong issue. It was meant for #244, sorry! |
@pedrovgs I tried |
Hi!
I think it is right. Some tests probably failed because of my emulator settings, but Shot seemed to work as expected.
As a curious issue, my machine created a lockfile for the emulator, placed in an
I just ignored this file 😄 |
Expected behaviour
Run command to record screenshots and get recorded screenshots in images/recorded folder and screenshots folder in the project on Windows 10
Actual behaviour
I didn't see recorded screenshots in my project although terminal of Android Studio notify pulling screenshots successfully
Steps to reproduce
The screenshots folder also doesn't contains the record screenshots.
Version of the library
4.3.0, 4.4.0
The text was updated successfully, but these errors were encountered: