Wednesday, 29 August 2018

Creating Selenium Automation tests faster using Katalon Recorder

his blog will teach you how to create Selenium automation tests faster using Katalon Recorder.
Once your basic Selenium framework is ready all you want to do is create your functional tests in a fast pace to achieve your automation coverage fast. But it takes time to create Object Repository of elements in each page of your application and also creating reusable methods in each page.
This is where Katalon Recorder comes in to picture where you can do both faster. Every one using Selenium knows Selenium IDE recorder which was a Firefox plugin supported in older versions of Firefox. Katalon Recorder looks similar to Selenium IDE Firefox plugin.
Main Features:
  1. Powerful IDE to record and run web UI tests
  2. Can edit your recorded tests
  3. Can export tests in Java, C#, Ruby, Python, Groovy
  4. Plugin available on Chrome and Firefox
  5. Uses Selenium 3 Core engine
Adding as Firefox Plugin:
Search for Katalon Recorder and Click Add to Firefox button. Restart Firefox and Katalon Recorder will be available as an add-on.

Click on The K icon it opens the recorder

Press the Record button and start performing an action on the browser and you’ll see the recorder showing the actions in the form of code

Click Stop once you’re done with the test case and you can export it using the export button. It gives us multiple options choose required one and save it in your local.

We can run the recorded test using the Play button.


I exported the recorder test with option Java (WebDriver + TestNG)

Adding as Firefox Plugin:
Search for Katalon Recorder plugin and Click ADD TO CHROME button.

Recording and export is similar to Firefox Katalon Recorder