Test recorders are an antipattern. They lure you with their "no programming required!" siren call, but the generated scripts invaribly end up as a fragile, poorly abstracted mess. GUI tests suites, especially those created with recorders, are prone to become unmaintainable beasts full of flaky tests. This old interview with Bret Pettichord makes good points about the use of recorders: https://youtu.be/s_CUPs6xAWw?t=5…
Firefox 55 and Selenium IDE
121–130 of 132 posts
Re: Firefox 55 and Selenium IDE
#122Test recorders are an antipattern. They lure you with their "no programming required!" siren call, but the generated scripts invaribly end up as a fragile, poorly abstracted mess. GUI tests suites, especially those created with recorders, are prone to become unmaintainable beasts full of flaky tests. This old interview with Bret Pettichord makes good points about the use of recorders: https://youtu.be/s_CUPs6xAWw?t=5…
And while recorders present some challenges, manually coding UI-level tests make the maintainability issue an order of magnitude worse.
The best way to make web UI tests stable is to involve engineers and make sure that the pages are structured in the way that make automation and validation easy. Usually the changes required for this are trivial. When they're not, it often points out something in the UI that doesn't make sense anyway, like having no confirmations for user actions.
And in any case, automated UI tests are still better than manual UI test, which is what a lot of people are stuck with.
Re: Firefox 55 and Selenium IDE
#123Earlier quoted context omitted.
sure - but this might very well indicate a trend.
who on earth is downvoting my comments and why? when the developers involved with Selenium suddenly decide to just drop a browser for one of their sub-projects then this might very well indicate a trend - even if it's just that firefox is less actively supported in future.
* When it comes to Selenium, Simon (the guy you replied to) is about as authoritative a voice as they come.
* The death of Selenium IDE is anything but sudden. It's really been more of a zombie for years and just kept kicking along. It's been saved from absolute death a few times over by generous support of volunteers willing to pick it up. But I don't think anyone tracking Selenium development is going to be surprised by this move.
* Selenium has been on a multi-year quest to shift support for the browser drivers out to the browser vendors by way of the WebDriver W3C standard [1]. The goal is for Selenium to be more of an interface to browser-specific implementations of the WebDriver specification more than anything else. Which is to say, Selenium dropping support for a particular browser shouldn't be too concerning because the major browser vendors will be maintaining their own driver implementation.
* Slightly related to the above point, but Selenium IDE is not and never has been maintained by Mozilla. The Firefox WebDriver implementation, however, is. And Mozilla is heavily involved in the editing and drafting of the WebDriver specification.
Hopefully that helps assuage your concerns.
Re: Firefox 55 and Selenium IDE
#124There seems to be a certain amount of confusion on this thread, so just to be sure that it's clear, Selenium itself will continue to work with future releases of Firefox. This means that existing WebDriver-based browser automation remains compatible with with Firefox 55+. SauceLabs', and other testing-infrastructure-as-a-service providers' support for Firefox will be unchanged. The only thing that will stop working i…
> there are alternatives in development that are targetting a similar niche Which tools are out there (open source and as easy to use as Selenium IDE)?
Re: Firefox 55 and Selenium IDE
#125Test recorders are an antipattern. They lure you with their "no programming required!" siren call, but the generated scripts invaribly end up as a fragile, poorly abstracted mess. GUI tests suites, especially those created with recorders, are prone to become unmaintainable beasts full of flaky tests. This old interview with Bret Pettichord makes good points about the use of recorders: https://youtu.be/s_CUPs6xAWw?t=5…
What we ended up doing on our platform was discard the notion of generated scripts entirely. Everything becomes data, not source code. If you're willing to make the tradeoff to a cloud service vs. having the code (many businesses are), it's a great model. If you prefer having control over the code, it will drive you crazy.
Re: Firefox 55 and Selenium IDE
#126I'd be curious to see what the usage stats on the IDE are; my company (Mozilla, ironically) uses Selenium a ton, but as far as I know we write all of our tests by hand instead of with the IDE since it allows you to use patterns like Page objects to make your tests more maintainable in the long run. Although the last time I used the IDE was years ago, so it may be more flexible than it used to be. Does anyone extensiv…
IDE is a good way to kickstart the tests, it allows non-technical people to create skeletons for tests which can then be touched up/prettified/refactored by devs.
Re: Firefox 55 and Selenium IDE
#127Earlier quoted context omitted.
They won't delay it since they've already begun breaking the old XUL extensions API in order to make room for new improvements. This is getting quite tiresome at this point -- extension devs have had over a year to port. If the extension devs are targeting Chrome too, it's easier to use WebExt than XUL anyway, and if they haven't spent this time to engage with Mozilla about expanding the WebExt spec so their extensio…
I think thats pretty unfair when mozilla has been straight up refusing to implement webextension equivilents to XUL based functionality that a lot of addons depend on. Such as the fact there is no way to enumerate what sites have html5 local storage stuff stored, thus no way to control or clear it on a per site basis, and they are not interested in changing this, rendering an addon like what self destructing cookies…
When I was porting my extension, my big worry was "is there going to be something I need to do that doesn't work?" But there were no show-stopper bugs.
Re: Firefox 55 and Selenium IDE
#128Test recorders are an antipattern. They lure you with their "no programming required!" siren call, but the generated scripts invaribly end up as a fragile, poorly abstracted mess. GUI tests suites, especially those created with recorders, are prone to become unmaintainable beasts full of flaky tests. This old interview with Bret Pettichord makes good points about the use of recorders: https://youtu.be/s_CUPs6xAWw?t=5…
UI-level tests are the only kind that reliably test the full stack of your application. No amount of unis testing will catch a missing button or a wrong config setting. And while recorders present some challenges, manually coding UI-level tests make the maintainability issue an order of magnitude worse. The best way to make web UI tests stable is to involve engineers and make sure that the pages are structured in the…
> And while recorders present some challenges, manually coding UI-level tests make the maintainability issue an order of magnitude worse.
In my experience, writing the tests manually for sufficiently "regular" applications ends up being more maitainable because you can put repeated logic in shared functions and classes, making it easier to adapt to changes in the GUI. Page Objects are an example of that: https://github.com/SeleniumHQ/selenium/wiki/PageObjects
Also, writing the tests manually lets you use "explicit waits". http://elementalselenium.com/tips/47-waiting Specifying exactly what we expect to happen tends to be more robust (and faster) than either using static sleeps or some kind of implicit wait. Recorders tend to have problems finding concrete things to wait for, especially for very dynamic pages.
(That said, I'm not against using something like Chrome DevTools to identify elements in the page, evaluate potential selectors, and so on. That is indeed useful.)
Re: Firefox 55 and Selenium IDE
#129Earlier quoted context omitted.
Their sites aren't very clear - what differentiates their open source version ( http://devexpress.github.io/testcafe/ ) from the paid ($500/dev/year) version? ( https://testcafe.devexpress.com/ )
There is a reply here apparently from a developer of testcafe, but it's 'dead'. It's a perfectly reasonable comment, so hopefully the mods can resurrect it - and check if the account is banned for no reason (that's the only comment it made, so I don't see why).
Re: Firefox 55 and Selenium IDE
#130Test recorders are an antipattern. They lure you with their "no programming required!" siren call, but the generated scripts invaribly end up as a fragile, poorly abstracted mess. GUI tests suites, especially those created with recorders, are prone to become unmaintainable beasts full of flaky tests. This old interview with Bret Pettichord makes good points about the use of recorders: https://youtu.be/s_CUPs6xAWw?t=5…