ExecuteAutomation has reached over 8 Million+ views!

Dear friends,

Today I am very happy to announce that ExecuteAutomation has reached over 8 Million views across the globe.

ExecuteAutomation was launched in 2012 as an static website and later in 2014 it started releasing new videos on YouTube and on early 2016 it started releasing videos on Udemy platform. Almost all the free videos are now part of ExecuteAutomation blog and spanning over 3000+ registered users with over 3000+ comments and discussion.

ExecuteAutomation now features courses on most recent to up-to-date testing tools and technologies and the most recently launched course in 2019 are listed below

Cypress https://www.udemy.com/e2e-cypress/

Puppeteer https://www.udemy.com/course/puppeteer/

RestSharp with Specflow https://www.udemy.com/course/api-testing-with-restsharp-and-specflow-in-csharp/

Azure DevOps https://www.udemy.com/course/cicd-azure-devops-service-2019/

Flutter Driver https://www.youtube.com/playlist?list=PL6tu16kXT9PrzZbUTUscEYOHHTVEKPLha

All the above courses are available in Udemy and in YouTube platforms. If you are interested in any of the courses, please send me our an email to avail discount while purchasing the course.

Thanks,

Karthik KK

Writing super simple code with Puppeteer in VS Code

Writing code with Puppeteer and VS Code is really a great experience. Gone are those days while writing JS code in editors were very hard without intelli-Sense, but thanks to rich Type definitions in Javascript and VS Code integration, the code writing experience is as similar as writing compiled programming language in popular IDEs such as C# in Visual Studio and Java in IntelliJ IDEA.

In this article, we will discuss writing simple code for Puppeteer in VS Code as shown below.

Code in VS Code

As you can see the above screenshot, the first operation one should ever need while writing puppeteer code is to require the puppeteer library

const puppeteer = require('puppeteer');

Next up, we need to write an IIFE(Immediately Invoked Functional Expression) code block in Javascript to write our puppeteer code logic, something like this

(async () => {

})();

The first line of code we need to write while working with Puppeteer is to open the browser, which we can do using launch() method of puppeteer

const browser = await puppeteer.launch();

The above line of code launches the browser in headless mode, in order to run the browser in headful mode write the following code block

const browser = await puppeteer.launch({
        "headless": false
});

Once the browser is opened, we then need to open the page

    //Page
    const page = await browser.newPage();

As you can see the code is very easy to read and understand as we are playing around with browsers, pages and everything in the code is very easy to read and understand.

Finally, atleast for this article we need to navigate to the page and close the browser

    await  page2.goto('http://executeautomation.com/demosite/Login.html');

Close browser

await browser.close();

Here is the complete video of the above code discussion

Discussion as video

Automation testing with Puppeteer

Automation testing with Puppeteer is the next big thing in UI testing of web app this year. Puppeteer launched to general public on Jan 2018 and since then it has got all the latest and greatest features one would ever require for automating a modern web application.

Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by default, but can be configured to run full (non-headless) Chrome or Chromium

Puppeteer Course in Udemy

In this course Automation testing with Puppeteer we will learn a lot more details not just about Puppeteer tool, but also the tools and techniques which can make puppeteer even more better for testing larger application.

In this course we will start from basic topic to more advanced concepts of puppeteer such as

  • Introduction and Basics of Puppeteer
  • Distinguished features of Puppeteer
  • Extending Puppeteer
  • Jest with Puppeteer
  • Cucumber with Puppeteer
  • Puppeteer with Firefox
  • Cucumber HTML Reporting  with Puppeteer
  • Page Object Model with Puppeteer
  • Migrating project from ES5 to ES6
  • Advanced concepts of Puppeteer

The course covers topics which are not covered elsewhere in the internet and that makes the course more distinguished by itself.

More new topics will be added once there is new release happens in Puppeteer every now and then.

As that said, at the end of this course, the source code repository in the course will act as an clear guideline of how to extend the course based on your requirement at your work.

Course content

Here is the complete course content

Here is the complete video of the above content discussed

Please let me know if you are interested in the course, I will share you the coupon code for discount which you can use while purchasing the course.

