Headless Testing Automation with casperJS + PhantomJS

iamanupmenon

​With changing technologies and fast-paced go-to-market strategies, it is imperative to have automation built-in in every aspect of software development and testing. With such challenges, testing and verifying each and every functionality of a web application is really difficult in every iteration. ​One way of resolving this is to have a quick automation framework. This can be easily achieved with the help of ​automating the functional aspects of the web application using casperjs. It is fast as complete workflows can be recorded with the help of resurrectio (​ a Chrome extension) and run the recorded scripts (with little or no modification) using a continuous integration tool - Jenkins. The tests can be scheduled to run every morning so that a report is emailed indicating if all critical functionality of the site is fine. In case of error, a corrective action can be taken.

--> Overview of the session

  • Basic installation and configuration
  • Recording a script
  • Runing it in the machine
  • Configuration and installation of JenkinsCI
  • Scheduling it to run daily.

 

--> What level of knowledge should attendees have before walking into your session : Basic JS knowledge, installation and configuration will be demoed during the session.

--> What will your session accomplish and what will attendees walk away having learned : How to achieve reports everyday in little time. ​This session is also for beginners in js.

Session Track

DevOps

Experience Level

Beginner

Drupal Version