title: How to use value of Variable from void method?
body: <p>I have some void test which getting value from website: </p>
  
  <pre><code>  @Test
          public void MemberEditInfo(){
          ...
           WebElement element = driver.findElement(By.id("Member_Email"));
           String elementval = element.getAttribute("value");
           }
  </code></pre>
  
  <p>How can I use value of String <code>elementval</code> in another class(the method is void and does not return any value since if it would return a value then Junit wouldn't work)?</p>