Best practices while creating page object classes - Prasannapujar/CucumberFrameWork GitHub Wiki

  1. Naming Convention

1. each and every page object class created should have suffix Page
Ex:SignInPage,HomePage,…
2. All the methods and variable will follow camel Casing
ex: if variable name “emailAddressBtn” and method name “setEmailAddress”
3. all locator has to be named fieldname+htmlType *
ex: emailInput,passwordInput,searchResultDiv
4. all methods in page object has to be action+fieldName
ex: setEmailAddress,checkGender,clickSearch

⚠️ **GitHub.com Fallback** ⚠️