Selenium & Cucumber BDD – Tutorial 19/32: What Is A Step Definition Class?

Опубликовано: 26 Октябрь 2024
на канале: www.QAUNI.com
222
1

NEW COURSES NOW AVAILABLE - UPDATE (2019) :
Advanced Selenium Webdriver, Java & Cucumber BDD:
https://www.udemy.com/cucumber-bdd-se...

WebdriverIO, JavaScript, Mocha & More!:
https://www.udemy.com/automation-test...

Selenium & Cucumber BDD – Tutorial 19: A step definition class is used to map our Feature Files with Java and Selenium code, for example let’s say we have a Feature File with two test scenarios, our Automation Framework will then scan all step classes for a matching step and if a match is found, the program will execute the code contained within that given step. Feature Files contain test scenarios listed as a series of steps, our program searches for a matching step within the Steps classes, if a match is found, then the code Selenium & Java code is executed for that given step.

QAUNI: https://www.QaUni.com