some issues regarding testng
<ol>
<li><p>I am not able to perform the input from console.</p>

<pre><code> @Test
        public static void abcde1() throws Exception
         {
             Run1 run123=new run1();

             ApplicationContext context = new ClassPathXmlApplicationContext(
                "test-beans.xml");
   ServiceClient serviceClient = (ServiceClien)context.getBean("customer");
             System.out.println(serviceClient);
             run123.setup(serviceClient);//setup belongs to another class
         }   
</code></pre>

<p>2.This function belongs to another Run1.(BufferRead is defined there only and it takes System.in as the input.   </p>

<pre><code>    public void setup(ServiceClient serviceClient) throws Exception {

     System.out.println("enter some ");     

    System.out.println("Enter the UserName the user wants to login With");
String userName = bufferRead.readLine();
System.out.println(userName);
    }
</code></pre></li>
</ol>

<p>In program  i m calling this test by referring to the testng.xml</p>

<pre><code>      &lt;suiteXmlFiles&gt;
           &lt;suiteXmlFile&gt;testng.xml&lt;/suiteXmlFile&gt;
      &lt;/suiteXmlFiles&gt;
</code></pre>
