Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
UI Testingfor Windows Phone 7@slodge
Windows Phone Test Framework                       AutomationPeer Control (via HTTP)                             Keyboard ...
Available C# Commands        Automation Peer:                 Touch/Keyboard:   CoreCon:         GetText                 ...
Wrapped by Gherkin Steps        Automation Peer:              Then I enter "Hello World" into the control "TextBoxInput"  ...
A Script example…          Gherkin Scripts          C# NUnit@slodge – Windows Phone Test Framework
Enough talk!                                          Demo time@slodge – Windows Phone Test Framework
Video…
Used for real              - drill down results and screenshots@slodge – Windows Phone Test Framework
Used for real              - summary report@slodge – Windows Phone Test Framework
Available “now”                  GitHub                                 http://bit.ly/wp7testgit                  nuget ...
The future?               More                      More interop                      More steps                      ...
UI Testingfor Windows Phone 7@slodge
Upcoming SlideShare
Loading in …5
×

Ui testing for Windows Phone

1,202 views

Published on

Published in: Technology
  • Be the first to like this

Ui testing for Windows Phone

  1. 1. UI Testingfor Windows Phone 7@slodge
  2. 2. Windows Phone Test Framework AutomationPeer Control (via HTTP) Keyboard and Touch Input CoreCon control of Emulator (COM)@slodge – Windows Phone Test Framework
  3. 3. Available C# Commands Automation Peer: Touch/Keyboard: CoreCon:  GetText  BACK & START  Install  SetText  Tap  Uninstall  GetValue  Flick  Start  SetValue  Key press  Stop  Select  etc  Scroll  GetPosition  IsVisible  TakePicture  etc@slodge – Windows Phone Test Framework
  4. 4. Wrapped by Gherkin Steps Automation Peer: Then I enter "Hello World" into the control "TextBoxInput" Touch/Keyboard: Then I flick "RightToLeft" CoreCon: Given my app is clean installed and running Steps are C#/NUnit - so write your own: I get the recent transaction list for “fred” with password “password”@slodge – Windows Phone Test Framework
  5. 5. A Script example… Gherkin Scripts C# NUnit@slodge – Windows Phone Test Framework
  6. 6. Enough talk!  Demo time@slodge – Windows Phone Test Framework
  7. 7. Video…
  8. 8. Used for real - drill down results and screenshots@slodge – Windows Phone Test Framework
  9. 9. Used for real - summary report@slodge – Windows Phone Test Framework
  10. 10. Available “now”  GitHub http://bit.ly/wp7testgit  nuget PM> Install-Package WP7Test PM> Install-Package WP7TestClient  A good intro to UI testing on Mobile (via @JagReehal) http://slidesha.re/rOVUB2@slodge – Windows Phone Test Framework
  11. 11. The future?  More  More interop  More steps  More samples  More platforms:  Android – Robotium and LessPainful.com  iPhone - Frank  BlackBerry – maybe…  Integration with ViewModel testing  Integration with Mocking  Integration with http://bit.ly/mvvmcross@slodge – Windows Phone Test Framework
  12. 12. UI Testingfor Windows Phone 7@slodge

×