Featured Article

Get Free Sample of RO Spark

Megan Aug 11, 2026

Are you curious about the powerful programming tool, Robot Framework (RF), and want to explore its Sparks extensions? You might be wondering, "Can I get a sample of these extensions to test drive before diving in?" Absolutely, let's delve into the world of Robot Framework Libraries, or Sparks, and guide you on how to access and try them out.

an open laptop computer sitting on top of a bed
an open laptop computer sitting on top of a bed

Before we proceed, let's briefly understand Robot Framework. It's a generic test automation framework for acceptance-testing and acceptance-test-driven development (ATDD). RF is implemented using Python, making it highly customizable and expansive with its plethora of libraries, or Sparks, that extend its capabilities.

Spark
Spark

Popular Robot Framework Libraries (Sparks)

Robot Framework has a vibrant community contributing to its ecosystem, resulting in numerous useful libraries. Here, we'll introduce a couple of popular ones:

🦢
🦢

Charisma

Charisma is a powerful keyword generator library that enables you to define custom keywords for your tests, making them reusable and modular. This enhances code maintainability and reduces redundancy.

someone is holding a sparkler in their hand
someone is holding a sparkler in their hand

For instance, in your test case, you can generate a new keyword 'login_with_credentials' using Charisma, which can be reused across multiple test suites:

*** Settings *** Library Charisma *** Test Case *** Login And Logout &Generate login_with_credentials user pass Log in to system Log out

AppiumLibrary

AppiumLibrary is another useful Spark that facilitates mobile application automation. Integrated with Appium, a popular automation tool for mobile applications, this library enables RF to run automated tests on both iOS and Android apps.

a person holding a sparkler in their hand
a person holding a sparkler in their hand

Here's a simple example of using AppiumLibrary to launch an app on Android:

*** Settings *** Library AppiumLibrary *** Variables *** ${_platform} android ${_device} Ud0192h12ab ${_app_path} /path/to/your/app.apk *** Test Cases *** Login And Logout Start App ${app_path} Clerk Wait Until Keyword Succeeds sleep 5s Get Dashboard Comparison Click Element Dashboard Alexandre Click Element User Settings

Accessing and Using Robot Framework Libraries

Now that we've explored some popular RF libraries, let's see how to access and use them.

the words your vision is your power on a purple and pink background with sparkles
the words your vision is your power on a purple and pink background with sparkles

Installing Libraries using pip

Many Robot Framework libraries can be installed using pip, Python's package manager. Here's how you can install Charisma and AppiumLibrary:

the man is performing on stage with his arms out in front of him and an electric guitar behind him
the man is performing on stage with his arms out in front of him and an electric guitar behind him
the women's basketball team is posing for a photo
the women's basketball team is posing for a photo
Pink light burst, radiating energy, sparks, glowing particles on black background. Stock Illustration
Pink light burst, radiating energy, sparks, glowing particles on black background. Stock Illustration
the neon sign says girls just wanna have thunders in front of purple walls and windows
the neon sign says girls just wanna have thunders in front of purple walls and windows
the word spark written in black on a white background
the word spark written in black on a white background
A kind of spark
A kind of spark
a quote that says i'm fragile but not like a glass or flower, more like a bomb
a quote that says i'm fragile but not like a glass or flower, more like a bomb
a sparkler is lit up in the dark with lightening from it's end
a sparkler is lit up in the dark with lightening from it's end

pip install robotframework-charisma pip install appium-python-client pip install robotframework-appiumlibrary

Using Libraries in Your Tests

To use a library in your RF test, simply import it in the settings section using the 'Library' keyword. Here's an example using Charisma and AppiumLibrary:

*** Settings *** Library Charisma Library AppiumLibrary Library SelendroidLibrary // For Android automation, you can use SelendroidLibrary alternatively Suite Teardown teardown.robot // A separate file to manage the teardown of Appium *** Test Cases *** YourTestCase # Your test steps go here using the imported libraries