coupon code

Contract Testing with Pact in C# .NET

In this article we will discuss working with Contract Testing with Pact in C# .NET language binding.

Before getting into Contract testing, lets first discuss the problem we have with Testing pyramid layers like Unit testing layer, Integration layer and E2E layer.

Problem with Unit testing layer
Problem with Integration testing
Problem with E2E layer

In order to overcome all the problems, contract testing comes into picture and looks very promising.

Contract Testing

Contract testing is immediately applicable anywhere where you have two services that need to communicate – such as an API client and a web front-end. Although a single client and a single service is a common use case, contract testing really shines in an environment with many services (as is common for a microservice architecture). Having well-formed contract tests makes it easy for developers to avoid version hell. Contract testing is the killer app for microservice development and deployment.

In general, a contract is between a consumer (for example, a client that wants to receive some data) and a provider (for example, an API on a server that provides the data the client needs).

Contract Testing with Pact

Pact is a contract testing tool. Contract testing is a way to ensure that services (such as an API provider and a client) can communicate with each other. Without contract testing, the only way to know that services can communicate is by using expensive and brittle integration tests

How Pact works ?

Here is how Pact works

Here is the complete video of the above discussion

Contract Testing with Pact

The above video has demo which will be part of the course “API testing with Restsharp and Specflow in C#” course in Udemy

Thanks for reading the article and watching the video !

Please leave your valuable rating and comments on the video and let me know if I need to add any details in the article.

Thanks,
Karthik KK

Era of Non-Selenium automation testing tools 2019

Selenium was developed as an internal tool in 2004 at ThoughtWorks and later it made publicly available as Selenium Webdriver coming out from alpha and beta stage in 2009

Selenium is the best tool even till now, it supports multiple browsers, ecosystems, language binding and many tools are extending Selenium or building on the top of Selenium even till date.

Lets discuss about each and every tool one by one

Here is the complete video of the above discussion

Thanks for reading the article and watching the video, please share your comments and let me know if I am missing anything in the discussion so that I can add one or make an all-new article.

Thanks,
Karthik KK

Software testing trend 2019

Software testing trend 2019

In this post, we will discuss Software testing trends of 2019 in much high level, as most of the trends that we will discuss below are carried out from last year and this year there will happen a lot of maturity and stability on the existing trend.

Quick Recap of testing trend 2018

As you can see above a lot of companies emerged based on AI as their focus to resolve software automation testing problem by introducing

• Self-healing
• Self-maintenance
• Self-reporting

The more interesting topic on AI is Sapienz technology which Facebook recently acqui-hired Majicke’s founders, Professor Mark Harman (scientific advisor), Ke Mao (CTO), and Yue Jia (CEO), alongside some of the company’s assets

Sapienz technology

Sapienz now automatically designs, runs and reports the results of tens of thousands of test cases every day on the Facebook Android app. In the first few months since its deployment, the technology has allowed engineers to fix issues within hours (sometimes within minutes) of the code being written. You can read more details from here https://venturebeat.com/2018/12/30/sapienz-facebooks-push-to-automate-software-testing/

Software testing trend 2019 (shown as vision)

For sure 2019, will be the year of AI in automation testing field, lot of companies like who are already working prominently in this area such as

  • Mabl
  • Testim
  • test.ai
  • Functionalize etc

Alongside Voice-based testing are set to improve such

  • Alexa and its related products (esp IOT products)
  • Google Home and Google auto
  • Cortana (may be)

Here is the complete video of the above discussions

Thanks for reading the article and watching the video, please share your comments and let me know if I am missing anything in the discussion, so that I can add one or make an all new article.

Thanks,
Karthik KK

Celebrate New year with new skills with 50% flat discount on all the Udemy courses released by ExecuteAutomation

Dear Friends,

Celebrate New year with new skills (or upgrade your skills) with 50% flat discount for all the Udemy courses released by ExecuteAutomation (only 20 coupons in each course) 

50% off on all courses !

If you need bulk coupon code, mail me, I will help you get even more discount coupon codes.

The offer is valid till the coupon code lasts !

Thanks,

Karthik KK