Karl Krukow Presents:
What's new and cool in xamarin test cloud
Secrets of Xamarin Test Cloud
Presented at Xamarin Dev Day Singapore:
http://www.meetup.com/SingaporeMobileDev/events/231439633
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Karl Krukow - What's new and cool in xamarin test cloud - Xamarin Dev Days Singapore Nov 2016
1. What's New and Cool in XTC?
Karl Krukow, Microsoft
Engineering Manager, Xamarin Test Cloud
@karlkrukow
Xamarin Dev Day,
Singapore 2016
Secrets of Xamarin Test Cloud
5. So how does it REALLY work?
Create Tests and run them locally
on simulator or device right from
the IDE.
Xamarin.UITest (C#)
/ Calabash (Ruby)
Automatically execute tests in the
cloud in parallel from a pool of real
iOS & Android devices.
Xamarin Test Cloud
6. • Interact with UI controls in your app using
gestures
• Declarative query language to identify views
on screen
• Wait for events to occur (e.g., no spinner
visible)
• Generate screenshots
• App-lifecycle APIs (start/stop, etc)
• Low-level APIs provides access to reflectively
call methods on app objects
Automated UI Testing
//Example in C# using Xamarin.UITest
app.Tap ("Help");
app.Tap (e => e.Id ("history-btn"));
app.WaitForElement (e => e.Text ("Ink"));
app.Screenshot ("View the purchasing history");
Tap Scroll Swipe Pinch Multi finger
Text Entry Rotation GPS
9. That's nice, too bad my App isn't
built with Xamarin.
Misconception #5
10. Xamarin Test Cloud works with every native and
hybrid mobile app - it doesn't matter how it was built.
Xamarin / C#
Xcode / Objective-C / Swift
Android Studio / Java
Cordova / JS
React Native / JS
...
12. Well, that's subjective :)
https://www.xamarin.com/test-cloud
Xamarin.UITest is completely free to use!
13. Wow! Cool! I'd love to use it!
Too bad we don't have time
to write tests...
Misconception #3
14. We Understand!
"How can you afford not to test?"
- Niels Frydenholm, eBay classified
If you think you don't have time,
you're probably wrong ;) (I'm a link!)
15. Also: How hard it is to get started with
Continuous Delivery on Mobile?
https://www.youtube.com/watch?v=wXgnh2Q7Uv8
https://vimeo.com/155029659
Continuous Delivery for Mobile Apps: Yes We Can!
Also watch this space for announcements this month :)
27. • Cross-platform C#-based API
• Run with NUnit
• Xamarin/Visual Studio or CLI
• SpecFlow support
Xamarin.UITest
• Write Tests in Ruby
• Supports BDD, run with Cucumber
• RubyMine or CLI
Calabash
• Write Tests using Selenium/Webdriver
• e.g. Java, (Python, JavaScript, ...)
• Leverage Selenium resources
Appium Espresso (XCUITest?)
• Official tools
• Java/Obj-C/Swift
• Not cross platform