title: design approach of a selenium script in java with more than 10 methods
body: <p>I am working on a automation script for my webapp. I have created different methods for different functionalities. For Example -I am adding Income, Expenses, Savings, Retirement etc to my financial profile using methods. </p>
  
  <p>Currently i have one class in which i have defined and calling all these methods.I have not done much work in Java so really confused on how to improve my design.</p>
  
  <p>My current design is like below</p>
  
  <pre><code>     public class {
            variables;
            Webdriver declaration
            Report declaration
            Launch browser 
  
      main method {
             loadmyapp method
             addincome method
             addexpense method
             .. 
             ..
             addsomething method(method no 11)
  
          }
  
  addincome method declaration
  addexpense method declaration
  ..
  ..
  addsomething declaration(no 11)
          report method declaration
          screenshot method declaration
          close method declataion
  
          }
  </code></pre>
  
  <p>Any suggestions on above design will be highly appreciated. Thanks!</p>