Tag: Selenium

September 2017 is not a great month of mine personally, but to make it great, I am going to share more videos than any other month. So keep an eye on your YouTube notification, you should be getting it every day*, instead of the usual pattern of every other day

ExecuteAutomation YouTube channel is there for close to 2 years and 6 months now with over 16,000+ subscribers from across the globe. We have video series for different types of tools and technologies such as

In this post we are going to discuss about running Chrome in headless mode with Selenium C#

Chrome headless

Headless Chrome is a way to run Chrome browser without the actual browser UI being spawned. Essentially its running Chrome without chrome! It brings all modern web platform features provided by Chromium and the Blink rendering engine to the command line and automation testing tool such as Selenium in our case

Where is it useful ?

A headless browser is a great tool for automated testing and server environments where you don’t need a visible UI shell.

And again its not a completely new technology, since there are other big players in this area such as

In this post we will discuss yet another useful feature introduced in NUnit 3.x where we can pass a parameter to NUnit test class of C# from Command Line Interface (CLI) using a new feature called –params

Passing parameters

Starting NUnit 3.x, there is an most awaited option introduced for Nunit-console runner, which is passing parameters to test method(s) via CLI using –params

What’s the use case of this?

Consider a scenario something like this, Lets say we have to test application with multiple browsers and we somehow have to parameterize the BrowserType like Firefox,Chrome,IE

Then, we can do it via CLI and pass the parameter to the whole framework to run test based on the parameter (browser type) that we passed.