Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Problem with capturing PopUp dialogs #90

Closed
VictorJava opened this issue Mar 4, 2016 · 2 comments
Closed

Problem with capturing PopUp dialogs #90

VictorJava opened this issue Mar 4, 2016 · 2 comments
Labels

Comments

@VictorJava
Copy link

Hi there is some problem with capturing all popups.
I mean AlertDialog, FragmenDialog, ProgressDialog.
Of course I using support library and

        // capture screen
        androidTestCompile 'tools.fastlane:screengrab:0.3.0'

        // screen testing
        androidTestCompile 'com.android.support:support-annotations:23.2.0'
        androidTestCompile 'com.android.support.test:runner:0.4.1'
        androidTestCompile 'com.android.support.test:rules:0.4.1'
        // Optional -- UI testing with Espresso
        androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1'
        // Optional -- UI testing with UI Automator
        androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1'
        androidTestCompile 'com.android.support.test.espresso:espresso-intents:2.2.1'

There isn't popup in screen and keyboard when it's opened.
I've found
#75
#82
but I decided to create new issue.

There is my log
03-04 19:05:46.467 2323-2323/com.myapp D/Screengrab: Using screenshot storage directory: /storage/emulated/0/com..myapp/screengrab/en-GB/images/screenshots
03-04 19:05:47.064 2323-2323/com..myapp D/Screengrab: Captured screenshot "1457111146467_account_screen_before.png"
03-04 19:05:51.103 2323-2323/com..myapp D/Screengrab: Using screenshot storage directory: /storage/emulated/0/com..myapp/screengrab/en-GB/images/screenshots
03-04 19:05:51.767 2323-2323/com..myapp D/Screengrab: Captured screenshot "1457111151103_account_screen_before.png"

Could you help me?
Thanks in advance.

@mfurtak
Copy link
Contributor

mfurtak commented Mar 4, 2016

Hi @VictorJava - thanks for the report 👍

Yes, as you noted with the other tickets, this is a limitation we have at the moment. Right now what we have will not work for you. 😞

If you're feeling ambitious, #75 has some information about how you can work around this limitation by implementing a replacement class for Screengrab.java that uses UIAutomator.

I hope we can have better news for you about this soon!

@fastlanebot
Copy link

This issue was migrated to fastlane/fastlane#2076. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

@fastlane-old fastlane-old locked and limited conversation to collaborators Mar 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants