Wir helfen Unternehmen seit 17 Jahren,
bessere Software zu finden
TestCafe
Was ist TestCafe?
TestCafe ist eine reine End-to-End-Lösung in der node.js-Laufzeitumgebung zum Testen von Webanwendungen. Die Lösung bedient alle Phasen: Starten von Browsern, Ausführen von Tests, Sammeln von Testergebnissen und Erstellen von Berichten. TestCafe benötigt keine Browser-Plug-ins – die Lösung funktioniert in allen gängigen modernen Browsern und ist sofort einsatzbereit.
Wer verwendet TestCafe?
Nicht vom Anbieter bereitgestellt
Du bist nicht sicher, ob TestCafe das Richtige ist?
Mit einer beliebten Alternative vergleichen
TestCafe
Bewertungen über TestCafe
Free open source but need js background to use it
Kommentare: easy to develop your test scripts and get running
Vorteile:
easy setup - takes around couple hours. No maintenance necessary. Write in JS. Import modern popular frameworks: react, vue. Almost anyone can write the test as long as you know JS. Documentation is robust enough to get going. Community support is responsive. Hooks with browser stack and can run multiple browsers on command line.
Nachteile:
Popup occurs on same browser. Some limitations and there's no workaround. Screen capture is sorta weak
Simple tool for frontend testing
Kommentare: All in all, I was using TestCafe for over one year, and to be honest, I am not a fan of it. It has had its ups and downs, but sometimes results of the execution depend "on the mood of the higher powers". Despite its good sides, like parallelization or ease of use, it has some serious disadvantages that can really influence the reliability of testing. On the market, there are a lot of better and more comprehensive tools for automation e.g. Cypress or Playwright.
Vorteile:
TestCafe is extremely easy to set up and use. If a user is familiar with JS/TS and has some experience in automation testing - there won't be a problem with adapting this tool to the application. There is no need to install external web drivers or any plugins. After TC is installed, everything is ready to run. Parallelization is native and simple to run. Just a couple of parameters defining the whole process need to be set up. All basic functionalities are included in the framework, e.g. headed/headless mode, multiple browsers, retries, screenshots, and videos on fail, etc. - the whole testing can be adjusted to needs. Automatic async/await are working well.
Nachteile:
To tell the truth, TestCafe was unstable. Not always, but it has some bugs and problems. Freezing without any reason during execution that previously was successful was happening quite often. Sometimes, errors seemed to be appearing without any reason and their explanation/messages were generic, without detailed description. Another disadvantage is a little documentation. Some parts of the framework are documented poorly or not documented at all - especially more complicated features. Debugging can sometimes be painful, as I said before, generic errors appearing "randomly" could be exhausting. Problematic selector defining was not a good addition to tedious debugging. Selectors were sometimes not found/hidden/overlapped. To avoid these errors it is needed to create redundant selector definitions to make sure that TestCafe won't get lost during the execution. The last thing, that is quite serious is - REST API testing is hard, complicated, and not natively supported. Some external library needs to be installed to have it covered.