Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Pekka's Demos - HOW TO Create data driven test cases in Robot Framework

  • Robot Framework
  • 2025-09-18
  • 581
Pekka's Demos - HOW TO Create data driven test cases in Robot Framework
ListenerAPIrobotframeworkRobot FrameworkTest AutomationDeveloplementRFrobotpekka klarckrobotframework automationroboconrobocon23robocon 2023robot frameworkrobot framework pythonrobot framework apirobot framewework automationrbcnrobot framework debug
  • ok logo

Скачать Pekka's Demos - HOW TO Create data driven test cases in Robot Framework бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Pekka's Demos - HOW TO Create data driven test cases in Robot Framework или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Pekka's Demos - HOW TO Create data driven test cases in Robot Framework бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Pekka's Demos - HOW TO Create data driven test cases in Robot Framework

Video Summary – Pekka Klärck: Data-Driven Testing with Robot Framework

Introduction

Pekka (creator of Robot Framework) introduces the topic: building data-driven test cases in Robot Framework.

Initial Example

Starts with a basic login test case using the keyword-driven approach.

Works fine for a single workflow but becomes inefficient if you need multiple similar tests (invalid username, invalid password, empty fields, etc.).

Challenge with Duplicates

Creating separate test cases for each scenario leads to duplication and makes it hard to see differences.

Solution: Data-Driven Approach

New File for Invalid Login Tests (invalid.robot)

Imports existing resource file with keywords.

Defines multiple test cases (invalid username, invalid password, both invalid, empty fields).

Custom Keyword (Invalid Login)

Takes username and password as arguments.

Opens login page, inputs credentials, and validates login fails.

Uses setup/teardown to manage browser opening and closing.

Validation

Introduces Error Page Should Be Open keyword (similar to existing Welcome Page Should Be Open) for consistency and reusability.

Compact Syntax

Demonstrates how arguments can be provided directly in test case rows.

Uses built-in ${EMPTY} variable for empty credentials.

Problem of Repetition

Each test case still repeats the Invalid Login keyword.

Solution: use Test Templates.

Test Templates

Apply Invalid Login as a test template, so every test case automatically uses it with different arguments.

Adds headers (username, password) for clarity.

This produces a clean, compact, and readable test structure.

Limitations Noted

Execution is still slow (browser opens/closes for each test).

Will be optimized in a future video using suite-level setups.

Conclusion

Robot Framework, while keyword-driven, can also handle data-driven testing elegantly.

Using test templates creates a fluent, compact syntax.

Next video will focus on suite setups for faster execution.

⏱️ Timestamps

00:00 – Intro: Pekka Klärck introduces data-driven testing in Robot Framework
00:16 – Keyword-driven example: Simple login page test
00:41 – Problem: Duplicated test cases for multiple invalid inputs
01:12 – New file: Creating invalid.robot for invalid login tests
02:06 – Defining scenarios: Invalid username, invalid password, both invalid, empty fields
03:09 – Custom keyword: Invalid Login with username & password arguments
05:00 – Setup & Teardown: Open/close browser automatically
06:07 – Validation: Adding Error Page Should Be Open keyword
07:48 – Running first test: Demonstration of invalid login case
09:01 – Compact syntax: Passing arguments directly in test rows
09:43 – Handling empty values: Using built-in ${EMPTY} variable
10:20 – Six test cases: Running all invalid login variations
10:33 – Problems: Execution slow + repeated keywords
11:19 – Solution with Templates: Converting to test template approach
12:12 – Headers for clarity: Username & password columns
12:38 – Remaining issue: Browser still reopens for each test (to be solved later)
12:55 – Conclusion: Robot Framework supports clean data-driven testing with templates
13:15 – Next video teaser: Faster execution with suite setups

👉 Would you like me to also draft a short YouTube vide

✅ Key Takeaway:
Robot Framework’s test template feature lets you transform repetitive keyword-driven tests into a clean data-driven format, making test cases easier to maintain and compare.

Robot Framework is a powerful and versatile open-source test automation framework that simplifies the process of creating and executing test cases. Whether you're a beginner or an experienced tester, this channel is your one-stop destination for all things Robot Framework.

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]