Same question I browsed over the internet but not getting the one point answer.
I'am working on Automation Selenium using Java. I have created one class lets say
ProductDetailsPage.java so I have created all PDP related test in this particular class but the code length of this file is around 1800 lines.
I'm not sure weather its comes under recommended code limit. If no then How can i reduce the length as i have to write these many lines to automate the all PDP testcase ?