---
title: "Import of Python Scripts from Robot Framework"
slug: "import-of-python-scripts-from-robot-framework"
description: "In this feature video, we look at recursive importing of resources from the Robot Framework."
tags: ["Test Modeller", "Feature Overviews"]
updated: 2024-09-27T14:47:36Z
published: 2024-09-27T14:47:36Z
canonical: "knowledge.curiositysoftware.ie/import-of-python-scripts-from-robot-framework"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.curiositysoftware.ie/llms.txt
> Use this file to discover all available pages before exploring further.

# Import of Python Scripts from Robot Framework

In this feature video, we look at recursive importing of resources from the Robot Framework.

[Embedded content](https://www.youtube.com/embed/QrmhMBwvc2E?&amp;wmode=opaque&amp;rel=0)

The **Keywords**(which exist in Python in this example) in the resources file indicate Initialize objects and Teardown objects for 2 libraries with specific names. In this example, the *zos_Connection* and *AS400_Connection*.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680689909118.png)![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680689904220.png)

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680689893277.png)

In Quality Modeller, open the **Code Import** window to import the robot.zip file. To do so click the Explorer in the main grey menu (on the left) and in **Models**click **Import**. Select **</>Code Page Object,**then **browse**for the required robot.zip file**.**Click **Import**and a job gets performed.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680689880786.png)![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680689876522.png)  

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680689872597.png)![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680689868119.png)

Now in the Models window, the 2 imported files are listed as **</>resources** *(which gives the Initlize and Teardown obejcts)* and **</>RobotMFConnection***(which gives the enter commands)*, which have been recursively imported from the resources file.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680689862484.png)

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680689853312.png)![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680689849413.png)

## Related

- [Quality Modeller 101](/test-modeller-101.md)
- [Automating Tests](/automating-and-executing-tests-in-test-modeller.md)
