how to execute multiple test method of another class from main class using TestNG

Hi All,

I am using TestNG framework which consist of 4 different classes. I am accessing those methods from my main Driver class.  I have used @Test annotation but still when i run my XML file i get the report which displays the results for main Driver class files.

How to display the results for another class @Test methods.

Can anybody Help urgently !!

Add Comment
  • 1 Answer(s)

    Hi Dear,

    Try with this URL. it may help you to solve your problem.

    Train Answered on June 16, 2016.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.