Skip to content
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't take screenshot of a Dialog #66

Closed
SeanPONeil opened this issue Feb 28, 2013 · 1 comment
Closed

Can't take screenshot of a Dialog #66

SeanPONeil opened this issue Feb 28, 2013 · 1 comment

Comments

@SeanPONeil
Copy link

I may be doing something wrong, but if a Dialog is shown in front of the Activity and I call

Spoon.screenshot(solo.getCurrentActivity(), "my_dialog");

I get a screenshot of the Activity behind the Dialog instead of the Dialog itself.

@edenman
Copy link
Collaborator

edenman commented Feb 28, 2013

Yup, this is a known issue...the current method we're using for screenshots only grabs the Activity's Window. Watch #4 for news about a switch to a different screenshot method that will pick up dialogs/keyboards/toasts/etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants