Open jayanaidu33 opened 5 years ago
where is ur XML file?
I have the same problem and I don't know how to solve it, but if I run it directly using TestNG.xml, won't this problem occur If I am alone in my case class run one of the cases, can appear org. Testng. TestNGException: sun. Security. The provider. Certpath. SunCertPathBuilderException: unable to find valid certification path to requested target
TestNG Script:
package day5;
import org.testng.annotations.Test;
public class Grouping { @Test(groups="Sanity") public void Test1() {
}
@Test(groups="Smoke") public void Test2() {
}
@Test(groups="Sanity") public void Test3() {
}
@Test(groups="Smoke") public void Test4() {
} }
TestNG.XML
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd" >