Now that Selenium webdriver was tired of talking to the browser, I let Cukes walk with Watir. Cucumber will help you do BDT(behaviour driven testing)and not BDD(Behaviour Driven Develpoment). It will allow you to write your test cases in language of action and Watir webdriver will interact with the browser. No doubts, at the core lies awesome 'Selenium'. Building an approach to automated testing is very important and what a  QA needs to know before he takes up the task of test automation. We will look through sample code for some of the common test cases on a web page. Using Cucumber efficiently, maintenance of test scripts and generating test reports will be a part of the session. Ah! Continuous Integration is in trend so we 'll see how good is the Butler Jenkins in it's service when it comes to Cucumber+Watir. Configuring the jobs, Jenkins required plugins and report generation will be included.Talk will include a demo of Cucumber + Watir test scripts, and Jenkins job configuration for the same tests as well.


Outline/Structure of the Talk

  • Intorduction to test automation, Selenium, Cucumber(BDT and not BDD)
  • Why and What to automate?
  • Demonstrate the use of Cucumber
  • Discuss best practices, maintaining test scripts
  • Overview about the DOM elements of the web page
  • Introduction to Watir webdriver
  • Consider some of the common test cases with code snippets and explanation to it.(demo as well)
  • How do we integrate with Jenkins and configure jobs
  • Generating test reports

Learning Outcome

The participants will be able to develop an effective appraoch to automated testing. They will know what they need to do before they take up the task of test automation. Being able to write test scripts is just not enough, they should be able to write maintainable test scripts. Writing test scripts with Cucumber and Watir would be a good learning. Overview of Jenkins will be helpful and enable them to use CI for their tests. Attending this session will help them learn an end-to-end testing process and find that Selenium is at the core, learn to use Cukes and Watir webdriver.

Target Audience

Anyone willing to test a web application or develop an approach towards testing it.

