Difference Between #Gradle Selenium and #Maven Selenium using #TestNG
#Gradle #Selenium Difference Between And #Maven #Selenium Using #TestNG
. -Gradle Execution Is Faster Than Maven
-In Maven You Have To Define Dependencies In Xml Form In Pom.Xm But In Gradle It'S Easy To Define In Build.Gradle.
- By build.gradle file has task as test means you can execute your TestNG xml file by creating task as test in build.gradle
-To compile and run command: gradle clean build. -If
you want to run your code by Jenkins then you have to put bellow steps in Build, pick Invoke Gradle Script, select Use Gradle Wrapper option, check make gradlew executable, In task add your task name like Test, In switches define clean Build