CodeceptJS Test Framework - Begin to think automation scripts are simple to read, write and debug

'Testing is fun' - Michael Bodnarchuk, creator of CodeceptJS
I am pretty sure it is. But how many of us actually feel that way?
Set aside Testers with Development background and you will find testers struggling to get a good hold of different automation tools available in the market. I am no exception.

In the past five years, Automation is the buzz word in the Testing World. Fresh graduates or young professionals are absorbing the automation journey in their career path. But you will find very few Senior Testers or Lead Testers doing a good job at this new trend to succeed in the industry. They have either moved to managerial roles or on the Business side of the organization. While there is no harm in that but we are headed towards a time where we can not escape whatever automation brings to our industry.
Thus, let me introduce to you an Acceptance testing Framework which is - 'CodeceptJS'. It is an end-to-end NodeJS TestFramework.
You have the liberty to use any of the helpers -
1. Classic Selenium +WebriverIO
2. Protractor
3. Nightmare
4. Puppeteer
Few really useful features being -
-Interactive Debug
-Parallel Execution & multiple browsers
-Web & Mobile Testing
-Convert your scripts written in one of the helpers into another
-Scenario driver & cucumber-like BDD

In this talk, I will demonstrate how to get started with codeceptJS automated testing & take advantage of the userfriendly and multiple features to write, read and debug automation scripts.

 
 

Outline/Structure of the Demonstration

The session will be divided into four parts/activities -

1. Introduction to CodeceptJS - What , why & how :: 10 mins

2. Explore features and functionalities :: 15 mins

3. Write a simple Test :: 12-15 Mins

4. Read through a Test - Run, Debug & correct it :: A small activity 5-7 Mins
> CodeceptJS is enabling automation testing with a simpler interface & setup. I will cover how to get started with it and then the audience can be built it as per their requirements on it.

> Added a detailed presentation : https://docs.google.com/presentation/d/1vf3B4wQM9Fnhq5oml5KAAepOtWCKwEQifcYGu-Su9jM/edit#slide=id.g7aac71d052_0_0

Learning Outcome

CodeceptJS gives wings to Selenium - Making it scalable, reusable, maintainable and so much more under one umbrella.
1. Ability to start off with CodeceptJS Automation Framework

2. Enabling you how to approach automation with CodeceptJS

3. Writing your own Test script to start automating.
You can start implementing this framework in your organization with basic examples and examples shared at - codecept.io Forum and Support. Not that you would not face difficulties but it will be fun to actually have a good learning curve.

Target Audience

Testers ,Developers, Test Managers, Project managers

Prerequisites for Attendees

No Prior knowledge is required.
Though basics of NodeJS will be helpful to the audience once they start pursuing and building their own Automation Framework.

Slides


schedule Submitted 3 years ago

  • 45 Mins
    Demonstration
    Intermediate

    Puppeteer is a Node js library (developed by Google Chrome team) to control Chrome and Firefox and is getting lot of traction recently because of its amazing capabilities. It has already become so popular that it has got 50K+ stars on Github against Selenium's 15K+ stars.

    In the last Google I/O event, this tool's capability has been showcased and it has been perceived as the next generation Web Test Automation Tool.

    Is Puppeteer better than Selenium? The answer is 'No', and I will cover 'why' in detail during this talk. I will show some live examples to demonstrate that Selenium can also do all those advance things which Puppeteer promises to do.

  • Sanjay Kumar
    Sanjay Kumar
    ChroPath Creator
    AutonomIQ
    schedule 3 years ago
    Sold Out!
    45 Mins
    Case Study
    Intermediate
    • Want to save 70-80% manual effort of automation script writing!!
    • Wasting time in verifying xpath one by one?
    • Want to complete automation script without wasting much time?
    • Are you still wasting time in writing english manual test cases?
  • Mayukh Ghosh
    keyboard_arrow_down

    Mayukh Ghosh - Kubernetes for Test Automation Success

    Mayukh Ghosh
    Mayukh Ghosh
    Principal Engineer
    ACI Worldwide
    schedule 3 years ago
    Sold Out!
    45 Mins
    Demonstration
    Intermediate

    Did you know that Tesla can deploy firmware updates to its Model S seconds after a developer updates a module to improve the car’s acceleration performance or refine the car’s console?

    Streamlined development-to-deployment efficiency arises elegantly from a smart automated testing strategy. In a world where time is precious spending hours to execute the tests is an

    outdated approach and hence it is necessary to fill the gap using the latest technology. Our idea is to build an infrastructure that supports faster execution of the automated tests.

    We plan to set up a selenium hub and selenium nodes in docker containers and once the nodes are registered to the hub ,initiate the process of test execution. This will parallelize the

    tests and establish 1:1 mapping between the tests and containers .

    Basic flow:

    1.Automation framework will count the tests to be executed.

    2.Set up the infrastructure of hub and nodes containers based on the count.

    3.Check if the hub is ready to accept request.

    4.Parallelize tests and send them to the hub for execution.

    5.After completion of the execution kill the containers.

    Benefits:

    1.Reduce Execution time significantly.

    2.Disposable runtime environments.

    3.Enhance development and release cycle.

    4.Lets new features and improvements reach the customer faster.

    5.Save time and money of the company in long run.

    6. No requirement for any reserved infrastructure

    7. Cloud native and portable

  • Yeswanth Lingala
    keyboard_arrow_down

    Yeswanth Lingala - Covering NFT (Non-Functional Testing) with Test Automation execution

    Yeswanth Lingala
    Yeswanth Lingala
    Lead Engineer
    Banking/Telecom
    schedule 3 years ago
    Sold Out!
    45 Mins
    Demonstration
    Advanced

    Most of the time, Non-Functional reports are generated from different teams at the last moment of the release and so are chances of last-minute delays occur. So, how about keeping a track on NFT reports during the test automation execution.

help