📜 ⬆️ ⬇️

Fresh baked goods from TestCafe - 14.2 release



Friends, finally the moment came when our team finished work on the long-awaited release of TestCafe v.14.2 and we can share with you the results of our work with great joy. In the new version, we tried to make the maximum emphasis on the visual recorder of tests, completely reworking its concept, making it easier and more intuitive.

Now it contains a complete set of tools for the entire test creation cycle. In addition, we have made efforts to improve the functional core TestCafe, this has added the long-awaited support for cross-domain i - frames and the ability to upload files to the server. If you are interested in getting to know our wonderful product and its innovations, I ask you for a cat - to a cozy corner of functional testing from TestCafe ...

For those who are not yet familiar with our coffee creation, I’ll briefly explain: TestCafe is a test framework designed to automate functional testing of web sites, built on the original idea of ​​proxying all site content, incorporating the test code and environment into it. . Before the existing solutions, this concept has a huge number of advantages that can greatly facilitate the life of the final tester. A description of the atypical solutions and merits of TestCafe is a very pleasant thing, but, unfortunately, is beyond the scope of this article, therefore, if readers are interested, we would rather give it a separate post.
')
And now let's move directly to the innovations that await you after installing the new version.

TestCafe can be divided into three main parts - a visual recorder , a control panel and a core . According to this principle, for convenience, I will share all major innovations into relevant categories:


Visual recorder


The pride of our team, thanks to him, the user can record tests directly on his site, without thinking about its structure and principles of work. The recorder simply intercepts all actions on the page and forms “steppes” based on them, of which the test will be made later. All the tester needs is to “click” the script to be tested. In most cases, you do not even have to open the resulting test code, as the recorder now provides all the necessary visual tools for editing.



Core


Having finished with the recorder, we smoothly go to the heart of TestCafe - the proxy core. It serves as an interlayer between the test site and the business logic of the framework, providing an API for intercepting all user actions (in test recording mode) and their further simulation (in test playback mode). This module is submitted by us to a separate subproject, which allows you to gain complete control over the site, proxying and processing all its resources. The problems we encountered in developing this module also deserve a separate article, which we will try to publish in the near future. So, what is new in the new version?


Control Panel


Management of tests, their launch and reports occurs through the control panel. It is a web shell with which TestCafe projects are managed. Let's see what's new here.


This list, of course, is not complete, it contains the main, striking innovations. In the new version, we also fixed a large number of internal errors and made a serious optimization of the code. We hope that our user will appreciate the new functionality, and if you are not yet a new one, it's time to become.

TestCafe team.

Source: https://habr.com/ru/post/246591/


All Articles