Skip to content

This repository contains a collection of automation test scripts I created using TestCafe, a powerful Node.js-based end-to-end testing framework. The purpose of this repository is to serve as a practice ground for learning and experimenting with various web automation techniques.

Notifications You must be signed in to change notification settings

Papasmurf79/Testcafe-Automation-Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ§ͺ TestCafe Automation Practice

This repository contains my personal practice scripts for learning and improving my skills in TestCafe, a Node.js tool for automated end-to-end testing of web applications.

πŸ“Œ What’s Inside

  • Basic examples to get familiar with TestCafe syntax
  • Practice tests for logging in, form submission, navigation, etc.
  • Use of selectors, assertions, and page actions
  • Organized by test case for easy understanding

πŸš€ How to Run the Tests

1. Install TestCafe

Make sure you have Node.js installed, then install TestCafe:

npm install -g testcafe

Or if using locally in your project:

npm install --save-dev testcafe

2. Run a Test

Use this command to run any test file (replace with your preferred browser):

testcafe chrome tests/example.test.js

Or run all tests:

testcafe chrome tests/

πŸ“‚ Folder Structure

/tests         β†’ Main test files
/pages         β†’ Optional page objects (for cleaner code)
README.md      β†’ This file

🎯 Goal

The purpose of this repo is to practice:

  • Writing clean and simple test cases
  • Understanding how TestCafe works
  • Preparing for real-world testing projects or interviews

This is not a production-ready project, just a learning space.


Feel free to explore, clone, or adapt these scripts for your own learning. Happy testing!


About

This repository contains a collection of automation test scripts I created using TestCafe, a powerful Node.js-based end-to-end testing framework. The purpose of this repository is to serve as a practice ground for learning and experimenting with various web automation techniques.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published