Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How can we make a batch file for executing Selenium Webdriver projects in Java?
I am able to make Executable jar files By File> Export> Java> Runnable jar, but Want to make the BATCH File.
Please Help!!!
批处理文件不能用 jar 制作。您可以做的是制作 jar 文件并从批处理文件中调用它。您可以制作一个批处理文件并使用命令“java -jar Jar_File_Name”,现在当您运行批处理文件时,jar 将被执行。