Eclipse and Selenium - Transforming .JAVA into .EXE or .BAT

0

I'm using Eclipse and the Selenium framework for creating automated Web page opening routines and executing commands (clicks on links, fill fields, change site etc). I've already been able to create some test routines and they all work very well.

As a next step, I wanted to transform a JAVA file I have with Selenium commands into an executable file (EXE or BAT, for example). Or know how to run this JAVA via Command Prompt, without relying on Eclipse to run it.

    
asked by anonymous 21.03.2016 / 19:06

1 answer

-1

If your file is an .jar executable and not a .jar package you can run this command at the prompt:

java -jar  meuJar.jar
    
30.04.2016 / 00:15