TestCafe uses the web proxy called testcafe-hammerhead for URL-rewriting.
When a test script is executed the web proxy server spun up and it redirects the original URL provided in the test script to the URL-rewriting proxy server.
The URL-rewriting proxy server emulates the request to the web server.
The web server reads the javascript test script file and checks the available tests.
The web server then sends the test case one by one to the URL-rewriting proxy and the each test will be executed on the web browser.
As soon as the test cases are executed the test case status is sent to the Web server via the URL-rewriting proxy.
In case if we are requesting the screenshots of the test case then the request will be sent to the browser directly from the web browser and the screenshot will be sent to the web server.
Friday, September 18, 2020
TestCafe Architecture
Subscribe to:
Post Comments (Atom)
TestCafe Setup
Getting Started Make sure Node.js (version 6 or newer) and npm are installed on your computer. Please refer this url for Node.js installer h...
-
Getting Started Make sure Node.js (version 6 or newer) and npm are installed on your computer. Please refer this url for Node.js installer h...
-
TestCafe is a node.js tool to automate end-to-end web testing. TestCafe is a product of DevExpress. TestCafe uses a proxy in-between whi...
-
TestCafe uses the web proxy called testcafe-hammerhead for URL-rewriting. When a test script is executed the web proxy server spun up and i...

No comments:
Post a Comment