title: Building a selenium framework using POM and need some advise from experts
body: <p>Building a selenium framework using POM and trying to add common action class for repeatedly used functions like set text, get text, set radiobutton, listbox etc., structure like below</p>
  
  <p>Test --> POM page object </p>
  
  <p>POM page object --> common action class</p>
  
  <pre><code>@Test
  public void verifyGooglebuttontext() {
      System.out.println("set search value");
              googlepage.setSearchValue("Google Test");
      Assert.assertEquals(addC.verifytext(),"Google");
  }
  </code></pre>
  
  <p>POM</p>
  
  <pre><code>@FindBy(name="q")
  WebElement txtGoogleSearch;
  
  public static setSearchValue(String txt) {
           setText(txtGoogleSearch, txt)
  } 
  </code></pre>
  
  <p>Common Action class</p>
  
  <pre><code>public void setText(WebElement element,String Value ){
          element.sendKeys(Value);
  }
  </code></pre>
  
  <p>My query is whether this will impact in performance as I have to call 2 functions rather than setting and getting control values directly in Page object class.</p>
  
  <p>Please advise.</p>