简体   繁体   中英

Is there a way to run selenium Java scripts without installing Eclipse?

I built several selenium Java scripts and each class represents a test and I also built nice UI that allows the users to select which test they want to run. All the classes are under the same project/package I am trying to deploy this UI to end users so that they can run it to select the tests without having to install Eclipse. This will make it so easy for me to deploy it to end users.

Is this double?

You can specify the instruction to run it from command line as follows

java -jar filename.jar ex:

java -jar program1.jar the program1 consist of the followings are:

program1.class file Resource library file such as SeleniumRC Server.jar and Selenium Java client.jar file This method is applicable for SeleniumRC execution. We can directly create the program1.jar file from eclipse using File->Export.

I haven't tried it. Hope this helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM