How to convert commands recorded in selenium IDE to Java?

前端 未结 5 2257
遇见更好的自我
遇见更好的自我 2020-12-05 03:00

Is there any application or simple way to convert all the commands recorded by Selenium IDE to Java (Selenium WebDriver)? It would be a lot more ea

5条回答
  •  悲哀的现实
    2020-12-05 03:15

    In my Selenium IDE version 2.4.0 it is easy as pie:

    1. Record testcase in Selenium IDE
    2. Click File - Export Test Case As - Java / JUnit4 / WebDriver
    3. Save File as .java

    And here you go! Your testcase is converted to WebDriver ;)

提交回复
热议问题