RE: I have a requirement like that i have to run testcases without using testng. As in testng we run all the testcases in xml format.

I have a requirement like that i have to run testcases without using testng. As in testng we run all the testcases in xml format. i dont know how to run all the testcases  without using testng.

jayasridedhe Default Asked on November 6, 2017 in Selenium WebDriver.
Add Comment
1 Answers

I guess TestNG  only uses xml for suite.

when you use junit

this is a class “Suite Geral”

package Suite;
import org.junit.AfterClass;

import org.junit.BeforeClass;

import org.junit.runner.RunWith;

import org.junit.runners.Suite;

import org.junit.runners.Suite.SuiteClasses;
import Core.DriverFactory;

import Page.LoginPage;

import Test.ClasseTabelaTest;
@RunWith(Suite.class)

@SuiteClasses({
MarcaPesquisarTest.class //------------->class with test
})

public class SuiteGeral {
 
 
}
Default Answered on November 9, 2017.
Add Comment

Your Answer

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