Youโ€™re the Expert!

pynfinity

robot-framework

Robot-Framework

Your complete recipe for mastering Robot-Framework โ€” course modules & quick-reference guide in one place.

AU Recipe Module 3 sections

BASICS

Write a Simple Test Case in Robot Framework

Explore the concepts and examples below to master this topic.

Code Example
*** Test Cases ***
Example Test
    Log    Hello, santoshtvk!
Video Walkthrough
Coming soon โ€” in-depth video explanation for this topic.

Use Variables in Robot Framework

Explore the concepts and examples below to master this topic.

Code Example
*** Variables ***
${USERNAME}    pynfinity

*** Test Cases ***
Display Variable
    Log    Hello, ${USERNAME}!
Video Walkthrough
Coming soon โ€” in-depth video explanation for this topic.

INTERMEDIATE

Create and Use a Keyword

Explore the concepts and examples below to master this topic.

Code Example
*** Keywords ***
Custom Keyword
    Log    Custom keyword executed by dhruv

*** Test Cases ***
Test Custom Keyword
    Custom Keyword
Video Walkthrough
Coming soon โ€” in-depth video explanation for this topic.

Read Data from an External File

Explore the concepts and examples below to master this topic.

Code Example
*** Settings ***
Library    OperatingSystem

*** Test Cases ***
Read File
    ${content}=    Get File    data.txt
    Log    ${content}
Video Walkthrough
Coming soon โ€” in-depth video explanation for this topic.

ADVANCED

Integrate Robot Framework with API Testing

Explore the concepts and examples below to master this topic.

Code Example
*** Settings ***
Library    RequestsLibrary

*** Test Cases ***
Get API Response
    ${response}=    GET    https://api.pynfinity.com/data
    Log    ${response.json()}
Video Walkthrough
Coming soon โ€” in-depth video explanation for this topic.

Execute Parallel Test Cases with Pabot

Explore the concepts and examples below to master this topic.

Code Example
pabot --processes 2 tests/
Video Walkthrough
Coming soon โ€” in-depth video explanation for this topic.
โšก Quick Reference โ€” Recipe

Use the reference cards below for fast lookup. Perfect for brushing up on syntax while you cook your code. ๐Ÿณ

Write a Simple Test Case in Robot Framework
*** Test Cases ***
Example Test
    Log    Hello, santoshtvk!
Use Variables in Robot Framework
*** Variables ***
${USERNAME}    pynfinity

*** Test Cases ***
Display Variable
    Log    Hello, ${USERNAME}!

Create and Use a Keyword
*** Keywords ***
Custom Keyword
    Log    Custom keyword executed by dhruv

*** Test Cases ***
Test Custom Keyword
    Custom Keyword
Read Data from an External File
*** Settings ***
Library    OperatingSystem

*** Test Cases ***
Read File
    ${content}=    Get File    data.txt
    Log    ${content}

Integrate Robot Framework with API Testing
*** Settings ***
Library    RequestsLibrary

*** Test Cases ***
Get API Response
    ${response}=    GET    https://api.pynfinity.com/data
    Log    ${response.json()}
Execute Parallel Test Cases with Pabot
pabot --processes 2 tests/

Recipe Complete! ๐ŸŽ‰

You've explored the full Robot-Framework recipe.
Keep practising โ€” a language a day keeps AI away! ๐Ÿค–

Back to AU Courses


Pynfinity
Install Pynfinity Add to home screen for the best experience