Posts

Showing posts with the label sauce labs

Saucin' Up Perl with Selenium WebDriver

My foray into the world of Sauce OnDemand, made public about a month ago in an earlier blog post , landed me a spot as Presenter for April's meeting of the DFW Perl Mongers club! But wait, you wrote all that code in JavaScript! Yes, that's true.  And, despite Sauce Labs not really acknowledging the availability of a WebDriver module for Perl, it does indeed exist, and I found it, and wrote some nice automation in Perl to demo to the small crowd.  I even did some extra stuff they weren't anticipating -- showing off how to test mobile apps with Perl too by using Appium + Sauce Labs in order to provide an environment where the same test code can be used to test both a native Android app and a native iOS app, assuming they both had identical resource names for the graphical elements.  Unfortunately, the two APKs I had easy access to both caused a Force Close once the Android emulator in Sauce Labs started them up.  There were also some tweaks, features, and ...

Angular + Protractor + Sauce Connect, launched from Gulp, all behind a corporate firewall!

Image
You didn't think it could be done, did you? Well, let me prove you wrong!  First, some terms: AngularJS : An MVC framework for JavaScript, allowing you to write web apps without relying on JQuery. Protractor : A test harness for Angular apps. Sauce Labs : A company providing cloud services to help you run E2E testing on your web app in any environment combination. Node.js : Package manager for JavaScript.  You'll need this for installing all the dependencies to get this tool set working. Gulp : A build manager and mundane-task automator.  Competitor with the older, well-entrenched  Grunt , but gaining popularity by the hour.  Uses JavaScript syntax, but could theoretically be used as a Makefile or shell script replacement. The Basic Premise My organization is writing web apps using Angular.  Long before I joined, they selected Gulp to manage application tasks such as allowing it to run on localhost at port 8888 for development & unit...