SlideShare a Scribd company logo
UI Testing
for Windows Phone 7
@slodge
Windows Phone Test Framework


                       AutomationPeer Control (via HTTP)




                             Keyboard and Touch Input




                       CoreCon control of Emulator (COM)




@slodge – Windows Phone Test Framework
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
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
A Script example…



          Gherkin Scripts




          C# NUnit



@slodge – Windows Phone Test Framework
Enough talk!




                                          Demo time




@slodge – Windows Phone Test Framework
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


                            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
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
UI Testing
for Windows Phone 7
@slodge

More Related Content

PPTX
Dev evening - MonoTouch, MonoDroid, Mvvm MvvmCross and databinding
PPTX
MVVM frameworks - MvvmCross
PDF
Isomorphic JavaScript with Nashorn
PDF
In Pursuit of the Holy Grail: Building Isomorphic JavaScript Apps
PPTX
C# everywhere - Building Cross-Platform Apps with Xamarin and MvvmCross
PDF
Building Isomorphic JavaScript Apps - NDC 2015
PDF
PLASTIC 2011: "Enterprise JavaScript with Jangaroo"
PPTX
Cross-platform Apps using Xamarin and MvvmCross - Martijn van Dijk - Codemoti...
Dev evening - MonoTouch, MonoDroid, Mvvm MvvmCross and databinding
MVVM frameworks - MvvmCross
Isomorphic JavaScript with Nashorn
In Pursuit of the Holy Grail: Building Isomorphic JavaScript Apps
C# everywhere - Building Cross-Platform Apps with Xamarin and MvvmCross
Building Isomorphic JavaScript Apps - NDC 2015
PLASTIC 2011: "Enterprise JavaScript with Jangaroo"
Cross-platform Apps using Xamarin and MvvmCross - Martijn van Dijk - Codemoti...

What's hot (20)

PPTX
C# everywhere - Building Cross-Platform Apps with Xamarin and MvvmCross
PPTX
Windows 8
PDF
Anton Sakharov: The risks you take when develop cross-platform apps using HT...
PDF
iOS development best practices
PDF
Alexander Shitikov: Cross Platform Mobile Development. Business Logic for mob...
PPTX
Learning to be IDE Free (PrDC 2015)
PDF
Cloud Apache OpenOffice based on HTML5
PPTX
MvvmCross
PDF
Node.js exception handling
PDF
Typetalk APIを使ったChrome拡張開発ノウハウ #1
PPT
Top java script frameworks ppt
PPTX
Architecting WPF Applications
PPT
An Overview Of Wpf
PDF
Beg, Borrow or Steal: The Art of Flashing Without Flashing
PDF
Maintainable Javascript carsonified
PDF
JavaScript Revolution - 5/Nov/13 - PrDC Saskatoon, SK
PPT
MSDN Live: Windows Presentation Foundations Line of Business Apps
PPTX
Windows Store Apps: Tips & Tricks
PDF
NodeJS for Novices - 28/Oct/13 - Winnipeg, MB
PPTX
Seattle bestpractices2010
C# everywhere - Building Cross-Platform Apps with Xamarin and MvvmCross
Windows 8
Anton Sakharov: The risks you take when develop cross-platform apps using HT...
iOS development best practices
Alexander Shitikov: Cross Platform Mobile Development. Business Logic for mob...
Learning to be IDE Free (PrDC 2015)
Cloud Apache OpenOffice based on HTML5
MvvmCross
Node.js exception handling
Typetalk APIを使ったChrome拡張開発ノウハウ #1
Top java script frameworks ppt
Architecting WPF Applications
An Overview Of Wpf
Beg, Borrow or Steal: The Art of Flashing Without Flashing
Maintainable Javascript carsonified
JavaScript Revolution - 5/Nov/13 - PrDC Saskatoon, SK
MSDN Live: Windows Presentation Foundations Line of Business Apps
Windows Store Apps: Tips & Tricks
NodeJS for Novices - 28/Oct/13 - Winnipeg, MB
Seattle bestpractices2010
Ad

Similar to Ui Testing on Windows Phone (20)

