View Full Version : Automated test recorder for ExtJS

19 Dec 2016, 2:58 PM

I am looking for a tool that allows the user to record a sequence of actions in the browser and play those actions back as an automated test. Ideally I would like a tool that does not require any technical experience.

After doing some research and trying out a few tools, my sense is that such a tool does not exist. I have tried some tools that have test recorders, but I always end up having to modify the recorded tests. For example, I need to modify the locators for tests generated by Selenium IDE and Siesta, because the default is to locate elements based on id. In some cases a good alternative is available, other times it seems like the best approach is to modify the code to expose a better locator. My coworker had a similar experience with TestComplete. (I have had other issues with the recorders too.)

At this point my understanding is that these recorders may be useful for quick prototyping, but ultimately a technical person will need to modify these tests. Just to make sure I'm not overlooking something:

Does a recording tool like this exist for ExtJS? (We are currently using ExtJS version3, but if there is a tool that is available only for later versions, that would be good to know too.)
What are current "best practices" for automated testing ExtJS applications? I found an old post on the Sencha blog that recommends Selenium, CasperJS, and Siesta. It makes no mention of a recorder, so I assume they are talking about coded tests. Is this still the recommended practice? (https://www.sencha.com/blog/ui-testing-a-sencha-app-3/)

Gary Schlosberg
19 Dec 2016, 4:07 PM
Sencha Test is another option, though support picks up at Ext JS 4.2. For what it's worth, it does have an event recorder.

2.0 is in Early Access:

20 Dec 2016, 7:01 AM
I looked at Sencha Test, but did not try it out because we are using ExtJS 3. However, if it supports all our use cases, that would be good to know.

So a few quick questions about Sencha Test:

You say "support picks up at Ext JS 4.2." Does this mean the tool will not work at all with ExtJS 3? Or it works but Sencha does not provide support?
The FAQ says that the user can run recorded tests without modifying code, but the user does need to modify code in order to add expectations. So ignoring the expectations for the moment, does this tool support a non-technical person recording and maintaining a suite of recorded tests that run automatically with zero coding required? Again, my experience with other recording tools is that they really don't support this use case. (https://www.sencha.com/products/test/faq/)

20 Dec 2016, 10:33 AM
I found a guide for the Sencha Test recorder here: https://docs.sencha.com/sencha_test/2.0.0/guides/event_recorder.html

After reading this document, my understanding is that tests spit out by the event recorder may still need to be modified (e.g. to use a different locator).

So my question still stands: is there a tool that records tests for automatic playback, such that the tests do not require any technical modification?