TestNG Tutorials 11: How To Run TestNG class From Sub-package Using TestNG.xml?

Hello Folks, Java allows you to group similar types of classes, interfaces and sub packages. You can create nested packages means package inside package which is termed as sub-packages. Let’s create a below¬†hierarchy of package: Create a Package “MainPackage”. Create a class “MainPackageClass”¬† in “MainPackage” Create a sub package “SubPackage” inside “MainPackage”. Create a class … Continue reading TestNG Tutorials 11: How To Run TestNG class From Sub-package Using TestNG.xml?