How to convert commands recorded in selenium IDE to Java?

前端 未结 5 2247
遇见更好的自我
遇见更好的自我 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:06

    Update: Starting from SeleniumIDE 3.x unfortunately both functions mentioned in previous answers "Export" and "Options->Format" were removed (reason is the porting to the new WebExtensions format of Firefox and Chrome).

    But a current alternative is Katalon Recorder which is available for Chrome and Firefox.

    Katalon Recorder has an "Export" button and can export 3 Selenium formats, with TestNG, with JUnit and even with Thoughtworks WebDriverBackedSelenium and JUnit.

    Just press "Export", choose your format, than "Copy to Clipboard" or "Save as file...".

提交回复
热议问题