making jar file of a test project in selenium web driver

后端 未结 3 714
借酒劲吻你
借酒劲吻你 2020-12-21 06:06

I have created a test suite (making a main file and calling other test cases that I like to run) .Now is it possible to make a jar file of test suite that i have made so tha

相关标签:
3条回答
  • 2020-12-21 06:50

    Before doing above steps. i mean

    Right click on project.
    Go To Export.
    .
    .
    .
    .....on Finish
    
    • Clean the project to avoid “duplicate entry” error when exporting Java project to JAR with Eclipse.
    • Enable Auto Refresh in Preferences - General - Workspace - Refresh Automatically (called Refresh using native hooks or polling in newer builds)
      • Or Just right click on the project and click Refresh.
        to avoid “resource is out of sync with the filesystem” error.
    0 讨论(0)
  • 2020-12-21 06:54

    Right click on project. Go To Export. Select Jar or Runnable Jar as per your use click on next. Specify the main file name. Click on Finish.

    0 讨论(0)
  • 2020-12-21 07:10

    If you are using eclipse as an ide you can create a jar file very easily.

    Right click on project.
    Go To Export.
    Select Jar or Runnable Jar as per your use click on next.
    Specify the main file name.
    Click on Finish.
    
    0 讨论(0)
提交回复
热议问题