diff --git a/code-examples/core/bdd-syntax/config.json b/code-examples/core/bdd-syntax/config.json
index c081439b..a3b66166 100644
--- a/code-examples/core/bdd-syntax/config.json
+++ b/code-examples/core/bdd-syntax/config.json
@@ -1,6 +1,18 @@
{
"name": "BDD Syntax",
"description": "readme.md",
+ "requirements": [
+ "robotframework==7.0",
+ "robotframework-stacktrace",
+ "robotframework-retryfailed"
+ ],
+ "robotArgs": {
+ "loglevel": "TRACE",
+ "listener": [
+ "RetryFailed",
+ "RobotStackTracer"
+ ]
+ },
"files": [
{
"fileName": "BDD.robot"
diff --git a/code-examples/my_first_test/MyFirstTest.robot b/code-examples/my_first_test/MyFirstTest.robot
new file mode 100644
index 00000000..aee48d6e
--- /dev/null
+++ b/code-examples/my_first_test/MyFirstTest.robot
@@ -0,0 +1,8 @@
+*** Settings ***
+Library String
+
+*** Test Cases ***
+Create A Random String
+ Log To Console We are going to generate a random string
+ Generate Random String 10
+ Log To Console We finished generating a random string
\ No newline at end of file
diff --git a/code-examples/my_first_test/config.json b/code-examples/my_first_test/config.json
new file mode 100644
index 00000000..36f38fb1
--- /dev/null
+++ b/code-examples/my_first_test/config.json
@@ -0,0 +1,12 @@
+{
+ "name": "MyFirstTest",
+ "description": "readme.md",
+ "requirements": [
+ "robotframework"
+ ],
+ "files": [
+ {
+ "fileName": "MyFirstTest.robot"
+ }
+ ]
+}
diff --git a/website/docs/getting_started/how_to_write_rf.mdx b/website/docs/getting_started/how_to_write_rf.mdx
new file mode 100644
index 00000000..f65a8454
--- /dev/null
+++ b/website/docs/getting_started/how_to_write_rf.mdx
@@ -0,0 +1,91 @@
+---
+sidebar_position: 4
+sidebar_label: Writing Your First Code
+title: Writing Your First Code
+description: The beginnings of the Robot Framework syntax
+tags:
+ - beginner
+ - syntax
+---
+import CodeBlock from '@theme/CodeBlock';
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+
+# Writing Your First Code
+Robot Framework is a versatile and powerful automation framework that uses plain text syntax. It is designed to be easy to read and write, making it accessible to both technical and non-technical users. In this guide, we’ll cover the basics of Robot Framework syntax to get you started.
+
+
+:::note
+
+In this guide, we will primarily focus on testing, specifically Test Cases and Test Suites. The same principles also apply when discussing RPA Tasks.
+:::
+## File name
+You can name your files anything you like, as long as they have the .robot extension. For example: 'MyFirstTest.robot'.
+
+## Sections
+A Robot Framework test suite consists of multiple test cases organized within a single file. The basic structure of a test suite file includes the following sections:
+
+1. Settings
+1. Test Cases
+{/* Ìf more content is added, the titles above should get deeplinks */}
+Although there are additional sections available, the Test Cases section is mandatory for running a test.
+### Settings
+The Settings section is where you define the libraries, resource files, and other settings needed for your test suite.
+```robotframework
+*** Settings ***
+Library String
+```
+
+The libraries contain the keywords (functions/steps) that Robot Framework uses to execute tests. Each library includes documentation of the keywords it provides. To use these, importing the library is necessary.
+
+### Test Cases or Tasks
+The Test Cases or Tasks section is where you define your individual test cases. Each test case/task is a sequence of keywords. These keywords determine the steps or actions that your test or task performs. There is no limit to the number of steps a testcase can have, but there are good practices and it is good to create conventions with your co-workers to ensure readability.
+
+
+```robotframework
+*** Test Cases ***
+Create A Random String
+ Log To Console We are going to generate a random string
+ Generate Random String 10
+ Log To Console We finished generating a random string
+```
+
+
+```robotframework
+*** Tasks ***
+Create A Random String
+ Log To Console We are going to generate a random string
+ Generate Random String 10
+ Log To Console We finished generating a random string
+```
+
+
+## Indentation
+In the provided examples, you can see that Robot Framework code is separated by spaces. To correctly differentiate elements, Robot Framework requires at least two spaces. Here are a few examples based on the code we've seen so far:
+```robotframework
+*** Settings ***
+Library String
+```
+- The `Library` keyword in the Settings section is unindented. This indicates that `Library` is the setting being declared.
+- Between `Library` and `String`, there are several spaces. This indicates that `String` is the name of the library needed for our tests.
+
+```robotframework
+*** Test Cases ***
+Create A Random String
+ Log To Console We are going to generate a random string
+ Generate Random String 10
+ Log To Console We finished generating a random string
+```
+- `Create A Random String` in the Test Cases section is unindented, indicating that it is a test case name.
+- The lines below `Create A Random String` are indented, showing that these are keywords used in the test case.
+- Several spaces between `Generate Random String` and `10` indicate that `10` is an argument for the keyword, specifying that our random string will be 10 characters long.
+- The `Log To Console` keywords are followed by a few spaces and a sentence. The spaces ensure that the following sentence is the text we want to log to our console.
+
+You can see that spacing and indentation are extremely important in Robot Framework. They are necessary to distinguish between a keyword and its arguments, as well as to differentiate between test names and the keywords within the tests. Remember, Robot Framework needs at least two spaces to correctly differentiate elements. More spaces are also allowed. For more details on spacing conventions, refer to the [Style Guide](../style_guide.md#horizontal-spacing).
+## Everything together
+
+
+
+{/* TODO: review newly added indentation text
+TODO: add page on front page between RPA and IDE, same Icon as IDE */}
\ No newline at end of file
diff --git a/website/docs/getting_started/ide.mdx b/website/docs/getting_started/ide.mdx
index 1e1cb8f2..084a668c 100644
--- a/website/docs/getting_started/ide.mdx
+++ b/website/docs/getting_started/ide.mdx
@@ -28,8 +28,8 @@ import {
## Install IDE and Extensions
-Several IDEs and Code Editors support the development of Robot Framework tests.
-The support ranges from simple code-highlighting, code-completion to test execution and debugging.
+Several IDEs and Code Editors support the development of Robot Framework tests.
+The support ranges from simple code-highlighting, code-completion to test execution and debugging.
We list several IDEs and Extensions here, but there are many more.
### Visual Studio Code
@@ -39,9 +39,9 @@ It provides extensions for a lot of different languages and technologies.

-Popular extensions for Robot Framework:
+Popular extensions for Robot Framework:
- [Robot Code](https://robotcode.io)
-- [Robot Framework Language Server](https://marketplace.visualstudio.com/items?itemName=robocorp.robotframework-lsp)
+- [Robot Framework Language Server](https://marketplace.visualstudio.com/items?itemName=robocorp.robotframework-lsp)
- ⚠️ No longer maintained and does not work with Robot Framework 7+
#### Install Visual Studio Code
@@ -61,7 +61,7 @@ See the [VS Code setup guide](https://code.visualstudio.com/docs/setup/setup-ove
-1. Open a terminal
+1. Open a terminal
2. Execute `sudo snap install code --classic`
3. Start Visual Studio Code by executing `code`
@@ -70,7 +70,7 @@ See the [VS Code setup guide](https://code.visualstudio.com/docs/setup/setup-ove
1. Download the deb package from [Visual Studio Code](https://code.visualstudio.com/download)
2. Open a terminal
-3. Type `sudo dpkg -i `
+3. Type `sudo dpkg -i `
e.g. `sudo dpkg -i ~/Downloads/code_1.65.2-1646927742_amd64.deb`
4. Start Visual Studio Code by executing `code`
@@ -79,7 +79,7 @@ e.g. `sudo dpkg -i ~/Downloads/code_1.65.2-1646927742_amd64.deb`
1. Download the rpm package from [Visual Studio Code](https://code.visualstudio.com/download)
2. Open a terminal
-3. Type `sudo rpm -i `
+3. Type `sudo rpm -i `
e.g. `sudo rpm -i ~/Downloads/code-1.65.2-1646927812.el7.x86_64.rpm`
4. Start Visual Studio Code by executing `code`
@@ -90,7 +90,7 @@ e.g. `sudo rpm -i ~/Downloads/code-1.65.2-1646927812.el7.x86_64.rpm`
#### Visual Studio Code Extensions
:::tip Only install one Robot Framework Extension
-Make sure that only a **single** Robot Framework extension is installed.
+Make sure that only a **single** Robot Framework extension is installed.
We strongly recommend to only install [RobotCode](https://robotcode.io)
:::
@@ -112,9 +112,9 @@ Check out this extended Tutorial about Robot Code
-[Robot Framework Language Server](https://marketplace.visualstudio.com/items?itemName=robocorp.robotframework-lsp) is a Visual Studio Code extension for Robot Framework.
+[Robot Framework Language Server](https://marketplace.visualstudio.com/items?itemName=robocorp.robotframework-lsp) is a Visual Studio Code extension for Robot Framework.
-⚠️ No longer maintained and does not work with Robot Framework 7+
+⚠️ No longer maintained and does not work with Robot Framework 7+

@@ -150,7 +150,7 @@ Make sure to install the free `PyCharm Community Edition` and not the `PyCharm P
#### PyCharm extensions
:::tip Only install one Robot Framework Extension
-Make sure that only a **single** Robot Framework extension is installed.
+Make sure that only a **single** Robot Framework extension is installed.
:::
##### Robot Framework Language Server
@@ -159,22 +159,22 @@ Make sure that only a **single** Robot Framework extension is installed.
2. Select `Plugins`
3. Select the `Marketplace` tab
4. Search for `Robot Framework Language Server` and click on `Install`
-5. Add a Debug Configuration for Robot Framework to run current test suite
-
+5. Add a Debug Configuration for Robot Framework to run current test suite
+
6. Add a Debug Configuration for Robot Framework to run current test case (via selected text)

-⚠️ No longer maintained and does not work with Robot Framework 7+
+⚠️ No longer maintained and does not work with Robot Framework 7+
1. Press `Ctrl + Alt + S` to open the settings dialog
2. Select `Plugins`
3. Select the `Marketplace` tab
4. Search for `Robot Framework Language Server` and click on `Install`
-5. Add a Debug Configuration for Robot Framework to run current test suite
-
+5. Add a Debug Configuration for Robot Framework to run current test suite
+
6. Add a Debug Configuration for Robot Framework to run current test case (via selected text)

@@ -191,7 +191,7 @@ Make sure that only a **single** Robot Framework extension is installed.
-## Run and Debug Robot Framework Tests
+## Run and Debug Robot Framework Tests
### Visual Studio Code with RobotCode
@@ -199,20 +199,20 @@ Make sure that only a **single** Robot Framework extension is installed.

#### Debug
-Add a breakpoint to your test suite or resource file, by clicking on the left-hand side of the line.
+Add a breakpoint to your test suite or resource file, by clicking on the left-hand side of the line.

-Right-Click on the `Play` button
+Right-Click on the `Play` button

-Select `Debug Test` from the context menu.
-Test Execution will begin and stop at the breakpoint.
+Select `Debug Test` from the context menu.
+Test Execution will begin and stop at the breakpoint.

-Use `Debug Toolbar` to select actions like step over, step into, step out, continue, pause, etc.
+Use `Debug Toolbar` to select actions like step over, step into, step out, continue, pause, etc.

-Run Robot Frameworm commands while debugging from `Debug Console`.
+Run Robot Framework commands while debugging from `Debug Console`.

### PyCharm with Robot Framework Language Server
diff --git a/website/docs/getting_started/videos.mdx b/website/docs/getting_started/videos.mdx
index b3353a56..4a5fb157 100644
--- a/website/docs/getting_started/videos.mdx
+++ b/website/docs/getting_started/videos.mdx
@@ -1,5 +1,5 @@
---
-sidebar_position: 4
+sidebar_position: 5
sidebar_label: Videos
title: Videos and Tutorials
description: Videos and Tutorials
@@ -7,7 +7,7 @@ description: Videos and Tutorials
## Official Robot Framework Tutorial
-The official Robot Framework tutorial video presented by the Robot Framework creator **Pekka Klärck**.
+The official Robot Framework tutorial video presented by the Robot Framework creator **Pekka Klärck**.
New videos will be added to this playlist in the future.
[Official Robot Framework Tutorial](https://youtube.com/playlist?list=PLSK6YK5OGX1AuQy0tbvdKBV9mrKi46kKH)
@@ -20,23 +20,23 @@ New videos will be added to this playlist in the future.
This channel is dedicated to those who want to start automating with Robot Framework but also to those who are already using this tool and want to find out new tips and tricks they might have missed.
-[Robot Framework Tutorials Channel](https://www.youtube.com/@RobotFrameworkTutorials)
+[Robot Framework Tutorials Channel](https://www.youtube.com/@RobotFrameworkTutorials)
---
-[Complete Robot Framework Tutorial](https://www.youtube.com/playlist?list=PL4GZKvvcjS3u9FP3F9zW4ZbZB8pti2k37)
+[Complete Robot Framework Tutorial](https://www.youtube.com/playlist?list=PL4GZKvvcjS3u9FP3F9zW4ZbZB8pti2k37)
---
-[Web Automation With Robot Framework](https://www.youtube.com/playlist?list=PL4GZKvvcjS3sRKidOUNVQSR3aq7TEQglp)
+[Web Automation With Robot Framework](https://www.youtube.com/playlist?list=PL4GZKvvcjS3sRKidOUNVQSR3aq7TEQglp)
---
-[Mobile Automation With Robot Framework And Appium](https://www.youtube.com/playlist?list=PL4GZKvvcjS3vAPWLqWbKZogkL5cD71yrT)
+[Mobile Automation With Robot Framework And Appium](https://www.youtube.com/playlist?list=PL4GZKvvcjS3vAPWLqWbKZogkL5cD71yrT)
@@ -46,6 +46,6 @@ This channel is dedicated to those who want to start automating with Robot Frame
Test Automation University is a free, online learning platform for software testers and developers. It is a community-driven project that is supported by the community. The goal of Test Automation University is to provide free, high-quality, and up-to-date training for software testers and developers.
-[Introduction To Robot Framework](https://testautomationu.applitools.com/robot-framework-tutorial/)
+[Introduction To Robot Framework](https://testautomationu.applitools.com/robot-framework-tutorial/)
diff --git a/website/docs/index.mdx b/website/docs/index.mdx
index e2c3bbd7..2a6daba5 100644
--- a/website/docs/index.mdx
+++ b/website/docs/index.mdx
@@ -58,6 +58,12 @@ If you have any questions, please reach out to our awesome community on [Slack](
description="Install and set up your IDE for coding and debugging"
to="/docs/getting_started/ide"
/>
+ }
+ description="How To Write Robot Framework Code"
+ to="/docs/getting_started/how_to_write_rf"
+ />
}