PPTX
Uber Mobility Meetup: Mobile Testing
PPTX
Android testing
PDF
Cucumber meets iPhone
PDF
Introduction to Cordova
PPTX
Unit Testing in Android
PDF
How to develop a Flutter app.pdf
PDF
selenium-2-mobile-web-testing
PPTX
Construir Aplicações Silverlight para Windows Phone 7
PDF
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
PDF
Mobile Testing with Selenium 2 by Jason Huggins
PPT
Stopping the Rot - Putting Legacy C++ Under Test
PPTX
Mobile Testing
PPTX
Setting UIAutomation free with Appium
PDF
HTML5 Can't Do That
PPTX
Phone gap development, testing, and debugging
PPT
Create Cross-Platform Native Mobile Apps in Flex with ELIPS Studio
PDF
Cross-platform mobile that Works - Coobers
PDF
Release with confidence
PPTX
Android
PPTX
Building Cross-Platform JavaScript Apps using Cordova
Uber Mobility Meetup: Mobile Testing
Android testing
Cucumber meets iPhone
Introduction to Cordova
Unit Testing in Android
How to develop a Flutter app.pdf
selenium-2-mobile-web-testing
Construir Aplicações Silverlight para Windows Phone 7
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
Mobile Testing with Selenium 2 by Jason Huggins
Stopping the Rot - Putting Legacy C++ Under Test
Mobile Testing
Setting UIAutomation free with Appium
HTML5 Can't Do That
Phone gap development, testing, and debugging
Create Cross-Platform Native Mobile Apps in Flex with ELIPS Studio
Cross-platform mobile that Works - Coobers
Release with confidence
Android
Building Cross-Platform JavaScript Apps using Cordova
Ad

More from Stuart Lodge (17)

PPTX
Hot tuna - from Sean Cross
PDF
Helping the Lions Roar
PDF
MvvmCross Introduction
PDF
Wpug meeting - wp to win8 experiences
PDF
AlphaLabs - Node Garden with Speech
PDF
About Cirrious ltd
PDF
C# Client to Cloud
PPTX
How to make a pig udf
PDF
C# - Azure, WP7, MonoTouch and Mono for Android (MonoDroid)
PPTX
Mvvm cross – going portable
PPTX
Wpug mvvm and data binding
PPTX
Ui testing for Windows Phone
PPT
How To use Map Blogs
DOC
Uk Nuke Rpx Authentication For Dot Net Nuke
DOC
Uk Nuke Facebook Connect Authentication For Dot Net Nuke
DOC
UkNuke Facebook Connect Authentication For DotNetNuke 5
PPT
10 things I’ve learnt In the clouds
Hot tuna - from Sean Cross
Helping the Lions Roar
MvvmCross Introduction
Wpug meeting - wp to win8 experiences
AlphaLabs - Node Garden with Speech
About Cirrious ltd
C# Client to Cloud
How to make a pig udf
C# - Azure, WP7, MonoTouch and Mono for Android (MonoDroid)
Mvvm cross – going portable
Wpug mvvm and data binding
Ui testing for Windows Phone
How To use Map Blogs
Uk Nuke Rpx Authentication For Dot Net Nuke
Uk Nuke Facebook Connect Authentication For Dot Net Nuke
UkNuke Facebook Connect Authentication For DotNetNuke 5
10 things I’ve learnt In the clouds

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
A Presentation on Artificial Intelligence
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Approach and Philosophy of On baking technology
PDF
Empathic Computing: Creating Shared Understanding
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Cloud computing and distributed systems.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
MYSQL Presentation for SQL database connectivity
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Big Data Technologies - Introduction.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
KodekX | Application Modernization Development
Diabetes mellitus diagnosis method based random forest with bat algorithm
A Presentation on Artificial Intelligence
“AI and Expert System Decision Support & Business Intelligence Systems”
Approach and Philosophy of On baking technology
Empathic Computing: Creating Shared Understanding
Mobile App Security Testing_ A Comprehensive Guide.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Network Security Unit 5.pdf for BCA BBA.
Cloud computing and distributed systems.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
MYSQL Presentation for SQL database connectivity
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Spectral efficient network and resource selection model in 5G networks
Big Data Technologies - Introduction.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Advanced methodologies resolving dimensionality complications for autism neur...
KodekX | Application Modernization Development

Ui Testing on Windows Phone

  • 1. UI Testing for Windows Phone 7 @slodge
  • 2. Windows Phone Test Framework AutomationPeer Control (via HTTP) Keyboard and Touch Input CoreCon control of Emulator (COM) @slodge – Windows Phone Test Framework
  • 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. 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. A Script example… Gherkin Scripts C# NUnit @slodge – Windows Phone Test Framework
  • 6. Enough talk!  Demo time @slodge – Windows Phone Test Framework
  • 7. Used for real - drill down results and screenshots @slodge – Windows Phone Test Framework
  • 8. Used for real - summary report @slodge – Windows Phone Test Framework
  • 9. 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
  • 10. 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
  • 11. UI Testing for Windows Phone 7 @slodge