- Create a class ( assume name Test.java)
- Write your selenium code in public static void main method.
- Right click on Test.java file and select Export option
- Choose "Runnable JAR file" under Java
- Next
- Choose Export destination
- Package required libraries into generated JAR
No comments:
Post a Comment