Page Object Model(POM) and Keyword driven FrameWork in Selenium

0 votes
I'm new to Selenium and I was thinking that, in Page Object, we must create a java class for each page. And, in Keyword Driven Framework, we create a generic module, based on the input and action are performed based on those predefined rule(s).

So, my question is, can keyword driven framework, and page model used together? Is there any use?
Apr 7, 2018 in Selenium by rajteja
1,464 views

1 answer to this question.

0 votes
Okay, first of all, page object model is a repository which stores the details about all the elements in a web page.
And, Keyword driven framework is used to execute one or more methods defined in a class.

So, to answer your question, the two can be implemented together as well as separately because the methods in a class are not just restricted to web elements, but for more functionality as well.
answered Apr 7, 2018 by nsv999
• 5,110 points

Related Questions In Selenium

0 votes
2 answers

Selenium: Diff between POM (page object model) and page factory?

Hi, In POM (Page Object Model) you create ...READ MORE

answered Mar 14 in Selenium by Ellen Dares
3,003 views
0 votes
1 answer

What is Page Object Model in Selenium WebDriver?

If you want to learn about Selenium ...READ MORE

answered Jun 14, 2018 in Selenium by Meci Matt
• 9,420 points
159 views
0 votes
1 answer

Page Object Pattern in Selenium WebDriver

Check below links: Documentation: Page Objects and PageFactory  Page Object Design Pattern  Other ...READ MORE

answered Apr 17, 2018 in Selenium by Vardy
• 2,270 points
204 views
0 votes
1 answer

Login page test script using selenium and java in Eclipse IDE

Here is an example to login to ...READ MORE

answered Apr 23, 2018 in Selenium by Meci Matt
• 9,420 points
3,299 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,110 points
975 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
1,130 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
871 views
0 votes
1 answer

What are the differences between getText() and getAttribute() functions in Selenium WebDriver?

See, both are used to retrieve something ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,110 points
5,961 views
0 votes
1 answer

How to scroll the Page up or down in Selenium WebDriver? (using java)

Its pretty simple. Check out the below ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,110 points
8,445 views