Introducing the Spectron Command Line Tool

After some Spectron experience there tends to be some things that can get repetitive when creating Spectron tests. I figured creating a tool to do just that would be handy to have. So I created the spectron-cli npm package. Granted, this command line tool doesn’t do all that much. Currently, it only has two commands to…

Spectron Tip: Getting Selectors From Chrome Dev Tools

If you’re using Spectron (or even Protractor) for automating your applications probably the most time consuming thing is to figure out exactly what selectors you need in order to interact with your application. Whether to click on a button or to test if the text of a dialog is what you expect, you need a…

Creating Page Files for Spectron Tests

Now that we’ve got Spectron working, let’s add some more to it to help with our testing. One way of doing end-to-end testing is to have a separate file that contains our page objects and any helper functions specific to that page. This will help the readability and maintainability of our tests. The latest code…

How to Use Microsoft’s Project Rome for a Seamless Cross-Device Experience

Taking the ‘universal’ part of the Universal Windows Platform to the next level, Microsoft’s Project Rome focuses on having apps function continuously and harmoniously across devices. A new Microsoft tutorial shows how that might work for your app. Microsoft is highlighting two key features of its Remote Systems API for the Windows Anniversary Update: 1)…

End-to-end Testing Electron Apps with Spectron

You’ve built a really awesome Electron application, but you want to include a few automated tests to make sure a regression doesn’t occur? Spectron is here to help! Spectron is Electron’s end-to-end testing library. Let’s see how it we can set it up to use in our own Electron projects. If you want to go straight…

A Brief Tour of Azure IoT Hub

I’m preparing some material for a webinar on Azure IoT in mid-October (you are signed up, aren’t you?) and thought I’d do a quick intro to the basic concepts and moving parts. Azure IoT Hub is a cloud-scale service for managing and securely communicating with large numbers of field devices (potentially millions at once); communication…

Why can’t I use the “dynamic” C# keyword in Xamarin.iOS?

Occasionally I see this question pop up in various forms; usually an app developer has written some fairly clever code that relies on the dynamic keyword in C#. Their code runs swimmingly on every other platform—and it also compiles just fine for iOS. But when they run the app on a physical iPhone or iPad…

Using XAML in F# Xamarin Forms – A Screencast

Now that we’ve seen the awesome new stuff in Xamarin Studio for F# let’s go a bit further and actually use some of those improvements to our advantage. However, instead of just a regular blog post, I thought it’d be worthwhile to do a screencast for y’all. You can view the demo code directly on…

F# Improvements in Xamarin Studio

With the (almost) stable release of Xamarin Studio 6 comes a ton of great new improvements. I absolutely love the new dark theme! However, some huge improvements were made to the IDE for F# support, as well. Improvements that I feel may have gone without much notice. So I wanted to help get those improvements…

NG-Conf 2016 – Day Three Wrap Up

The last day of ng-conf 2016 continued with lots of great information. Some highlights: Daniel Rosenwasser gave a good overview of TypeScript and a little bit of its history. He also demonstrated benefits of using TypeScript with Javascript directly. It can be beneficial in catching things in regular Javascript code (serving a similar purpose to…

The Future of Angular2, and More Updates From NG-Conf 2016

Some highlights of day two of ng-conf 2016: Day two started with a focus on the future of Angular2. No, they didn’t announce Angular3, but they did focus on the work they are finishing up and looking towards the future. For example, work is in progress to build an offline compiler for Angular2 applications. This…

Highlights From Angular’s NG-Conf 2016

I just finished up the first day of ng-conf 2016 and as usual, it has been a great informative conference. Thanks to the organizers, sponsors, and Angular team members for all your efforts. Here are some highlights from today: Brad Green’s keynote address, of course, covered the big picture of the Angular development work. The…