What is Javascript TestRunner

How Javascript TestRunner originated; a Journey from HTML Webpages to Javascript TestRunner (which then became the Original Selenium):- In 1989 Sir Tim Berners-Lee proposed an Internet HyperText system and it was known as Hyper Text MarkUp Language (HTML) and was used for Web pages. Prior to this Text for newspapers and magazines was ‘marked up’ by editors before being sent to the typesetters, so they knew the font size, whether it would be in bold or italics and so on.

When wordprocessors appeared, they could send text straight to the printer and cut out the typesetter, the program ‘sent Text Markup Language (TML)’ to the printer; this it was similar to HTML e.g. to turn bold on and to turn it off.

Before HTML, text on computer screens looked very ordinary, however the introduction of HTML brought the text to life and could include images; the format and appearance of a webpage now looked very similar to a page in a magazine or newspaper.

In 1995 JavaScript was invented by Brendan Eich. His first version (where the languages syntax had to resemble that of Java) was completed in 10 days and called Mocha, but renamed LiveScript and then renamed JavaScript.

Scripts allowed developers to make webpages responsive and perform numerous functions/tasks etc., however, whereas before the use of scripts, webpages just needed proof-reading for ‘typos’, now they needed testing, which was done manually at first. Changes to code could cause problems - it was said to have a bug - a term used in electronics, which sometimes referred to a real bug stopping an electrical circuit from working). Testing became more intensive as webpages /web applications (WebApps) incorporated more code.

In early 1998, Brendan Eich co-founded the Mozilla project (which was free and open source), creating the mozzila.org website. The script was JavaScript, which he also created.

In 2004 a developer called Jason Huggins was working on a web application that required repetitive (manual) testing for frontend behaviour on different browsers; and he wrote a script (developed a tool) to automatically ‘Run the Test’ (amongst other things it ‘injected Javascript underneath the webpage’); he called it the JavaScript Test Runner. A Test Runner is a tool that is used to run or execute tests and export results.

To get around the requirement for JS-Injections, Jason Huggins worked with his colleague Paul Hammant to develop a server component (in Java) and TestRunner was ported to Ruby. This is how JavaScript Test Runner (open source) became the ‘Original Selenium’.

Safeguard Your Brand With Outsourced Software Testing Services
An unhandled exception has occurred. See browser dev tools for details. Reload 🗙