Record and replay

Hi,
I am new to RobotFramework, I just wanted to know whether RobotFramework has a record and replay feature. I cannot find any documentation which indicates it does.

Cheers.

Hi Hiep,

Generally no there is no “record” functionality in robot framework and it’s not really needed especially if you use an editor like RIDE or RED that have templates robot files and autocompletion (I personally just use the atom text editor, so use what ever works best for you, try a few options and see what you like)

There is however a “recorder” plugin for Chrome that will generate selenium library test cases which can be found in the chrome web store and on github it doesn’t appear to have been updated since 2018 though.

As the syntax for a robot file is very simple and quite easy to read there is not really a need for a recorder option, after you have created a couple simple test cases you’ll be on your way and wont really be wanting a recorder anyway. If you stuck and not sure how to do something just ask in this forum, most people here are quite friendly and helpful.

Hope that helps,

Dave.

1 Like

Hi @hiepwork08

RoboCorp published a fork of the RoboCorder for Chrome mentioned by @damies13 : Robocorp Recorder - Chrome Web Store

You can even choose between generating Selenium or Browser keywords.

Regards,
Markus

1 Like

Hi Markus,

Do you know anyone from Robocorp?

Robocorp Recorder is no longer in the Chrome Web Store, even the old version appears to have been removed, so I was wondering what happened to it?

Robocorp Recorder had the ability to generate scripts for Browser Library as well as SeleniumLibrary so would be useful for people who need that.

At lease robotcorder is still available and seems to still work.

Dave.

Hi,
Robocorp stop to use RF for their RPA solution.
They prefer to use AI stuff with Python, instead of RF.
As a consequence, they stop the recorder plugin, the vscode plugin, etc…
Embracing Python for Automation-as-Code | Robocorp

To identify Selectors, you can use the browser keyword: Record Selector
https://marketsquare.github.io/robotframework-browser/Browser.html#Record%20Selector

Just put this keyword in your test at the step which displays the web page.
The test will then pause and display a popup which helps to identify selectors on the current page.

If you are using selenium, move to browser lib (cf https://www.youtube.com/watch?v=ElczF8J7dcE) :stuck_out_tongue:
Regards

Olivier

1 Like