Page 1 of 1

Selenium IDE RIP... substitutes?

Posted: Thu Dec 21, 2017 5:38 pm
by Danb
Hi,
first post here (hi folks), prompted by changes to Selenium IDE.
Currently using scripts produced in Selenium IDE and exported in Perl to verify that web apps are healthy (eg check that login scenario works).
Scripts are executed in Selenium regularly through the day and Nagios monitors each run.

Now that Selenium IDE is no more and all related Perl-based plugins are obsolete, has anyone got a good alternative they could share please? Also unsure what replaces Selenium RC - documentation on the website barely covers 2.x, let alone Selenium 3.x

Have seen newer test automation solutions, eg Katalon, but nothing that has been picked up as a plugin solution yet. Is a Java export of a test case worth pursuing do you think?
Thanks in advance, will update if I come across anything else
Dan

Re: Selenium IDE RIP... substitutes?

Posted: Thu Dec 21, 2017 5:56 pm
by dwhitfield
I'm not aware of anything that has the documentation for Nagios like Selenium does. There are a lot of options given at https://screenster.io/selenium-alternat ... utomation/

I know @mcapra has some thoughts on this matter, but I don't know if they have evolved since the last time he posted about this on the forums.

Re: Selenium IDE RIP... substitutes?

Posted: Fri Dec 22, 2017 10:17 am
by mcapra
Danb wrote:Is a Java export of a test case worth pursuing do you think?
I prototyped this a year-ish ago. Between making sure the classpaths were lined-up on the Nagios side of things and filling in the gaps where the IDE was unable to produce a proper method call for the Java bindings, I ditched it as a "general population" solution. A person reasonably familiar with Java and Selenium could probably navigate the setup without too much trouble.

I've had a lot of success with integrating CasperJS and Resurrectio so far, just haven't released any documentation or scripts yet. I'm fairly confident those two tools are a good fit for the Nagios ecosystem since Nagios XI already includes PhantomJS for other things.

A big missing piece that I've yet to start work on is a script that executes and parses the CasperJS output in a "Nagios friendly" way. This is where that will live some day if you'd like to stay in-the-loop with that work:
https://github.com/mcapra/nagios-check_casperjs

EDIT: There's an early, sloppy plugin up, but a lot of documentation needs to be done for actually recording tests and setting up CasperJS. I'll update this post when it happens.

Re: Selenium IDE RIP... substitutes?

Posted: Fri Dec 22, 2017 10:24 am
by dwhitfield
Thanks @mcapra!
mcapra wrote:I'm fairly confident those two tools are a good fit for the Nagios ecosystem since Nagios XI already includes PhantomJS for other things.
Even though this thread is about Core, this is still a valid point.

OP, let us know if you have any questions. Also, feel free to make feature requests are relevant:
Plugins: https://github.com/nagios-plugins/nagio ... issues/new
Core: https://github.com/NagiosEnterprises/na ... issues/new

Re: Selenium IDE RIP... substitutes?

Posted: Sat Jan 06, 2018 5:51 pm
by Danb
Thanks both for your input, I'm just getting back into this seriously after a Christmas break and will take a look at suggestions. Cheers

Re: Selenium IDE RIP... substitutes?

Posted: Mon Jan 08, 2018 1:46 pm
by kyang
Sounds good!

Let us know if you run into any issues or have any questions.