This videos describes about the top 3 open sources automation tools used in 2018.
**********************
Selenium
Behavior Driven Development(BDD)
Gherkin Language
Cucumber
*************************************
What is Selenium???
It is the SUITE of software tools to automate WEB(only) applications across different OPERATING SYSTEM and BROWSERS .
*******************************************************
Behavior-driven development is a software development process.
Gherkin is a plain English text language, which helps the Cucumber to interpret and execute the test scripts
Syntax:
Feature − Name of the feature under test.
Description (optional) − Describe about feature under test.
Scenario − What is the test scenario.
Given − Prerequisite before the test steps get executed.
When − Specific condition which should match in order to execute the next step.
Then − What should happen if the condition mentioned in WHEN is satisfied.
Example :
Feature: Serve coffee
In order to earn money Customers should be able to buy coffee at all times
Scenario: Buy last coffee
Given there are 1 coffees left in the machine
And I have deposited 1 dollar
When I press the coffee button
Then I should be served a coffee
Keywords:
Given −
It describes the pre-requisite for the test to be executed.
When −
It defines the trigger point for any test scenario execution.
Then −
Then holds the expected result for the test to be executed.
And −
It provides the logical AND condition between any two statements. AND can be used in conjunction with GIVEN, WHEN and THEN statement.
But −
It signifies logical OR condition between any two statements. OR can be used in conjunction with GIVEN, WHEN and THEN statement.
************************************************************
Cucumber is a testing approach/tool/framework which supports Behavior Driven Development (BDD). It explains the behavior of the application in a simple English text using Gherkin language.
**************************************************************
Please free to correct me in case of any wrong information mentioned.