This blog will teach you how to create Selenium automation tests faster using Selenium Builder.
After my research i found out there are multiple recorders available to create selenium scripts faster.But these recorders will provide you script with absolute the x-paths and are ineffective. I suggest replace those x-paths with relative x-paths of your own.
Lets see how we can use Selenium Builder
Selenium Builder comes as Fire Fox plugin only with older versions of Fire fox (Not compatible with Firefox quantum and higher versions)
Features:
1.Selenium Builder allows you to record the script.
2.Edit recorded scripts.
3.Play back Selenium 2 recorded tests from within Firefox.
4.You can save the tests as JSON files or export them to a wide range of language bindings.
Adding as Firefox Plugin:
Search for Selenium Builder and Click Add to Firefox button.
Opening Selenium Builder From Firefox:
Restart Firefox and Katalon Recorder will be available as Menu option in Tools --> Web Developer -->Launch Selenium Builder.
Selenium Builder Recorder:
Click Launch Selenium Builder option and Recorder opens up.
While Recording:
Provide base URL and click Record Button.You can Check or Uncheck option for Delete all cookies for this domain.
Adding Verification:
To add verification click on Record a verification button and click on the link or element .This will add a assert in the recorded script
Once finished recording click Stop recording Button.
Exporting recorded test:
To Export : Go to File --> Export option . Choose export format menu gets displayed with available export options.
Choose the desired option and save the recorded script by providing a name.
Exported code snippet:
Open the saved file and the code looks like below.
We can run the recorded script using Run menu option.
For more info : http://seleniumbuilder.github.io/se-builder/












