Skip to main content
improved question
Source Link
Bharat Mane
  • 6.8k
  • 11
  • 41
  • 69

I have been doing automation testing since last 2 years and I am following below ways for any website and mobile application automation testing.

I have been doing automation testing since last 2 years and I am following below ways for any website and mobile application automation testing.

  1. Create Global Method class where I implement all test cases
  2. Create class for constant values where I put all constant values
  3. Create Utility package and Add class under it to invoke browser and webdriver
  4. I do data driven and all within globalmethodglobal method class.

Above is easy for me and also easy to maintain as well. But When I look at Page Object Model , I got confuse because many people are saying page model object is easy to manage but how? It require to create methods for each field and becomes long time taking when we have form with 100+ fields.

I have checked page object model example HereI have checked page object model example here.

Please help me that how can I decide that which model I should use for automation. I know it is depends in project and requirements but still I need some good hints. And Suggest other models also if suitable.

Please help me that how can I decide that which model I should use for automation. I know it is depends in project and requirements but still I need some good hints. And Suggest other models also if suitable.

I have been doing automation testing since last 2 years and I am following below ways for any website and mobile application automation testing.

  1. Create Global Method class where I implement all test cases
  2. Create class for constant values where I put all constant values
  3. Create Utility package and Add class under it to invoke browser and webdriver
  4. I do data driven and all within globalmethod class.

Above is easy for me and also easy to maintain as well. But When I look at Page Object Model , I got confuse because many people are saying page model object is easy to manage but how? It require to create methods for each field and becomes long time taking when we have form with 100+ fields.

I have checked page object model example Here

Please help me that how can I decide that which model I should use for automation. I know it is depends in project and requirements but still I need some good hints. And Suggest other models also if suitable.

I have been doing automation testing since last 2 years and I am following below ways for any website and mobile application automation testing.

  1. Create Global Method class where I implement all test cases
  2. Create class for constant values where I put all constant values
  3. Create Utility package and Add class under it to invoke browser and webdriver
  4. I do data driven and all within global method class.

Above is easy for me and also easy to maintain as well. But When I look at Page Object Model , I got confuse because many people are saying page model object is easy to manage but how? It require to create methods for each field and becomes long time taking when we have form with 100+ fields.

I have checked page object model example here.

Please help me that how can I decide that which model I should use for automation. I know it is depends in project and requirements but still I need some good hints. And Suggest other models also if suitable.

Question refers to Page Objects, reflect that in the title so others will know context
Link

How To Select Which Model to use Use Page Object vs other models for Automation in Selenium Webdriver?

Source Link
Helping Hands
  • 2.5k
  • 3
  • 30
  • 54

How To Select Which Model to use for Automation in Selenium Webdriver?

I have been doing automation testing since last 2 years and I am following below ways for any website and mobile application automation testing.

  1. Create Global Method class where I implement all test cases
  2. Create class for constant values where I put all constant values
  3. Create Utility package and Add class under it to invoke browser and webdriver
  4. I do data driven and all within globalmethod class.

Above is easy for me and also easy to maintain as well. But When I look at Page Object Model , I got confuse because many people are saying page model object is easy to manage but how? It require to create methods for each field and becomes long time taking when we have form with 100+ fields.

I have checked page object model example Here

Please help me that how can I decide that which model I should use for automation. I know it is depends in project and requirements but still I need some good hints. And Suggest other models also if suitable.