The Design pattern of keyword Driven framework and BDD Test Framework is the same.
But the only difference in the BDD Test framework is having steps definition package in place of tests package and feature files in the project folder.
POM or Page object model is a design pattern which we follow in test automation to create a framework for any application under test.
In this we used to create a page class for each and every screen then we need to create variables and assign all the locator values to it for each web page in that created page class.
We will then create methods in the same page class for required operation on MobileElements.
As it maintains MobileElement locator values in pages so that it will be very easy to modify whenever we require.
Feature files and steps package
Now, We need to create feature files under the project folder and create step definition files for respective feature files under the steps package.
Let us see in the next chapter how to design framework structure.