schedule Submitted 8 years ago

  • Ramu

    Ramu / Sreenivasulu K M - Omni-Channel Digital Testing Made Easy Using Selenium & Appium

    45 Mins

    Gone are the days where digital channels were few, predominantly web with one or two browsers. The scenario is different today, not only do we have multiple channels like web and mobile (iOS & Android), we also have different browsers and localization settings. In this scenario, the traditional testing models are rendered inefficient and at times even ineffective.

    Having worked with Global brands and delivered Omni-Channel Digital Testing for them over the years, we have developed a framework that makes this testing efficient and assures effectiveness.
    Valtech’s Digital Testing Framework uses PageObject-Design pattern for more maintainability, localization, environment compatibility (Selenium+Appium APIs), easy execution, user-friendly reporting and integration with CI and seamlessly aligns with Agile Methodology.

    If would like to know more, do attend our demo at the Selenium Conference 2014.


  • Prabu

    Prabu - A Non-conventional automation approach to truly shift left by taking scripting out of the equation

    Prabu Ayyappan (Monk)
    schedule 8 years ago
    Sold Out!
    45 Mins

    Organizations in their quest for accelerated and bug free software delivery are increasingly moving towards the use of Agile development methodology.
    However, maximizing the benefits of Agile software development requires software development and testing to begin concurrently. Agile specific challenges, such as frequently changing project scope, requirement of frequent builds to sustain rapid sprints, minimal documentation and the need for active stakeholder involvement makes development and maintenance of automation scripts all the more difficult.
    In our view, unlike the traditional automation approaches, a non-conventional approach that takes scripting out of the equation while continuing to provide the power and flexibility of a scripted approach can avoid these obstacles plaguing agile automation.
    In this session, we will present a live demo and talks about how wireframe-based navigation can be converted to automation scripts and then to Manual test cases.

  • Chirag Jayswal

    Chirag Jayswal - Introducing QMetry Automation Studio – Powerful Automation Platform for Test Authoring, Test Execution and Execution Analysis

    45 Mins

    QMetry Automation Studio built with a dedicated IDE for QA Engineers - both Manual and Automation Engineers. It provides a powerful and versatile platform to author Test Cases in Behavior Driven, Keyword Driven or Code Driven approach. It helps to significantly reduce costs involved in setting up Test Automation at any organization. It is a right tool for Web Platform, Mobile Platform (Native, Mobile Web, HTML5,etc) and Web Service test automation solution using Selenium and other related technologies.

    QMetry Automation Studio benefits any QA Team in developing highly maintainable and repeatable tests that utilize reusable test assets, proper modularity and semantic structure. Descriptive Reporting satisfies high-level as well as low-level (debugging) aspects.

    QMetry Automation Studio supports integrations with Test Management Platform (QMetry, HP ALM, etc), Continuous Integration Systems (Jenkins, Bamboo, etc), Mobile Device Cloud Solutions (Synchro, Perfecto Mobile, etc).

    QMetry Automation Key Features:

    Project Setup: Wizard Driven Project and Scenario Creation, Object Spy and Object Repository Validation right with in IDE
    Test Authoring : Behavior Driven Development (BDD), Keyword and Code Driven
    Test Data Management: Test Data Support (CSV, JSON, XML etc), Multi Property Editor (Different Locales, Different Environments, etc)
    Execution Reporting: Execution Dashboard, Detailed Analysis and Screenshot Capturing, Integrations with Test Management Tools, etc

  • Ritika Mishra

    Ritika Mishra - Fulfilling the ever increasing needs of automation for mobile device.

    60 Mins

    It’s a mobile world. This tiny bit of technology is used to create big impact. Mobile’s ubiquity and its accessibility across class, social and cultural lines allows new uses to develop everyday according to need and circumstance.

    Our whole big world is now wrapped up in a small device, whatever we did on out laptops or PC has now moved to our hand-held devices. Be it shopping or just plain surfing, be it finding the right job or a perfect match, hand-held devices are the preferred option now.

    This choice has increased the number of application on devices. And this competition has increased the features (accessibility) being offered.

    Here comes the need, when automating the testing of these devices the tester needs some control.

    Selenium has given this control by providing the API’s of almost all the functionality. But at times there are situations when even the solution provided to you by selenium team is not sufficient. You need to sit down and code your requirements, this is also supported by selenium as it is an open source.

    Our another need was that,

    We have a variety of users with their own specific choice of choosing a device of their own liking. We have iPhone, Android, Blackberry and various other options available in the market. We cannot restrict the user on a type of device for a specific application. So, app owner get the same app developed for all platforms. Here starts the woes of a tester again. Same application, same functionality to be tested over a variety of platforms.

    To handle this via automation we have “Appium” that was introduced in the first half of the year 2013.

    Now that we had “Selenium” and “Appium” these “increasing needs of automating a device” can now be addressed. So, here we have come out with a one point solution “KRYPTON

    KRYPTON, is a product designed by our company Thinksys Softwares pvt. ltd that seeks to cater all the needs and demands of automating a device. Here “device” means “a device” it includes the app to be automated, the features of device itself, and hybrid app’s everything that needs to be tested can now be automated to be tested with ease.

    While developing this product developers had the needs, present demands and future demands of QA in their heads along with that they also know that the work of a QA itself is so tough and our solution should not add to their woes.

    We have used simple excel sheet, where a tester just needs to write a test case in the way as he would write a normal manual test case. Rest is handle by KRYPTON


  • Rajnikant Jha

    Rajnikant Jha - Krypton - Using Selenium with spreadsheets - Look Ma - No Programming

    60 Mins

    Basic idea of Test Automation is to use a Test Automation Tool that mimic manual test flows using record and play-back. But this type of Test Automation has most part been a failure in large regression requirements. Main reason behind this is difficulty in customization of scripts which in turn require testers with good programming background. 

    With Selenium as an open source Automation tool and Selenium Web drivers with capabilities to provide stable and realistic approach, automation world started to move from record and play-back to some kind of Framework using Selenium Web Drivers.

    We will talk here about a hybrid Framework built on top of Selenium Web Drivers which is script less in true sense and uses spreadsheets for creating test assets. This framework has great history of satisfied customers using Selenium for automation.  Apart from friendly interface for testers it has many unique capabilities that we will discuss in our 60 minutes of talk.