Skip to main content
deleted 64 characters in body
Source Link
Vishal Aggarwal
  • 5.6k
  • 2
  • 20
  • 37

What is the right level of function abstraction in Page object model?

I wonder how people take a call in deciding the right level of function abstraction in Page objects, I sometimes find myself either on a very high level like "CreateOrder" or sometimes very low level like "clickSubmitButton"..

Is there any rule of thumb or best practices to break down user operations on a page in easily manageable,readable, reusable Page object methods?

What is the right level of function abstraction in Page object model?

I wonder how people take a call in deciding the right level of function abstraction in Page objects, I sometimes find myself either on a very high level like "CreateOrder" or sometimes very low level like "clickSubmitButton"..

Is there any rule of thumb or best practices to break down user operations on a page in easily manageable, reusable Page object methods?

I wonder how people take a call in deciding the right level of function abstraction in Page objects, I sometimes find myself either on a very high level like "CreateOrder" or sometimes very low level like "clickSubmitButton"..

Is there any rule of thumb or best practices to break down user operations on a page in easily manageable,readable, reusable Page object methods?

Tweeted twitter.com/StackSQA/status/948035811555139584
Source Link
Vishal Aggarwal
  • 5.6k
  • 2
  • 20
  • 37

How you decide the right level of function abstraction in Page object model?

What is the right level of function abstraction in Page object model?

I wonder how people take a call in deciding the right level of function abstraction in Page objects, I sometimes find myself either on a very high level like "CreateOrder" or sometimes very low level like "clickSubmitButton"..

Is there any rule of thumb or best practices to break down user operations on a page in easily manageable, reusable Page object methods?