Hello @naveen.a
-
You can export recorded tests as YAML file, and run it with the CLI locally
TestProject Agent CLI - TestProject Documentation
-
You can export recorded tests to JUnit + Gradle

GitHub - testproject-io/java-opensdk: TestProject Java OpenSDK
-
Since exporting recorded tests is done in JUnit and Gradle, you can first convert your generate gradle project using the maven plugin for Gradle:
In the generate build.gradle add
id 'maven'
Inside plugins
plugins {
id 'java'
id 'maven'
}
Now in others, you will have an ‘install’ task:

After you run it, it will generate a pom.xml file that represents the build.gradle

Afterwards, just add the TestNG dependency, and you are good to go.
https://mvnrepository.com/artifact/org.testng/testng
In the near future we will add the ability to generate for Maven and TestNG as well.