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

How can we implement swipe and takeScreenShot commands. #27

Open
pranavkhare opened this issue Aug 18, 2016 · 1 comment
Open

How can we implement swipe and takeScreenShot commands. #27

pranavkhare opened this issue Aug 18, 2016 · 1 comment

Comments

@pranavkhare
Copy link

How can we implement swipe and takeScreenShot commands in the Winium.StoreApps.CodedUi project? I can see a TakeScreenShot() method in the emulatorController.cs class, but that works only for emulators. How can this be implemented to make it work for devices as well?

@NickAb
Copy link
Contributor

NickAb commented Aug 19, 2016

I think swipe can be implemented similar to https://github.com/2gis/Winium.StoreApps.CodedUi/blob/master/Winium.StoreApps.CodedUITestProject/CommandExecutors/TouchFlickExecutor.cs using Gesture class.

I do not have any solution on how to take screenshot on real device at the moment, maybe something like http://stackoverflow.com/questions/23898499/how-to-capture-screen-programatically-in-windows-phone-8-1-sdk will work.

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