Skip to content

teitoku106/TestcafeWithIframe

Repository files navigation

TestcafeWithIframe

This repo contains a simple testscript handling iframe using Testcafe with Javascript.

Author: Tam Pham (Kyle)


Cypress version: https://github.com/teitoku106/CypressWithIframe


Instruction:

  1. Clone this Repo and open using Visual Studio Code
  2. Rename the file [ RENAMETHISFILE.env ] to [ .env ] (Look at Folder structure picture)
  3. Open Terminal inside Visual Studio Code and run [ npm install ] to install required packages (Make sure your machine got node.js + npm, more information: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
  4. Open Terminal inside Visual Studio Code, Run command [ npm run dev-debug ] to start testcafe, let it run and finish by itself
  5. After step 4, a new report file will be generate inside [ reports ] folder and be name as [ reportFile.html ], open it with a browser of your choice

Folder structure

image

Functions

image

Test Report

image

About

A testcafe demo with iframe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published