Skip to content

MauricioAvitia/UTAF-TypeScript-Selenium

Repository files navigation

TypeScript Logo UTAF-TypeScript-Selenium

UTAF-TypeScript-Selenium is an automated testing framework for web applications, built with the following technologies:

  • TypeScript Logo TypeScript: Static typing and modern JavaScript development.
  • Selenium Logo Selenium WebDriver: Browser automation for end-to-end testing.
  • Mocha Logo Mocha: Test framework for structuring and running test cases.
  • Axios Logo Axios: HTTP client for API and web service testing.
  • Allure Logo Allure Results: Generates detailed and interactive test reports, providing insights into test execution, failures, and history for better analysis and debugging.
  • Azure Logo Azure DevOps: CI/CD integration for automated build and deployment pipelines.

Authors Icon Authors

Features Icon Features

  • Modular and scalable structure for automated tests.
  • Support for UI and API testing.
  • Test result reporting.
  • Flexible test data management and configuration.
  • Test execution on multiple browsers (Chrome, Firefox, Edge).
  • Example of continuous integration (CI) with Azure Dev Ops.

Install Icon Installation

  1. Clone then repo.

    git clone https://github.com/MauricioAvitia/UTAF-TypeScript-Selenium
  2. Navigate to root folder.

    cd UTAF-TypeScript-Selenium
  3. Install yarn (global installation recomended).

    npm install --global yarn
  4. Pull all dependencies.

    yarn
  5. Install "Allure" commandline to generate reports.

    npm install -g allure-commandline --save-dev

Usage Icon Usage

  1. Configure parameters in config/config.json.

  2. To run api tests use the following:

    yarn testapi
  3. To run ui tests use the following:

    yarn testui
  4. To generate web report page use:

    allure server allure-results

    Report Icon Example Report

    Allure Report Example

Structure Icon Project Structure

```
├── src/
│   ├── tests/         # Test cases
│   ├── pages/         # Page Objects
│   ├── utils/         # Utilities and helpers
│   └── config/        # Configuration
├── reports/           # Test reports
├── package.json
└── README.md
```

Contribute Icon Contributing

Contributions are welcome. Please open an issue or submit a pull request.

Releases

No releases published

Packages

No packages published