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
Selenium IDE RIP... substitutes?
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Selenium IDE RIP... substitutes?
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.
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?
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.Danb wrote:Is a Java export of a test case worth pursuing do you think?
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.
Last edited by mcapra on Fri Dec 22, 2017 12:58 pm, edited 3 times in total.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Selenium IDE RIP... substitutes?
Thanks @mcapra!
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
Even though this thread is about Core, this is still a valid point.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.
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?
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?
Sounds good!
Let us know if you run into any issues or have any questions.
Let us know if you run into any issues or have any questions.