I am using junit in eclipse for testing.While creating test suite I want to upload the data or the class name from excel file.Like in the given example I want to upload TrialTest.class and DivisionTest.class from an excel file.
@Suite.SuiteClasses( { TrialTest.class,DivisionTest.class })
Please suggest me a code for this.

Use Apache POI API to read from Excel files

Thanks for your suggestion.But I want to execute it in JUnit only.So do you have any solution for this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.