I'm searching for some time now how to use TestCafe with Appium.
Long story short: testing env is a node.js env; automated test script is written in typescript using TestCafe; the plan is to execute those tests on desktop browsers and on mobile phones.
Desktop browsers: this is covered trough TestCafe and testcafe-browser-provider-selenium and a Selenium grid server.
Mobile phones: I'm trying to cover this by executing tests on mobiles phones using TestCafe along with Appium.
Here, the documentation is not easy to find, and I had no luck in doing any progress. I'm interested what do I need to do from Testcafes side, because inside LAN, I can access an already running Appium server, with real devices attached to it.
Is there someone who uses the above tools and would like to share the know how?
PS: I've seen this link already, and it's not helping, as it needs human interaction and it's not fully automated: QR code suggestion for TestCafe mobile device testing
Later edit:
using the testcafe-browser-provider-webdriverio package did not solve the problem, because it has some connections issues. So, I'm back on searching a solution and I refuse to believe that there is no option for the above scenario...
Unlike most testing solutions, TestCafe is not built on Selenium. This allows us to implement features you cannot find in Selenium-based tools (for example, testing on mobile devices, user roles, automatic waiting, etc.). TestCafe uses a URL-rewriting proxy which allows it to work without the WebDriver.
Test Cafe is a Node. js end-to-end free and open source automation tool which is used to test web applications. It works on all popular environments such as Windows, MacOS, and Linux. With its easy to install feature in a single command, you can write scripts in JavaScript [or] TypeScript.
What is TestCafe Framework? TestCafe framework is an open-source automation framework built with NodeJS. It supports JavaScript, Typescript, and CoffeeScript out of the box, which means zero configuration is needed. TestCafe is distributed under an open-source MIT license and is managed by DevExpress.
You can try testcafe-browser-provider-webdriverio plugin. The author claims this provider can connect to an Appium server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With