How do I run a selenium test using maven from the command line?

后端 未结 4 1789
再見小時候
再見小時候 2020-12-15 11:02

I currently use Eclipse as my Java IDE and I use Maven. I click the run button and it is able to run a Selenium Java test I wrote.

I then proceeded to install Maven

4条回答
  •  清歌不尽
    2020-12-15 11:25

    This is a older thread, but still want to provide input for those who are stuck up at this. You have to make sure that the class file names you are creating are ending with "Test" string. e.g. AppTest, TempTest are all valid class file names, but AppCheck, TempTest1 are invalid name; maven will not detect these files for execution.

提交回复
热议问题