Translation Fitnesse scripts back to Selenium (IDE)

60 views
Skip to first unread message

spgd...@gmail.com

unread,
Sep 6, 2018, 9:47:21 AM9/6/18
to Xebium
On the website in the features-section there's this description: 

"With use of the Xebium Format a script recorded in Selenium IDE is automatically translated into wiki syntax and can be pasted into FitNesse. And reverse: Wiki syntax can be copied back to Selenium IDE and can run as a selenium script. Very useful for debugging"
https://xebia.github.io/Xebium/#features


I'd like to know how this can be done. I cannot find it.

Arjan Molenaar

unread,
Sep 6, 2018, 11:27:50 AM9/6/18
to xeb...@googlegroups.com
Hi,

It’s in the Xebium repo: https://github.com/xebia/Xebium/blob/master/src/main/ide/chrome/content/formats/xebiumformatter.js

Regards,

Arjan
> --
> You received this message because you are subscribed to the Google Groups "Xebium" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to xebium+un...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

spgd...@gmail.com

unread,
Sep 7, 2018, 6:56:46 AM9/7/18
to Xebium
Thanks!
Is there a description available how to use this formatter?

Arjan Molenaar

unread,
Sep 7, 2018, 7:05:02 AM9/7/18
to <xebium@googlegroups.com>
The formatter is (was) used with Selenium IDE, the Firefox plugin. You should check their documentation.

Regards,

Arjan

spgd...@gmail.com

unread,
Sep 7, 2018, 7:22:52 AM9/7/18
to Xebium
That's weird, because I see your name as the creator/uploader of this add-on in Firefox :)

Arjan Molenaar

unread,
Sep 7, 2018, 7:31:17 AM9/7/18
to <xebium@googlegroups.com>
Ah, I thought you were after the internals of the formatter. It’s just a firefox plugin.

I do not know if the plugin will still install on a recent firefox version.

The formatter itself can be selected from the menu of Selenium IDE. This page should help you out (although it has not been updated for years) http://xebia.github.io/Xebium/#installation

Be aware that creating and maintaining GUI tests is not easy. They have a tendency to become brittle and there are many subtle issues that can pop up, like timing related issues. Those are very hard to diagnose.

Hope this helps,

Arjan

Cirilo Wortel

unread,
Sep 7, 2018, 7:43:56 AM9/7/18
to xeb...@googlegroups.com
Hey Arjan and spg, 

I guess Arjan’s explanation is a bit cryptic :) 

The formatted used to be a Firefox plugin, that could be added in selenium ide as an output format. Just like the other formats. I have not used it for some years, so I don’t know the current status. Arjan is it still available? There used to be a description of its usage on the website.

Met vriendelijke groeten/Kind Regards,

Cirilo

On 7 Sep 2018, at 12:56, spgd...@gmail.com wrote:

Arjan Molenaar

unread,
Sep 7, 2018, 7:49:27 AM9/7/18
to xeb...@googlegroups.com
Hi C,

Thanks for stepping in :D

@spgdirkx: were you planning to use this plugin?

> On 7 Sep 2018, at 13:43, Cirilo Wortel <wor...@gmail.com> wrote:
>
> Hey Arjan and spg,
>
> I guess Arjan’s explanation is a bit cryptic :)
>
> The formatted used to be a Firefox plugin, that could be added in selenium ide as an output format. Just like the other formats. I have not used it for some years, so I don’t know the current status. Arjan is it still available? There used to be a description of its usage on the website.

I have not checked if it can still be installed from the firefox plugin store. I received some mails that they’re removing the old plugin infrastructure from firefox, so it will probably be removed in the near future ;)

Cirilo Wortel

unread,
Sep 7, 2018, 8:05:31 AM9/7/18
to xeb...@googlegroups.com
Ah i see I missed part of the thread. I was referring to your first mail A. Your further explanation is fine. I’m not even sure if selenium IDE is still under maintenance.

Anyway I agree with Arjan, use selenium ide just to get familiar with selenium commands and locators. Avoid using it as your automation tool.

When using fitness try to stick with fixtures as much as possible. Scripts become difficult to maintain quickly.

Met vriendelijke groeten/Kind Regards,

Cirilo

spgd...@gmail.com

unread,
Sep 7, 2018, 8:15:33 AM9/7/18
to Xebium
In the first place, I'm familiar with automated GUI testing. Thanks for the tips anyway :)
The reason I need this plugin (add-on) is not to start something new, but to re-use testscnario's that are in Fitnesse at the moment. 
Regarding to the title: the scripts need to be 'converted' back to Selenium (IDE) format to be able to re-use it in another Selenium bases automation solution. So, it's to recover a set of a lot of testscenario's from Fitnesse that get lost otherwise.

So, the way to do this 'reverse' conversion is by uising the Firefox add-on 'Selenium Xebium Formatter'. I just checked with a recent Firefox installation and yes this Firefox Quantum (v61) is not able anymore to use this add-on. But I also have an old Firefox Portable version (31) where I was able to install this add-on by using the .xpi-file (because on my server I was not able to download it right away).

Anyway, Now I have to check if and how this add-on works (and how easy/difficult it is to convert the testsets back to Selenium)...

Cirilo Wortel

unread,
Sep 7, 2018, 8:25:28 AM9/7/18
to xeb...@googlegroups.com
Ok cool, good luck. 

Once the format is active in selenium ide, you can just paste the fitness scripts in there and you will be able to run it from the ide. But if there’s adjustments made to the scrips in fitness or when scenario tables are used in finess it might become difficult. 

If the purpose of the scripts is not 100% clear, I wouldn’t put too much effort in it. If the purpose of the tests is clear and it safes you time somehow it might be interesting.

Met vriendelijke groeten/Kind Regards,

Cirilo
--

spgd...@gmail.com

unread,
Sep 7, 2018, 9:12:28 AM9/7/18
to Xebium
I'm now able to convert a Fitnesse script to Selenium IDE, so offcourse I have to experience how much time it will take to convert complete testscenario's. Because of the modular structure, there are a lot of re-used scripts in the scenario's. A good thing, but might take quite some (extra) time to revert a testset that is still working properly.

Thanks, Cirilo and Arjan for your reponses!
Reply all
Reply to author
Forward
0 new messages