Page Not Found | ROBOT FRAMEWORK
-
+
diff --git a/assets/js/08a7e062.1803efac.js b/assets/js/08a7e062.1803efac.js
deleted file mode 100644
index c34def11..00000000
--- a/assets/js/08a7e062.1803efac.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6532],{6730:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>c,frontMatter:()=>s,metadata:()=>i,toc:()=>u});var o=n(4848),r=n(8453);const s={sidebar_label:"Database Library",title:"Database Library"},a=void 0,i={id:"different_libraries/database",title:"Database Library",description:"Database Library is a Robot Framework library that provides keywords for interacting with databases.",source:"@site/docs/different_libraries/database.md",sourceDirName:"different_libraries",slug:"/different_libraries/database",permalink:"/docs/different_libraries/database",draft:!1,unlisted:!1,editUrl:"https://github.com/MarketSquare/robotframeworkguides/edit/main/website/docs/different_libraries/database.md",tags:[],version:"current",frontMatter:{sidebar_label:"Database Library",title:"Database Library"},sidebar:"tutorialSidebar",previous:{title:"Browser Library",permalink:"/docs/different_libraries/browser"},next:{title:"Requests Library",permalink:"/docs/different_libraries/requests"}},l={},u=[{value:"Installation",id:"installation",level:2},{value:"Install from PyPI",id:"install-from-pypi",level:3},{value:"Examples",id:"examples",level:2}];function p(e){const t={a:"a",br:"br",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"Database Library"})," is a ",(0,o.jsx)(t.a,{href:"https://robotframework.org/",children:"Robot Framework"})," library that provides keywords for interacting with databases.",(0,o.jsx)(t.br,{}),"\n","It offers keywords to e.g."]}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsx)(t.li,{children:"connect to a database"}),"\n",(0,o.jsx)(t.li,{children:"execute SQL queries"}),"\n",(0,o.jsx)(t.li,{children:"fetch results from the database"}),"\n",(0,o.jsx)(t.li,{children:"assert table contents and result sets"}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"installation",children:"Installation"}),"\n",(0,o.jsx)(t.h3,{id:"install-from-pypi",children:"Install from PyPI"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-bash",children:"pip install robotframework-databaselibrary\n"})}),"\n",(0,o.jsxs)(t.p,{children:["To connect to a database, you also need to install a Python Module adhearing to the ",(0,o.jsx)(t.a,{href:"https://www.python.org/dev/peps/pep-0249/",children:"Python Database API Specification v2.0"}),".",(0,o.jsx)(t.br,{}),"\n","You can find a list of supported database modules ",(0,o.jsx)(t.a,{href:"https://wiki.python.org/moin/DatabaseInterfaces",children:"here"}),"."]}),"\n",(0,o.jsx)(t.p,{children:"Examples are:"}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.a,{href:"https://pypi.org/project/psycopg2/",children:"psycopg2"})," for PostgreSQL"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.a,{href:"https://pypi.org/project/cx-Oracle/",children:"cx_Oracle"})," for Oracle"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.a,{href:"https://pypi.org/project/PyMySQL/",children:"pymysql"})," for MySQL"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.a,{href:"https://pypi.org/project/pyodbc/",children:"pyodbc"})," for Microsoft SQL Server"]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"examples",children:"Examples"}),"\n",(0,o.jsxs)(t.p,{children:["Check out the ",(0,o.jsx)(t.a,{href:"https://github.com/franz-see/Robotframework-Database-Library/tree/master/test",children:"tests"})," folder in the repository for examples."]}),"\n",(0,o.jsx)(t.p,{children:"Example for a PostgreSQL database:"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-robotframework",children:"*** Settings ***\nSuite Setup Connect To Database psycopg2 ${DBName} ${DBUser} ${DBPass} ${DBHost} ${DBPort}\nSuite Teardown Disconnect From Database\nLibrary DatabaseLibrary\nLibrary OperatingSystem\nLibrary Collections\n\n*** Variables ***\n${DBHost} localhost\n${DBName} travis_ci_test\n${DBPass} \"\"\n${DBPort} 5432\n${DBUser} postgres\n\n*** Test Cases ***\nCreate person table\n ${output} = Execute SQL String CREATE TABLE person (id integer unique,first_name varchar,last_name varchar);\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nExecute SQL Script - Insert Data person table\n Comment ${output} = Execute SQL Script ./${DBName}_insertData.sql\n ${output} = Execute SQL Script ./my_db_test_insertData.sql\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nExecute SQL String - Create Table\n ${output} = Execute SQL String create table foobar (id integer primary key, firstname varchar unique)\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nCheck If Exists In DB - Franz Allan\n Check If Exists In Database SELECT id FROM person WHERE first_name = 'Franz Allan';\n\nCheck If Not Exists In DB - Joe\n Check If Not Exists In Database SELECT id FROM person WHERE first_name = 'Joe';\n\nTable Must Exist - person\n Table Must Exist person\n\nVerify Row Count is 0\n Row Count is 0 SELECT * FROM person WHERE first_name = 'NotHere';\n\nVerify Row Count is Equal to X\n Row Count is Equal to X SELECT id FROM person; 2\n\nVerify Row Count is Less Than X\n Row Count is Less Than X SELECT id FROM person; 3\n\nVerify Row Count is Greater Than X\n Row Count is Greater Than X SELECT * FROM person; 1\n\nRetrieve Row Count\n ${output} = Row Count SELECT id FROM person;\n Log ${output}\n Should Be Equal As Strings ${output} 2\n\nRetrieve records from person table\n ${output} = Execute SQL String SELECT * FROM person;\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nVerify person Description\n [Tags] db smoke\n Comment Query db for table column descriptions\n @{queryResults} = Description SELECT * FROM person LIMIT 1;\n Log Many @{queryResults}\n ${output} = Set Variable ${queryResults[0]}\n Should Be Equal As Strings ${output} Column(name='id', type_code=23, display_size=None, internal_size=4, precision=None, scale=None, null_ok=None)\n ${output} = Set Variable ${queryResults[1]}\n Should Be Equal As Strings ${output} Column(name='first_name', type_code=1043, display_size=None, internal_size=-1, precision=None, scale=None, null_ok=None)\n ${output} = Set Variable ${queryResults[2]}\n Should Be Equal As Strings ${output} Column(name='last_name', type_code=1043, display_size=None, internal_size=-1, precision=None, scale=None, null_ok=None)\n ${NumColumns} = Get Length ${queryResults}\n Should Be Equal As Integers ${NumColumns} 3\n\nVerify foobar Description\n [Tags] db smoke\n Comment Query db for table column descriptions\n @{queryResults} = Description SELECT * FROM foobar LIMIT 1;\n Log Many @{queryResults}\n ${output} = Set Variable ${queryResults[0]}\n Should Be Equal As Strings ${output} Column(name='id', type_code=23, display_size=None, internal_size=4, precision=None, scale=None, null_ok=None)\n ${output} = Set Variable ${queryResults[1]}\n Should Be Equal As Strings ${output} Column(name='firstname', type_code=1043, display_size=None, internal_size=-1, precision=None, scale=None, null_ok=None)\n ${NumColumns} = Get Length ${queryResults}\n Should Be Equal As Integers ${NumColumns} 2\n\nVerify Query - Row Count person table\n ${output} = Query SELECT COUNT(*) FROM person;\n Log ${output}\n ${val}= Get from list ${output} 0\n ${val}= Convert to list ${val}\n ${val}= Get from list ${val} 0\n Should be equal as Integers ${val} 2\n\nVerify Query - Row Count foobar table\n ${output} = Query SELECT COUNT(*) FROM foobar;\n Log ${output}\n ${val}= Get from list ${output} 0\n ${val}= Convert to list ${val}\n ${val}= Get from list ${val} 0\n Should be equal as Integers ${val} 0\n\nVerify Query - Get results as a list of dictionaries\n [Tags] db smoke\n ${output} = Query SELECT * FROM person; \\ True\n Log ${output}\n Should Be Equal As Strings &{output[0]}[first_name] Franz Allan\n Should Be Equal As Strings &{output[1]}[first_name] Jerry\n\nVerify Execute SQL String - Row Count person table\n ${output} = Execute SQL String SELECT COUNT(*) FROM person;\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nVerify Execute SQL String - Row Count foobar table\n ${output} = Execute SQL String SELECT COUNT(*) FROM foobar;\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nInsert Data Into Table foobar\n ${output} = Execute SQL String INSERT INTO foobar VALUES(1,'Jerry');\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nVerify Query - Row Count foobar table 1 row\n ${output} = Query SELECT COUNT(*) FROM foobar;\n Log ${output}\n ${val}= Get from list ${output} 0\n ${val}= Convert to list ${val}\n ${val}= Get from list ${val} 0\n Should be equal as Integers ${val} 1\n\nVerify Delete All Rows From Table - foobar\n Delete All Rows From Table foobar\n Comment Sleep 2s\n\nVerify Query - Row Count foobar table 0 row\n Row Count Is 0 SELECT * FROM foobar;\n Comment ${output} = Query SELECT COUNT(*) FROM foobar;\n Comment Log ${output}\n Comment Should Be Equal As Strings ${output} [(0,)]\n\nDrop person and foobar tables\n ${output} = Execute SQL String DROP TABLE IF EXISTS person,foobar;\n Log ${output}\n Should Be Equal As Strings ${output} None\n"})})]})}function c(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(p,{...e})}):p(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>i});var o=n(6540);const r={},s=o.createContext(r);function a(e){const t=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/08a7e062.5eef15d5.js b/assets/js/08a7e062.5eef15d5.js
new file mode 100644
index 00000000..492c8a5d
--- /dev/null
+++ b/assets/js/08a7e062.5eef15d5.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6532],{6730:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>c,frontMatter:()=>s,metadata:()=>i,toc:()=>u});var o=n(4848),r=n(8453);const s={sidebar_label:"Database Library",title:"Database Library"},a=void 0,i={id:"different_libraries/database",title:"Database Library",description:"Database Library is a Robot Framework library that provides keywords for interacting with databases.",source:"@site/docs/different_libraries/database.md",sourceDirName:"different_libraries",slug:"/different_libraries/database",permalink:"/docs/different_libraries/database",draft:!1,unlisted:!1,editUrl:"https://github.com/MarketSquare/robotframeworkguides/edit/main/website/docs/different_libraries/database.md",tags:[],version:"current",frontMatter:{sidebar_label:"Database Library",title:"Database Library"},sidebar:"tutorialSidebar",previous:{title:"Browser Library",permalink:"/docs/different_libraries/browser"},next:{title:"Requests Library",permalink:"/docs/different_libraries/requests"}},l={},u=[{value:"Installation",id:"installation",level:2},{value:"Install from PyPI",id:"install-from-pypi",level:3},{value:"Examples",id:"examples",level:2}];function p(e){const t={a:"a",br:"br",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"Database Library"})," is a ",(0,o.jsx)(t.a,{href:"https://robotframework.org/",children:"Robot Framework"})," library that provides keywords for interacting with databases.",(0,o.jsx)(t.br,{}),"\n","It offers keywords to e.g."]}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsx)(t.li,{children:"connect to a database"}),"\n",(0,o.jsx)(t.li,{children:"execute SQL queries"}),"\n",(0,o.jsx)(t.li,{children:"fetch results from the database"}),"\n",(0,o.jsx)(t.li,{children:"assert table contents and result sets"}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"installation",children:"Installation"}),"\n",(0,o.jsx)(t.h3,{id:"install-from-pypi",children:"Install from PyPI"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-bash",children:"pip install robotframework-databaselibrary\n"})}),"\n",(0,o.jsxs)(t.p,{children:["To connect to a database, you also need to install a Python Module adhearing to the ",(0,o.jsx)(t.a,{href:"https://www.python.org/dev/peps/pep-0249/",children:"Python Database API Specification v2.0"}),".",(0,o.jsx)(t.br,{}),"\n","You can find a list of supported database modules ",(0,o.jsx)(t.a,{href:"https://wiki.python.org/moin/DatabaseInterfaces",children:"here"}),"."]}),"\n",(0,o.jsx)(t.p,{children:"Examples are:"}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.a,{href:"https://pypi.org/project/psycopg2/",children:"psycopg2"})," for PostgreSQL"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.a,{href:"https://pypi.org/project/cx-Oracle/",children:"cx_Oracle"})," for Oracle"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.a,{href:"https://pypi.org/project/PyMySQL/",children:"pymysql"})," for MySQL"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.a,{href:"https://pypi.org/project/pyodbc/",children:"pyodbc"})," for Microsoft SQL Server"]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"examples",children:"Examples"}),"\n",(0,o.jsxs)(t.p,{children:["Check out the ",(0,o.jsx)(t.a,{href:"https://github.com/MarketSquare/Robotframework-Database-Library/tree/master/test",children:"tests"})," folder in the repository for examples."]}),"\n",(0,o.jsx)(t.p,{children:"Example for a PostgreSQL database:"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-robotframework",children:"*** Settings ***\nSuite Setup Connect To Database psycopg2 ${DBName} ${DBUser} ${DBPass} ${DBHost} ${DBPort}\nSuite Teardown Disconnect From Database\nLibrary DatabaseLibrary\nLibrary OperatingSystem\nLibrary Collections\n\n*** Variables ***\n${DBHost} localhost\n${DBName} travis_ci_test\n${DBPass} \"\"\n${DBPort} 5432\n${DBUser} postgres\n\n*** Test Cases ***\nCreate person table\n ${output} = Execute SQL String CREATE TABLE person (id integer unique,first_name varchar,last_name varchar);\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nExecute SQL Script - Insert Data person table\n Comment ${output} = Execute SQL Script ./${DBName}_insertData.sql\n ${output} = Execute SQL Script ./my_db_test_insertData.sql\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nExecute SQL String - Create Table\n ${output} = Execute SQL String create table foobar (id integer primary key, firstname varchar unique)\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nCheck If Exists In DB - Franz Allan\n Check If Exists In Database SELECT id FROM person WHERE first_name = 'Franz Allan';\n\nCheck If Not Exists In DB - Joe\n Check If Not Exists In Database SELECT id FROM person WHERE first_name = 'Joe';\n\nTable Must Exist - person\n Table Must Exist person\n\nVerify Row Count is 0\n Row Count is 0 SELECT * FROM person WHERE first_name = 'NotHere';\n\nVerify Row Count is Equal to X\n Row Count is Equal to X SELECT id FROM person; 2\n\nVerify Row Count is Less Than X\n Row Count is Less Than X SELECT id FROM person; 3\n\nVerify Row Count is Greater Than X\n Row Count is Greater Than X SELECT * FROM person; 1\n\nRetrieve Row Count\n ${output} = Row Count SELECT id FROM person;\n Log ${output}\n Should Be Equal As Strings ${output} 2\n\nRetrieve records from person table\n ${output} = Execute SQL String SELECT * FROM person;\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nVerify person Description\n [Tags] db smoke\n Comment Query db for table column descriptions\n @{queryResults} = Description SELECT * FROM person LIMIT 1;\n Log Many @{queryResults}\n ${output} = Set Variable ${queryResults[0]}\n Should Be Equal As Strings ${output} Column(name='id', type_code=23, display_size=None, internal_size=4, precision=None, scale=None, null_ok=None)\n ${output} = Set Variable ${queryResults[1]}\n Should Be Equal As Strings ${output} Column(name='first_name', type_code=1043, display_size=None, internal_size=-1, precision=None, scale=None, null_ok=None)\n ${output} = Set Variable ${queryResults[2]}\n Should Be Equal As Strings ${output} Column(name='last_name', type_code=1043, display_size=None, internal_size=-1, precision=None, scale=None, null_ok=None)\n ${NumColumns} = Get Length ${queryResults}\n Should Be Equal As Integers ${NumColumns} 3\n\nVerify foobar Description\n [Tags] db smoke\n Comment Query db for table column descriptions\n @{queryResults} = Description SELECT * FROM foobar LIMIT 1;\n Log Many @{queryResults}\n ${output} = Set Variable ${queryResults[0]}\n Should Be Equal As Strings ${output} Column(name='id', type_code=23, display_size=None, internal_size=4, precision=None, scale=None, null_ok=None)\n ${output} = Set Variable ${queryResults[1]}\n Should Be Equal As Strings ${output} Column(name='firstname', type_code=1043, display_size=None, internal_size=-1, precision=None, scale=None, null_ok=None)\n ${NumColumns} = Get Length ${queryResults}\n Should Be Equal As Integers ${NumColumns} 2\n\nVerify Query - Row Count person table\n ${output} = Query SELECT COUNT(*) FROM person;\n Log ${output}\n ${val}= Get from list ${output} 0\n ${val}= Convert to list ${val}\n ${val}= Get from list ${val} 0\n Should be equal as Integers ${val} 2\n\nVerify Query - Row Count foobar table\n ${output} = Query SELECT COUNT(*) FROM foobar;\n Log ${output}\n ${val}= Get from list ${output} 0\n ${val}= Convert to list ${val}\n ${val}= Get from list ${val} 0\n Should be equal as Integers ${val} 0\n\nVerify Query - Get results as a list of dictionaries\n [Tags] db smoke\n ${output} = Query SELECT * FROM person; \\ True\n Log ${output}\n Should Be Equal As Strings &{output[0]}[first_name] Franz Allan\n Should Be Equal As Strings &{output[1]}[first_name] Jerry\n\nVerify Execute SQL String - Row Count person table\n ${output} = Execute SQL String SELECT COUNT(*) FROM person;\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nVerify Execute SQL String - Row Count foobar table\n ${output} = Execute SQL String SELECT COUNT(*) FROM foobar;\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nInsert Data Into Table foobar\n ${output} = Execute SQL String INSERT INTO foobar VALUES(1,'Jerry');\n Log ${output}\n Should Be Equal As Strings ${output} None\n\nVerify Query - Row Count foobar table 1 row\n ${output} = Query SELECT COUNT(*) FROM foobar;\n Log ${output}\n ${val}= Get from list ${output} 0\n ${val}= Convert to list ${val}\n ${val}= Get from list ${val} 0\n Should be equal as Integers ${val} 1\n\nVerify Delete All Rows From Table - foobar\n Delete All Rows From Table foobar\n Comment Sleep 2s\n\nVerify Query - Row Count foobar table 0 row\n Row Count Is 0 SELECT * FROM foobar;\n Comment ${output} = Query SELECT COUNT(*) FROM foobar;\n Comment Log ${output}\n Comment Should Be Equal As Strings ${output} [(0,)]\n\nDrop person and foobar tables\n ${output} = Execute SQL String DROP TABLE IF EXISTS person,foobar;\n Log ${output}\n Should Be Equal As Strings ${output} None\n"})})]})}function c(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(p,{...e})}):p(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>i});var o=n(6540);const r={},s=o.createContext(r);function a(e){const t=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/2abe96bb.8c230408.js b/assets/js/2abe96bb.55c18950.js
similarity index 52%
rename from assets/js/2abe96bb.8c230408.js
rename to assets/js/2abe96bb.55c18950.js
index df465aaa..6f24a9a5 100644
--- a/assets/js/2abe96bb.8c230408.js
+++ b/assets/js/2abe96bb.55c18950.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1990],{1890:(r,e,t)=>{t.r(e),t.d(e,{assets:()=>b,contentTitle:()=>n,default:()=>c,frontMatter:()=>s,metadata:()=>l,toc:()=>m});var a=t(4848),o=t(8453),i=t(9292);const s={sidebar_label:"Standard Library",title:"Standard Library"},n=void 0,l={id:"different_libraries/standard",title:"Standard Library",description:"The Libraries which are part of the Standard Library are distributed with Robot Framework Core.",source:"@site/docs/different_libraries/standard.mdx",sourceDirName:"different_libraries",slug:"/different_libraries/standard",permalink:"/docs/different_libraries/standard",draft:!1,unlisted:!1,editUrl:"https://github.com/MarketSquare/robotframeworkguides/edit/main/website/docs/different_libraries/standard.mdx",tags:[],version:"current",frontMatter:{sidebar_label:"Standard Library",title:"Standard Library"},sidebar:"tutorialSidebar",previous:{title:"Selenium Library",permalink:"/docs/different_libraries/selenium"},next:{title:"Overview",permalink:"/docs/examples/overview"}},b={},m=[{value:"Importing Libraries",id:"importing-libraries",level:2},{value:"Examples",id:"examples",level:2},{value:"BuiltIn Library",id:"builtin-library",level:3},{value:"Collections Library",id:"collections-library",level:3},{value:"DateTime",id:"datetime",level:3},{value:"XML Library",id:"xml-library",level:3},{value:"Robot Framework 5 Syntax Examples",id:"robot-framework-5-syntax-examples",level:3}];function d(r){const e={br:"br",code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...(0,o.R)(),...r.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(e.p,{children:["The Libraries which are part of the ",(0,a.jsx)(e.strong,{children:"Standard Library"})," are distributed with Robot Framework Core.",(0,a.jsx)(e.br,{}),"\n","The ",(0,a.jsx)(e.strong,{children:"BuiltIn"})," library is the most important library of the Standard Library and is available by default.",(0,a.jsx)(e.br,{}),"\n","Other libraries are available by importing them."]}),"\n","\n",(0,a.jsx)(i.b2,{}),"\n",(0,a.jsx)(e.h2,{id:"importing-libraries",children:"Importing Libraries"}),"\n",(0,a.jsx)(e.pre,{children:(0,a.jsx)(e.code,{className:"language-robotframework",children:"*** Settings ***\r\nLibrary Collections\r\nLibrary OperatingSystem\r\nLibrary Process\r\nLibrary String\r\nLibrary Telnet\r\nLibrary XML\n"})}),"\n",(0,a.jsx)(e.h2,{id:"examples",children:"Examples"}),"\n",(0,a.jsx)(e.h3,{id:"builtin-library",children:"BuiltIn Library"}),"\n",(0,a.jsx)("iframe",{src:"https://robotframework.org/embed/?code-gh-url=https://github.com/MarketSquare/robotframeworkguides/tree/main/code-examples/standard_library/builtin",width:"100%",height:"600"}),"\n",(0,a.jsx)(e.h3,{id:"collections-library",children:"Collections Library"}),"\n",(0,a.jsx)("iframe",{src:"https://robotframework.org/embed/?code-gh-url=https://github.com/MarketSquare/robotframeworkguides/tree/main/code-examples/standard_library/collections",width:"100%",height:"600"}),"\n",(0,a.jsx)(e.h3,{id:"datetime",children:"DateTime"}),"\n",(0,a.jsx)("iframe",{src:"https://robotframework.org/embed/?code-gh-url=https://github.com/MarketSquare/robotframeworkguides/tree/main/code-examples/standard_library/datetime",width:"100%",height:"600"}),"\n",(0,a.jsx)(e.h3,{id:"xml-library",children:"XML Library"}),"\n",(0,a.jsx)("iframe",{src:"https://robotframework.org/embed/?code-gh-url=https://github.com/robotframework/live/tree/robocon_examples/Examples/ExampleXML",width:"100%",height:"600"}),"\n",(0,a.jsx)(e.h3,{id:"robot-framework-5-syntax-examples",children:"Robot Framework 5 Syntax Examples"}),"\n",(0,a.jsx)("iframe",{src:"https://robotframework.org/embed/?code-gh-url=https://github.com/MarketSquare/robotframeworkguides/tree/main/code-examples/standard_library/RF5_Syntax",width:"100%",height:"600"})]})}function c(r={}){const{wrapper:e}={...(0,o.R)(),...r.components};return e?(0,a.jsx)(e,{...r,children:(0,a.jsx)(d,{...r})}):d(r)}},9292:(r,e,t)=>{t.d(e,{J_:()=>n,CU:()=>s,b2:()=>l});var a=t(5856),o=t(6540),i=t(4848);const s=function(){const r=(0,o.useRef)(null),e=new a.xA({columns:[{name:"Name",width:"50%",formatter:(r,e,t)=>(0,a.qy)(`
`;return(0,a.qy)(t)}},{name:"Tags"}],data:[{name:"Browser Library",description:"Robot Framework Browser library powered by Playwright. Aiming for speed, reliability and visibility.",localpage:"browser",urls:{GitHub:"https://github.com/MarketSquare/robotframework-browser",PyPI:"https://pypi.org/project/robotframework-browser/",Project:"https://robotframework-browser.org/",Docs:"https://marketsquare.github.io/robotframework-browser/Browser.html"},tags:"UI, Web"},{name:"Selenium Library",description:"Web testing library that uses popular Selenium tool internally.",localpage:"selenium",urls:{GitHub:"https://github.com/robotframework/SeleniumLibrary/",PyPI:"https://pypi.org/project/robotframework-seleniumlibrary/",Docs:"https://robotframework.org/SeleniumLibrary/SeleniumLibrary.html"},tags:"UI, Web"},{name:"RPA Framework",description:"Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used both with Robot Framework and Python.",localpage:"rpa",urls:{GitHub:"https://github.com/robocorp/rpaframework",PyPI:"https://pypi.org/project/rpaframework/",Project:"https://rpaframework.org/"},tags:"UI, Web, Desktop, API, Database, RPA"},{name:"Requests Library",description:"A Robot Framework library aimed to provide HTTP api testing functionalities by wrapping the well known Python Requests Library",localpage:"requests",urls:{GitHub:"https://github.com/MarketSquare/robotframework-requests/",PyPI:"https://pypi.org/project/robotframework-requests/",Docs:"https://marketsquare.github.io/robotframework-requests/doc/RequestsLibrary.html"},tags:"API"},{name:"Appium Library",description:"Android and iOS testing. Uses Appium internally.",localpage:"appium",urls:{GitHub:"https://github.com/serhatbolsu/robotframework-appiumlibrary",PyPI:"https://pypi.org/project/robotframework-appiumlibrary/",Docs:"https://serhatbolsu.github.io/robotframework-appiumlibrary/AppiumLibrary.html"},tags:"Mobile, UI"},{name:"Database Library",description:"Python based library for database testing.",localpage:"database",urls:{GitHub:"https://github.com/franz-see/Robotframework-Database-Library",PyPI:"https://pypi.org/project/robotframework-databaselibrary/",Project:"http://franz-see.github.io/Robotframework-Database-Library/",Docs:"http://franz-see.github.io/Robotframework-Database-Library/api/1.2.2/DatabaseLibrary.html"},tags:"Database"},{name:"Standard Library",description:"Logging, File Handling, Operating System, Process, String, and XML and much more",localpage:"standard",urls:{GitHub:"https://github.com/robotframework/robotframework/tree/master/src/robot/libraries",Project:"https://robotframework.org/robotframework/#standard-libraries",Docs:"https://robotframework.org/robotframework/#standard-libraries"},tags:"Process, File, OS, XML, String, Logging"}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,o.useEffect)((()=>{e.render(r.current)})),(0,i.jsx)("div",{ref:r})};const n=function(){const r=(0,o.useRef)(null),e=new a.xA({columns:[{name:"Icon",id:"icon",formatter:(r,e,t)=>(0,a.qy)(``)},{name:"Name",width:"50%",formatter:(r,e,t)=>(0,a.qy)(`
`;return(0,a.qy)(t)}},{name:"Tags"}],data:[{icon:"/icons/list-checks.svg",name:"Todo MVC",description:"A simple todo app built in different frameworks and automated using Browser Library",localpage:"todo",urls:{Example:"todo","System Under Test":"https://todomvc.com/"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser"},tags:"UI, Web"},{icon:"/icons/car.svg",name:"Vehice Insurance App",description:"An vehicle insurance calculator web app that requires user inputs in multiple screens",localpage:"insurance",urls:{Example:"insurance","System Under Test":"http://sampleapp.tricentis.com/"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser"},tags:"UI, Web"},{icon:"/icons/bed.svg",name:"Restful Booker",description:"A room booking app with a REST API",localpage:"restfulbooker",urls:{Example:"restfulbooker","System Under Test":"https://restful-booker.herokuapp.com/"},usedLibrary:{"Requests Library":"https://github.com/MarketSquare/robotframework-requests/"},tags:"API, Requests"},{icon:"/icons/log-in.svg",name:"MFA Login",description:"A Login page which requires a two-factor authentication with a TOTP code",localpage:"mfa_login",urls:{Example:"mfa_login","System Under Test":"https://seleniumbase.io/realworld/login"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser","Custom TOPT Library":"/code-examples/browser/totp.py"},tags:"UI, Web, MFA, TOTP"}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,o.useEffect)((()=>{e.render(r.current)})),(0,i.jsx)("div",{ref:r})};const l=function(){const r=(0,o.useRef)(null),e=new a.xA({columns:[{name:"Name",width:"70%",formatter:(r,e,t)=>(0,a.qy)(`
`;return(0,a.qy)(t)}}],data:[{name:"BuiltIn",description:"Contains generic often needed keywords. Imported automatically and thus always available.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/BuiltIn.html"}},{name:"Collections",description:"Contains keywords for handling lists and dictionaries.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Collections.html"}},{name:"DateTime",description:"Supports creating and verifying date and time values as well as calculations between them.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/DateTime.html"}},{name:"Dialogs",description:"Supports pausing the test execution and getting input from users.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Dialogs.html"}},{name:"OperatingSystem",description:"\tEnables performing various operating system related tasks.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/OperatingSystem.html"}},{name:"Process",description:"Supports executing processes in the system.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Process.html"}},{name:"Screenshot",description:"Provides keywords to capture and store screenshots of the desktop.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Screenshot.html"}},{name:"String",description:"Library for manipulating strings and verifying their contents.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/String.html"}},{name:"Telnet",description:"\tSupports connecting to Telnet servers and executing commands on the opened connections.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Telnet.html"}},{name:"XML",description:"Library for verifying and modifying XML documents.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/XML.html"}}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,o.useEffect)((()=>{e.render(r.current)})),(0,i.jsx)("div",{ref:r})}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1990],{1890:(r,e,t)=>{t.r(e),t.d(e,{assets:()=>m,contentTitle:()=>n,default:()=>c,frontMatter:()=>s,metadata:()=>l,toc:()=>b});var a=t(4848),o=t(8453),i=t(9292);const s={sidebar_label:"Standard Library",title:"Standard Library"},n=void 0,l={id:"different_libraries/standard",title:"Standard Library",description:"The Libraries which are part of the Standard Library are distributed with Robot Framework Core.",source:"@site/docs/different_libraries/standard.mdx",sourceDirName:"different_libraries",slug:"/different_libraries/standard",permalink:"/docs/different_libraries/standard",draft:!1,unlisted:!1,editUrl:"https://github.com/MarketSquare/robotframeworkguides/edit/main/website/docs/different_libraries/standard.mdx",tags:[],version:"current",frontMatter:{sidebar_label:"Standard Library",title:"Standard Library"},sidebar:"tutorialSidebar",previous:{title:"Selenium Library",permalink:"/docs/different_libraries/selenium"},next:{title:"Overview",permalink:"/docs/examples/overview"}},m={},b=[{value:"Importing Libraries",id:"importing-libraries",level:2},{value:"Examples",id:"examples",level:2},{value:"BuiltIn Library",id:"builtin-library",level:3},{value:"Collections Library",id:"collections-library",level:3},{value:"DateTime",id:"datetime",level:3},{value:"XML Library",id:"xml-library",level:3},{value:"Robot Framework 5 Syntax Examples",id:"robot-framework-5-syntax-examples",level:3}];function d(r){const e={br:"br",code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...(0,o.R)(),...r.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(e.p,{children:["The Libraries which are part of the ",(0,a.jsx)(e.strong,{children:"Standard Library"})," are distributed with Robot Framework Core.",(0,a.jsx)(e.br,{}),"\n","The ",(0,a.jsx)(e.strong,{children:"BuiltIn"})," library is the most important library of the Standard Library and is available by default.",(0,a.jsx)(e.br,{}),"\n","Other libraries are available by importing them."]}),"\n","\n",(0,a.jsx)(i.b2,{}),"\n",(0,a.jsx)(e.h2,{id:"importing-libraries",children:"Importing Libraries"}),"\n",(0,a.jsx)(e.pre,{children:(0,a.jsx)(e.code,{className:"language-robotframework",children:"*** Settings ***\r\nLibrary Collections\r\nLibrary OperatingSystem\r\nLibrary Process\r\nLibrary String\r\nLibrary Telnet\r\nLibrary XML\n"})}),"\n",(0,a.jsx)(e.h2,{id:"examples",children:"Examples"}),"\n",(0,a.jsx)(e.h3,{id:"builtin-library",children:"BuiltIn Library"}),"\n",(0,a.jsx)("iframe",{src:"https://robotframework.org/embed/?code-gh-url=https://github.com/MarketSquare/robotframeworkguides/tree/main/code-examples/standard_library/builtin",width:"100%",height:"600"}),"\n",(0,a.jsx)(e.h3,{id:"collections-library",children:"Collections Library"}),"\n",(0,a.jsx)("iframe",{src:"https://robotframework.org/embed/?code-gh-url=https://github.com/MarketSquare/robotframeworkguides/tree/main/code-examples/standard_library/collections",width:"100%",height:"600"}),"\n",(0,a.jsx)(e.h3,{id:"datetime",children:"DateTime"}),"\n",(0,a.jsx)("iframe",{src:"https://robotframework.org/embed/?code-gh-url=https://github.com/MarketSquare/robotframeworkguides/tree/main/code-examples/standard_library/datetime",width:"100%",height:"600"}),"\n",(0,a.jsx)(e.h3,{id:"xml-library",children:"XML Library"}),"\n",(0,a.jsx)("iframe",{src:"https://robotframework.org/embed/?code-gh-url=https://github.com/robotframework/live/tree/robocon_examples/Examples/ExampleXML",width:"100%",height:"600"}),"\n",(0,a.jsx)(e.h3,{id:"robot-framework-5-syntax-examples",children:"Robot Framework 5 Syntax Examples"}),"\n",(0,a.jsx)("iframe",{src:"https://robotframework.org/embed/?code-gh-url=https://github.com/MarketSquare/robotframeworkguides/tree/main/code-examples/standard_library/RF5_Syntax",width:"100%",height:"600"})]})}function c(r={}){const{wrapper:e}={...(0,o.R)(),...r.components};return e?(0,a.jsx)(e,{...r,children:(0,a.jsx)(d,{...r})}):d(r)}},9292:(r,e,t)=>{t.d(e,{J_:()=>n,CU:()=>s,b2:()=>l});var a=t(5856),o=t(6540),i=t(4848);const s=function(){const r=(0,o.useRef)(null),e=new a.xA({columns:[{name:"Name",width:"50%",formatter:(r,e,t)=>(0,a.qy)(`
`;return(0,a.qy)(t)}},{name:"Tags"}],data:[{name:"Browser Library",description:"Robot Framework Browser library powered by Playwright. Aiming for speed, reliability and visibility.",localpage:"browser",urls:{GitHub:"https://github.com/MarketSquare/robotframework-browser",PyPI:"https://pypi.org/project/robotframework-browser/",Project:"https://robotframework-browser.org/",Docs:"https://marketsquare.github.io/robotframework-browser/Browser.html"},tags:"UI, Web"},{name:"Selenium Library",description:"Web testing library that uses popular Selenium tool internally.",localpage:"selenium",urls:{GitHub:"https://github.com/robotframework/SeleniumLibrary/",PyPI:"https://pypi.org/project/robotframework-seleniumlibrary/",Docs:"https://robotframework.org/SeleniumLibrary/SeleniumLibrary.html"},tags:"UI, Web"},{name:"RPA Framework",description:"Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used both with Robot Framework and Python.",localpage:"rpa",urls:{GitHub:"https://github.com/robocorp/rpaframework",PyPI:"https://pypi.org/project/rpaframework/",Project:"https://rpaframework.org/"},tags:"UI, Web, Desktop, API, Database, RPA"},{name:"Requests Library",description:"A Robot Framework library aimed to provide HTTP api testing functionalities by wrapping the well known Python Requests Library",localpage:"requests",urls:{GitHub:"https://github.com/MarketSquare/robotframework-requests/",PyPI:"https://pypi.org/project/robotframework-requests/",Docs:"https://marketsquare.github.io/robotframework-requests/doc/RequestsLibrary.html"},tags:"API"},{name:"Appium Library",description:"Android and iOS testing. Uses Appium internally.",localpage:"appium",urls:{GitHub:"https://github.com/serhatbolsu/robotframework-appiumlibrary",PyPI:"https://pypi.org/project/robotframework-appiumlibrary/",Docs:"https://serhatbolsu.github.io/robotframework-appiumlibrary/AppiumLibrary.html"},tags:"Mobile, UI"},{name:"Database Library",description:"Python based library for database testing.",localpage:"database",urls:{GitHub:"https://github.com/MarketSquare/Robotframework-Database-Library",PyPI:"https://pypi.org/project/robotframework-databaselibrary/",Project:"https://github.com/MarketSquare/Robotframework-Database-Library",Docs:"https://marketsquare.github.io/Robotframework-Database-Library/"},tags:"Database"},{name:"Standard Library",description:"Logging, File Handling, Operating System, Process, String, and XML and much more",localpage:"standard",urls:{GitHub:"https://github.com/robotframework/robotframework/tree/master/src/robot/libraries",Project:"https://robotframework.org/robotframework/#standard-libraries",Docs:"https://robotframework.org/robotframework/#standard-libraries"},tags:"Process, File, OS, XML, String, Logging"}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,o.useEffect)((()=>{e.render(r.current)})),(0,i.jsx)("div",{ref:r})};const n=function(){const r=(0,o.useRef)(null),e=new a.xA({columns:[{name:"Icon",id:"icon",formatter:(r,e,t)=>(0,a.qy)(``)},{name:"Name",width:"50%",formatter:(r,e,t)=>(0,a.qy)(`
`;return(0,a.qy)(t)}},{name:"Tags"}],data:[{icon:"/icons/list-checks.svg",name:"Todo MVC",description:"A simple todo app built in different frameworks and automated using Browser Library",localpage:"todo",urls:{Example:"todo","System Under Test":"https://todomvc.com/"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser"},tags:"UI, Web"},{icon:"/icons/car.svg",name:"Vehice Insurance App",description:"An vehicle insurance calculator web app that requires user inputs in multiple screens",localpage:"insurance",urls:{Example:"insurance","System Under Test":"http://sampleapp.tricentis.com/"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser"},tags:"UI, Web"},{icon:"/icons/bed.svg",name:"Restful Booker",description:"A room booking app with a REST API",localpage:"restfulbooker",urls:{Example:"restfulbooker","System Under Test":"https://restful-booker.herokuapp.com/"},usedLibrary:{"Requests Library":"https://github.com/MarketSquare/robotframework-requests/"},tags:"API, Requests"},{icon:"/icons/log-in.svg",name:"MFA Login",description:"A Login page which requires a two-factor authentication with a TOTP code",localpage:"mfa_login",urls:{Example:"mfa_login","System Under Test":"https://seleniumbase.io/realworld/login"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser","Custom TOPT Library":"/code-examples/browser/totp.py"},tags:"UI, Web, MFA, TOTP"}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,o.useEffect)((()=>{e.render(r.current)})),(0,i.jsx)("div",{ref:r})};const l=function(){const r=(0,o.useRef)(null),e=new a.xA({columns:[{name:"Name",width:"70%",formatter:(r,e,t)=>(0,a.qy)(`
`;return(0,a.qy)(t)}}],data:[{name:"BuiltIn",description:"Contains generic often needed keywords. Imported automatically and thus always available.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/BuiltIn.html"}},{name:"Collections",description:"Contains keywords for handling lists and dictionaries.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Collections.html"}},{name:"DateTime",description:"Supports creating and verifying date and time values as well as calculations between them.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/DateTime.html"}},{name:"Dialogs",description:"Supports pausing the test execution and getting input from users.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Dialogs.html"}},{name:"OperatingSystem",description:"\tEnables performing various operating system related tasks.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/OperatingSystem.html"}},{name:"Process",description:"Supports executing processes in the system.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Process.html"}},{name:"Screenshot",description:"Provides keywords to capture and store screenshots of the desktop.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Screenshot.html"}},{name:"String",description:"Library for manipulating strings and verifying their contents.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/String.html"}},{name:"Telnet",description:"\tSupports connecting to Telnet servers and executing commands on the opened connections.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Telnet.html"}},{name:"XML",description:"Library for verifying and modifying XML documents.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/XML.html"}}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,o.useEffect)((()=>{e.render(r.current)})),(0,i.jsx)("div",{ref:r})}}}]);
\ No newline at end of file
diff --git a/assets/js/676949b8.6166643f.js b/assets/js/676949b8.6166643f.js
deleted file mode 100644
index 4a559a00..00000000
--- a/assets/js/676949b8.6166643f.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1070],{1456:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>m,contentTitle:()=>n,default:()=>d,frontMatter:()=>s,metadata:()=>l,toc:()=>b});var o=t(4848),a=t(8453),i=t(9292);const s={sidebar_position:0,sidebar_label:"Overview",title:"Library Overview"},n=void 0,l={id:"different_libraries/overview",title:"Library Overview",description:"",source:"@site/docs/different_libraries/overview.mdx",sourceDirName:"different_libraries",slug:"/different_libraries/overview",permalink:"/docs/different_libraries/overview",draft:!1,unlisted:!1,editUrl:"https://github.com/MarketSquare/robotframeworkguides/edit/main/website/docs/different_libraries/overview.mdx",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,sidebar_label:"Overview",title:"Library Overview"},sidebar:"tutorialSidebar",previous:{title:"How to find the right library",permalink:"/docs/different_libraries/how_to_find_library"},next:{title:"RPA Framework",permalink:"/docs/different_libraries/rpa"}},m={},b=[];function c(e){return(0,o.jsx)(i.CU,{})}function d(e={}){const{wrapper:r}={...(0,a.R)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(c,{...e})}):c()}},9292:(e,r,t)=>{t.d(r,{J_:()=>n,CU:()=>s,b2:()=>l});var o=t(5856),a=t(6540),i=t(4848);const s=function(){const e=(0,a.useRef)(null),r=new o.xA({columns:[{name:"Name",width:"50%",formatter:(e,r,t)=>(0,o.qy)(`
`;return(0,o.qy)(t)}},{name:"Tags"}],data:[{name:"Browser Library",description:"Robot Framework Browser library powered by Playwright. Aiming for speed, reliability and visibility.",localpage:"browser",urls:{GitHub:"https://github.com/MarketSquare/robotframework-browser",PyPI:"https://pypi.org/project/robotframework-browser/",Project:"https://robotframework-browser.org/",Docs:"https://marketsquare.github.io/robotframework-browser/Browser.html"},tags:"UI, Web"},{name:"Selenium Library",description:"Web testing library that uses popular Selenium tool internally.",localpage:"selenium",urls:{GitHub:"https://github.com/robotframework/SeleniumLibrary/",PyPI:"https://pypi.org/project/robotframework-seleniumlibrary/",Docs:"https://robotframework.org/SeleniumLibrary/SeleniumLibrary.html"},tags:"UI, Web"},{name:"RPA Framework",description:"Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used both with Robot Framework and Python.",localpage:"rpa",urls:{GitHub:"https://github.com/robocorp/rpaframework",PyPI:"https://pypi.org/project/rpaframework/",Project:"https://rpaframework.org/"},tags:"UI, Web, Desktop, API, Database, RPA"},{name:"Requests Library",description:"A Robot Framework library aimed to provide HTTP api testing functionalities by wrapping the well known Python Requests Library",localpage:"requests",urls:{GitHub:"https://github.com/MarketSquare/robotframework-requests/",PyPI:"https://pypi.org/project/robotframework-requests/",Docs:"https://marketsquare.github.io/robotframework-requests/doc/RequestsLibrary.html"},tags:"API"},{name:"Appium Library",description:"Android and iOS testing. Uses Appium internally.",localpage:"appium",urls:{GitHub:"https://github.com/serhatbolsu/robotframework-appiumlibrary",PyPI:"https://pypi.org/project/robotframework-appiumlibrary/",Docs:"https://serhatbolsu.github.io/robotframework-appiumlibrary/AppiumLibrary.html"},tags:"Mobile, UI"},{name:"Database Library",description:"Python based library for database testing.",localpage:"database",urls:{GitHub:"https://github.com/franz-see/Robotframework-Database-Library",PyPI:"https://pypi.org/project/robotframework-databaselibrary/",Project:"http://franz-see.github.io/Robotframework-Database-Library/",Docs:"http://franz-see.github.io/Robotframework-Database-Library/api/1.2.2/DatabaseLibrary.html"},tags:"Database"},{name:"Standard Library",description:"Logging, File Handling, Operating System, Process, String, and XML and much more",localpage:"standard",urls:{GitHub:"https://github.com/robotframework/robotframework/tree/master/src/robot/libraries",Project:"https://robotframework.org/robotframework/#standard-libraries",Docs:"https://robotframework.org/robotframework/#standard-libraries"},tags:"Process, File, OS, XML, String, Logging"}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,a.useEffect)((()=>{r.render(e.current)})),(0,i.jsx)("div",{ref:e})};const n=function(){const e=(0,a.useRef)(null),r=new o.xA({columns:[{name:"Icon",id:"icon",formatter:(e,r,t)=>(0,o.qy)(``)},{name:"Name",width:"50%",formatter:(e,r,t)=>(0,o.qy)(`
`;return(0,o.qy)(t)}},{name:"Tags"}],data:[{icon:"/icons/list-checks.svg",name:"Todo MVC",description:"A simple todo app built in different frameworks and automated using Browser Library",localpage:"todo",urls:{Example:"todo","System Under Test":"https://todomvc.com/"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser"},tags:"UI, Web"},{icon:"/icons/car.svg",name:"Vehice Insurance App",description:"An vehicle insurance calculator web app that requires user inputs in multiple screens",localpage:"insurance",urls:{Example:"insurance","System Under Test":"http://sampleapp.tricentis.com/"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser"},tags:"UI, Web"},{icon:"/icons/bed.svg",name:"Restful Booker",description:"A room booking app with a REST API",localpage:"restfulbooker",urls:{Example:"restfulbooker","System Under Test":"https://restful-booker.herokuapp.com/"},usedLibrary:{"Requests Library":"https://github.com/MarketSquare/robotframework-requests/"},tags:"API, Requests"},{icon:"/icons/log-in.svg",name:"MFA Login",description:"A Login page which requires a two-factor authentication with a TOTP code",localpage:"mfa_login",urls:{Example:"mfa_login","System Under Test":"https://seleniumbase.io/realworld/login"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser","Custom TOPT Library":"/code-examples/browser/totp.py"},tags:"UI, Web, MFA, TOTP"}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,a.useEffect)((()=>{r.render(e.current)})),(0,i.jsx)("div",{ref:e})};const l=function(){const e=(0,a.useRef)(null),r=new o.xA({columns:[{name:"Name",width:"70%",formatter:(e,r,t)=>(0,o.qy)(`
`;return(0,o.qy)(t)}}],data:[{name:"BuiltIn",description:"Contains generic often needed keywords. Imported automatically and thus always available.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/BuiltIn.html"}},{name:"Collections",description:"Contains keywords for handling lists and dictionaries.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Collections.html"}},{name:"DateTime",description:"Supports creating and verifying date and time values as well as calculations between them.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/DateTime.html"}},{name:"Dialogs",description:"Supports pausing the test execution and getting input from users.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Dialogs.html"}},{name:"OperatingSystem",description:"\tEnables performing various operating system related tasks.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/OperatingSystem.html"}},{name:"Process",description:"Supports executing processes in the system.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Process.html"}},{name:"Screenshot",description:"Provides keywords to capture and store screenshots of the desktop.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Screenshot.html"}},{name:"String",description:"Library for manipulating strings and verifying their contents.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/String.html"}},{name:"Telnet",description:"\tSupports connecting to Telnet servers and executing commands on the opened connections.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Telnet.html"}},{name:"XML",description:"Library for verifying and modifying XML documents.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/XML.html"}}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,a.useEffect)((()=>{r.render(e.current)})),(0,i.jsx)("div",{ref:e})}}}]);
\ No newline at end of file
diff --git a/assets/js/676949b8.d4f14f10.js b/assets/js/676949b8.d4f14f10.js
new file mode 100644
index 00000000..6133163a
--- /dev/null
+++ b/assets/js/676949b8.d4f14f10.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1070],{1456:(r,e,t)=>{t.r(e),t.d(e,{assets:()=>m,contentTitle:()=>n,default:()=>d,frontMatter:()=>s,metadata:()=>l,toc:()=>b});var o=t(4848),a=t(8453),i=t(9292);const s={sidebar_position:0,sidebar_label:"Overview",title:"Library Overview"},n=void 0,l={id:"different_libraries/overview",title:"Library Overview",description:"",source:"@site/docs/different_libraries/overview.mdx",sourceDirName:"different_libraries",slug:"/different_libraries/overview",permalink:"/docs/different_libraries/overview",draft:!1,unlisted:!1,editUrl:"https://github.com/MarketSquare/robotframeworkguides/edit/main/website/docs/different_libraries/overview.mdx",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,sidebar_label:"Overview",title:"Library Overview"},sidebar:"tutorialSidebar",previous:{title:"How to find the right library",permalink:"/docs/different_libraries/how_to_find_library"},next:{title:"RPA Framework",permalink:"/docs/different_libraries/rpa"}},m={},b=[];function c(r){return(0,o.jsx)(i.CU,{})}function d(r={}){const{wrapper:e}={...(0,a.R)(),...r.components};return e?(0,o.jsx)(e,{...r,children:(0,o.jsx)(c,{...r})}):c()}},9292:(r,e,t)=>{t.d(e,{J_:()=>n,CU:()=>s,b2:()=>l});var o=t(5856),a=t(6540),i=t(4848);const s=function(){const r=(0,a.useRef)(null),e=new o.xA({columns:[{name:"Name",width:"50%",formatter:(r,e,t)=>(0,o.qy)(`
`;return(0,o.qy)(t)}},{name:"Tags"}],data:[{name:"Browser Library",description:"Robot Framework Browser library powered by Playwright. Aiming for speed, reliability and visibility.",localpage:"browser",urls:{GitHub:"https://github.com/MarketSquare/robotframework-browser",PyPI:"https://pypi.org/project/robotframework-browser/",Project:"https://robotframework-browser.org/",Docs:"https://marketsquare.github.io/robotframework-browser/Browser.html"},tags:"UI, Web"},{name:"Selenium Library",description:"Web testing library that uses popular Selenium tool internally.",localpage:"selenium",urls:{GitHub:"https://github.com/robotframework/SeleniumLibrary/",PyPI:"https://pypi.org/project/robotframework-seleniumlibrary/",Docs:"https://robotframework.org/SeleniumLibrary/SeleniumLibrary.html"},tags:"UI, Web"},{name:"RPA Framework",description:"Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used both with Robot Framework and Python.",localpage:"rpa",urls:{GitHub:"https://github.com/robocorp/rpaframework",PyPI:"https://pypi.org/project/rpaframework/",Project:"https://rpaframework.org/"},tags:"UI, Web, Desktop, API, Database, RPA"},{name:"Requests Library",description:"A Robot Framework library aimed to provide HTTP api testing functionalities by wrapping the well known Python Requests Library",localpage:"requests",urls:{GitHub:"https://github.com/MarketSquare/robotframework-requests/",PyPI:"https://pypi.org/project/robotframework-requests/",Docs:"https://marketsquare.github.io/robotframework-requests/doc/RequestsLibrary.html"},tags:"API"},{name:"Appium Library",description:"Android and iOS testing. Uses Appium internally.",localpage:"appium",urls:{GitHub:"https://github.com/serhatbolsu/robotframework-appiumlibrary",PyPI:"https://pypi.org/project/robotframework-appiumlibrary/",Docs:"https://serhatbolsu.github.io/robotframework-appiumlibrary/AppiumLibrary.html"},tags:"Mobile, UI"},{name:"Database Library",description:"Python based library for database testing.",localpage:"database",urls:{GitHub:"https://github.com/MarketSquare/Robotframework-Database-Library",PyPI:"https://pypi.org/project/robotframework-databaselibrary/",Project:"https://github.com/MarketSquare/Robotframework-Database-Library",Docs:"https://marketsquare.github.io/Robotframework-Database-Library/"},tags:"Database"},{name:"Standard Library",description:"Logging, File Handling, Operating System, Process, String, and XML and much more",localpage:"standard",urls:{GitHub:"https://github.com/robotframework/robotframework/tree/master/src/robot/libraries",Project:"https://robotframework.org/robotframework/#standard-libraries",Docs:"https://robotframework.org/robotframework/#standard-libraries"},tags:"Process, File, OS, XML, String, Logging"}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,a.useEffect)((()=>{e.render(r.current)})),(0,i.jsx)("div",{ref:r})};const n=function(){const r=(0,a.useRef)(null),e=new o.xA({columns:[{name:"Icon",id:"icon",formatter:(r,e,t)=>(0,o.qy)(``)},{name:"Name",width:"50%",formatter:(r,e,t)=>(0,o.qy)(`
`;return(0,o.qy)(t)}},{name:"Tags"}],data:[{icon:"/icons/list-checks.svg",name:"Todo MVC",description:"A simple todo app built in different frameworks and automated using Browser Library",localpage:"todo",urls:{Example:"todo","System Under Test":"https://todomvc.com/"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser"},tags:"UI, Web"},{icon:"/icons/car.svg",name:"Vehice Insurance App",description:"An vehicle insurance calculator web app that requires user inputs in multiple screens",localpage:"insurance",urls:{Example:"insurance","System Under Test":"http://sampleapp.tricentis.com/"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser"},tags:"UI, Web"},{icon:"/icons/bed.svg",name:"Restful Booker",description:"A room booking app with a REST API",localpage:"restfulbooker",urls:{Example:"restfulbooker","System Under Test":"https://restful-booker.herokuapp.com/"},usedLibrary:{"Requests Library":"https://github.com/MarketSquare/robotframework-requests/"},tags:"API, Requests"},{icon:"/icons/log-in.svg",name:"MFA Login",description:"A Login page which requires a two-factor authentication with a TOTP code",localpage:"mfa_login",urls:{Example:"mfa_login","System Under Test":"https://seleniumbase.io/realworld/login"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser","Custom TOPT Library":"/code-examples/browser/totp.py"},tags:"UI, Web, MFA, TOTP"}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,a.useEffect)((()=>{e.render(r.current)})),(0,i.jsx)("div",{ref:r})};const l=function(){const r=(0,a.useRef)(null),e=new o.xA({columns:[{name:"Name",width:"70%",formatter:(r,e,t)=>(0,o.qy)(`
`;return(0,o.qy)(t)}}],data:[{name:"BuiltIn",description:"Contains generic often needed keywords. Imported automatically and thus always available.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/BuiltIn.html"}},{name:"Collections",description:"Contains keywords for handling lists and dictionaries.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Collections.html"}},{name:"DateTime",description:"Supports creating and verifying date and time values as well as calculations between them.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/DateTime.html"}},{name:"Dialogs",description:"Supports pausing the test execution and getting input from users.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Dialogs.html"}},{name:"OperatingSystem",description:"\tEnables performing various operating system related tasks.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/OperatingSystem.html"}},{name:"Process",description:"Supports executing processes in the system.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Process.html"}},{name:"Screenshot",description:"Provides keywords to capture and store screenshots of the desktop.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Screenshot.html"}},{name:"String",description:"Library for manipulating strings and verifying their contents.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/String.html"}},{name:"Telnet",description:"\tSupports connecting to Telnet servers and executing commands on the opened connections.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Telnet.html"}},{name:"XML",description:"Library for verifying and modifying XML documents.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/XML.html"}}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,a.useEffect)((()=>{e.render(r.current)})),(0,i.jsx)("div",{ref:r})}}}]);
\ No newline at end of file
diff --git a/assets/js/78b86cd7.3ff76de8.js b/assets/js/78b86cd7.3ff76de8.js
deleted file mode 100644
index ee451850..00000000
--- a/assets/js/78b86cd7.3ff76de8.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4738],{410:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>m,contentTitle:()=>n,default:()=>b,frontMatter:()=>i,metadata:()=>l,toc:()=>c});var o=t(4848),a=t(8453),s=t(9292);const i={sidebar_position:0,sidebar_label:"Overview",title:"Examples Overview"},n=void 0,l={id:"examples/overview",title:"Examples Overview",description:"General hints about a good project structure can be found here.",source:"@site/docs/examples/overview.mdx",sourceDirName:"examples",slug:"/examples/overview",permalink:"/docs/examples/overview",draft:!1,unlisted:!1,editUrl:"https://github.com/MarketSquare/robotframeworkguides/edit/main/website/docs/examples/overview.mdx",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,sidebar_label:"Overview",title:"Examples Overview"},sidebar:"tutorialSidebar",previous:{title:"Standard Library",permalink:"/docs/different_libraries/standard"},next:{title:"Vehicle Insurance App",permalink:"/docs/examples/insurance"}},m={},c=[];function p(e){const r={a:"a",admonition:"admonition",p:"p",strong:"strong",...(0,a.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.admonition,{type:"tip",children:(0,o.jsxs)(r.p,{children:["General hints about a good ",(0,o.jsx)(r.strong,{children:"project structure"})," can be found ",(0,o.jsx)(r.a,{href:"/docs/examples/project_structure",children:"here"}),"."]})}),"\n",(0,o.jsx)(s.J_,{})]})}function b(e={}){const{wrapper:r}={...(0,a.R)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(p,{...e})}):p(e)}},9292:(e,r,t)=>{t.d(r,{J_:()=>n,CU:()=>i,b2:()=>l});var o=t(5856),a=t(6540),s=t(4848);const i=function(){const e=(0,a.useRef)(null),r=new o.xA({columns:[{name:"Name",width:"50%",formatter:(e,r,t)=>(0,o.qy)(`
`;return(0,o.qy)(t)}},{name:"Tags"}],data:[{name:"Browser Library",description:"Robot Framework Browser library powered by Playwright. Aiming for speed, reliability and visibility.",localpage:"browser",urls:{GitHub:"https://github.com/MarketSquare/robotframework-browser",PyPI:"https://pypi.org/project/robotframework-browser/",Project:"https://robotframework-browser.org/",Docs:"https://marketsquare.github.io/robotframework-browser/Browser.html"},tags:"UI, Web"},{name:"Selenium Library",description:"Web testing library that uses popular Selenium tool internally.",localpage:"selenium",urls:{GitHub:"https://github.com/robotframework/SeleniumLibrary/",PyPI:"https://pypi.org/project/robotframework-seleniumlibrary/",Docs:"https://robotframework.org/SeleniumLibrary/SeleniumLibrary.html"},tags:"UI, Web"},{name:"RPA Framework",description:"Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used both with Robot Framework and Python.",localpage:"rpa",urls:{GitHub:"https://github.com/robocorp/rpaframework",PyPI:"https://pypi.org/project/rpaframework/",Project:"https://rpaframework.org/"},tags:"UI, Web, Desktop, API, Database, RPA"},{name:"Requests Library",description:"A Robot Framework library aimed to provide HTTP api testing functionalities by wrapping the well known Python Requests Library",localpage:"requests",urls:{GitHub:"https://github.com/MarketSquare/robotframework-requests/",PyPI:"https://pypi.org/project/robotframework-requests/",Docs:"https://marketsquare.github.io/robotframework-requests/doc/RequestsLibrary.html"},tags:"API"},{name:"Appium Library",description:"Android and iOS testing. Uses Appium internally.",localpage:"appium",urls:{GitHub:"https://github.com/serhatbolsu/robotframework-appiumlibrary",PyPI:"https://pypi.org/project/robotframework-appiumlibrary/",Docs:"https://serhatbolsu.github.io/robotframework-appiumlibrary/AppiumLibrary.html"},tags:"Mobile, UI"},{name:"Database Library",description:"Python based library for database testing.",localpage:"database",urls:{GitHub:"https://github.com/franz-see/Robotframework-Database-Library",PyPI:"https://pypi.org/project/robotframework-databaselibrary/",Project:"http://franz-see.github.io/Robotframework-Database-Library/",Docs:"http://franz-see.github.io/Robotframework-Database-Library/api/1.2.2/DatabaseLibrary.html"},tags:"Database"},{name:"Standard Library",description:"Logging, File Handling, Operating System, Process, String, and XML and much more",localpage:"standard",urls:{GitHub:"https://github.com/robotframework/robotframework/tree/master/src/robot/libraries",Project:"https://robotframework.org/robotframework/#standard-libraries",Docs:"https://robotframework.org/robotframework/#standard-libraries"},tags:"Process, File, OS, XML, String, Logging"}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,a.useEffect)((()=>{r.render(e.current)})),(0,s.jsx)("div",{ref:e})};const n=function(){const e=(0,a.useRef)(null),r=new o.xA({columns:[{name:"Icon",id:"icon",formatter:(e,r,t)=>(0,o.qy)(``)},{name:"Name",width:"50%",formatter:(e,r,t)=>(0,o.qy)(`
`;return(0,o.qy)(t)}},{name:"Tags"}],data:[{icon:"/icons/list-checks.svg",name:"Todo MVC",description:"A simple todo app built in different frameworks and automated using Browser Library",localpage:"todo",urls:{Example:"todo","System Under Test":"https://todomvc.com/"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser"},tags:"UI, Web"},{icon:"/icons/car.svg",name:"Vehice Insurance App",description:"An vehicle insurance calculator web app that requires user inputs in multiple screens",localpage:"insurance",urls:{Example:"insurance","System Under Test":"http://sampleapp.tricentis.com/"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser"},tags:"UI, Web"},{icon:"/icons/bed.svg",name:"Restful Booker",description:"A room booking app with a REST API",localpage:"restfulbooker",urls:{Example:"restfulbooker","System Under Test":"https://restful-booker.herokuapp.com/"},usedLibrary:{"Requests Library":"https://github.com/MarketSquare/robotframework-requests/"},tags:"API, Requests"},{icon:"/icons/log-in.svg",name:"MFA Login",description:"A Login page which requires a two-factor authentication with a TOTP code",localpage:"mfa_login",urls:{Example:"mfa_login","System Under Test":"https://seleniumbase.io/realworld/login"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser","Custom TOPT Library":"/code-examples/browser/totp.py"},tags:"UI, Web, MFA, TOTP"}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,a.useEffect)((()=>{r.render(e.current)})),(0,s.jsx)("div",{ref:e})};const l=function(){const e=(0,a.useRef)(null),r=new o.xA({columns:[{name:"Name",width:"70%",formatter:(e,r,t)=>(0,o.qy)(`
`;return(0,o.qy)(t)}}],data:[{name:"BuiltIn",description:"Contains generic often needed keywords. Imported automatically and thus always available.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/BuiltIn.html"}},{name:"Collections",description:"Contains keywords for handling lists and dictionaries.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Collections.html"}},{name:"DateTime",description:"Supports creating and verifying date and time values as well as calculations between them.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/DateTime.html"}},{name:"Dialogs",description:"Supports pausing the test execution and getting input from users.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Dialogs.html"}},{name:"OperatingSystem",description:"\tEnables performing various operating system related tasks.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/OperatingSystem.html"}},{name:"Process",description:"Supports executing processes in the system.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Process.html"}},{name:"Screenshot",description:"Provides keywords to capture and store screenshots of the desktop.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Screenshot.html"}},{name:"String",description:"Library for manipulating strings and verifying their contents.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/String.html"}},{name:"Telnet",description:"\tSupports connecting to Telnet servers and executing commands on the opened connections.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/Telnet.html"}},{name:"XML",description:"Library for verifying and modifying XML documents.",urls:{Documentation:"https://robotframework.org/robotframework/latest/libraries/XML.html"}}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,a.useEffect)((()=>{r.render(e.current)})),(0,s.jsx)("div",{ref:e})}}}]);
\ No newline at end of file
diff --git a/assets/js/78b86cd7.c06d4f32.js b/assets/js/78b86cd7.c06d4f32.js
new file mode 100644
index 00000000..c634c49a
--- /dev/null
+++ b/assets/js/78b86cd7.c06d4f32.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4738],{410:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>m,contentTitle:()=>n,default:()=>b,frontMatter:()=>i,metadata:()=>l,toc:()=>c});var o=t(4848),a=t(8453),s=t(9292);const i={sidebar_position:0,sidebar_label:"Overview",title:"Examples Overview"},n=void 0,l={id:"examples/overview",title:"Examples Overview",description:"General hints about a good project structure can be found here.",source:"@site/docs/examples/overview.mdx",sourceDirName:"examples",slug:"/examples/overview",permalink:"/docs/examples/overview",draft:!1,unlisted:!1,editUrl:"https://github.com/MarketSquare/robotframeworkguides/edit/main/website/docs/examples/overview.mdx",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,sidebar_label:"Overview",title:"Examples Overview"},sidebar:"tutorialSidebar",previous:{title:"Standard Library",permalink:"/docs/different_libraries/standard"},next:{title:"Vehicle Insurance App",permalink:"/docs/examples/insurance"}},m={},c=[];function p(e){const r={a:"a",admonition:"admonition",p:"p",strong:"strong",...(0,a.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.admonition,{type:"tip",children:(0,o.jsxs)(r.p,{children:["General hints about a good ",(0,o.jsx)(r.strong,{children:"project structure"})," can be found ",(0,o.jsx)(r.a,{href:"/docs/examples/project_structure",children:"here"}),"."]})}),"\n",(0,o.jsx)(s.J_,{})]})}function b(e={}){const{wrapper:r}={...(0,a.R)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(p,{...e})}):p(e)}},9292:(e,r,t)=>{t.d(r,{J_:()=>n,CU:()=>i,b2:()=>l});var o=t(5856),a=t(6540),s=t(4848);const i=function(){const e=(0,a.useRef)(null),r=new o.xA({columns:[{name:"Name",width:"50%",formatter:(e,r,t)=>(0,o.qy)(`
`;return(0,o.qy)(t)}},{name:"Tags"}],data:[{name:"Browser Library",description:"Robot Framework Browser library powered by Playwright. Aiming for speed, reliability and visibility.",localpage:"browser",urls:{GitHub:"https://github.com/MarketSquare/robotframework-browser",PyPI:"https://pypi.org/project/robotframework-browser/",Project:"https://robotframework-browser.org/",Docs:"https://marketsquare.github.io/robotframework-browser/Browser.html"},tags:"UI, Web"},{name:"Selenium Library",description:"Web testing library that uses popular Selenium tool internally.",localpage:"selenium",urls:{GitHub:"https://github.com/robotframework/SeleniumLibrary/",PyPI:"https://pypi.org/project/robotframework-seleniumlibrary/",Docs:"https://robotframework.org/SeleniumLibrary/SeleniumLibrary.html"},tags:"UI, Web"},{name:"RPA Framework",description:"Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used both with Robot Framework and Python.",localpage:"rpa",urls:{GitHub:"https://github.com/robocorp/rpaframework",PyPI:"https://pypi.org/project/rpaframework/",Project:"https://rpaframework.org/"},tags:"UI, Web, Desktop, API, Database, RPA"},{name:"Requests Library",description:"A Robot Framework library aimed to provide HTTP api testing functionalities by wrapping the well known Python Requests Library",localpage:"requests",urls:{GitHub:"https://github.com/MarketSquare/robotframework-requests/",PyPI:"https://pypi.org/project/robotframework-requests/",Docs:"https://marketsquare.github.io/robotframework-requests/doc/RequestsLibrary.html"},tags:"API"},{name:"Appium Library",description:"Android and iOS testing. Uses Appium internally.",localpage:"appium",urls:{GitHub:"https://github.com/serhatbolsu/robotframework-appiumlibrary",PyPI:"https://pypi.org/project/robotframework-appiumlibrary/",Docs:"https://serhatbolsu.github.io/robotframework-appiumlibrary/AppiumLibrary.html"},tags:"Mobile, UI"},{name:"Database Library",description:"Python based library for database testing.",localpage:"database",urls:{GitHub:"https://github.com/MarketSquare/Robotframework-Database-Library",PyPI:"https://pypi.org/project/robotframework-databaselibrary/",Project:"https://github.com/MarketSquare/Robotframework-Database-Library",Docs:"https://marketsquare.github.io/Robotframework-Database-Library/"},tags:"Database"},{name:"Standard Library",description:"Logging, File Handling, Operating System, Process, String, and XML and much more",localpage:"standard",urls:{GitHub:"https://github.com/robotframework/robotframework/tree/master/src/robot/libraries",Project:"https://robotframework.org/robotframework/#standard-libraries",Docs:"https://robotframework.org/robotframework/#standard-libraries"},tags:"Process, File, OS, XML, String, Logging"}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,a.useEffect)((()=>{r.render(e.current)})),(0,s.jsx)("div",{ref:e})};const n=function(){const e=(0,a.useRef)(null),r=new o.xA({columns:[{name:"Icon",id:"icon",formatter:(e,r,t)=>(0,o.qy)(``)},{name:"Name",width:"50%",formatter:(e,r,t)=>(0,o.qy)(`
`;return(0,o.qy)(t)}},{name:"Tags"}],data:[{icon:"/icons/list-checks.svg",name:"Todo MVC",description:"A simple todo app built in different frameworks and automated using Browser Library",localpage:"todo",urls:{Example:"todo","System Under Test":"https://todomvc.com/"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser"},tags:"UI, Web"},{icon:"/icons/car.svg",name:"Vehice Insurance App",description:"An vehicle insurance calculator web app that requires user inputs in multiple screens",localpage:"insurance",urls:{Example:"insurance","System Under Test":"http://sampleapp.tricentis.com/"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser"},tags:"UI, Web"},{icon:"/icons/bed.svg",name:"Restful Booker",description:"A room booking app with a REST API",localpage:"restfulbooker",urls:{Example:"restfulbooker","System Under Test":"https://restful-booker.herokuapp.com/"},usedLibrary:{"Requests Library":"https://github.com/MarketSquare/robotframework-requests/"},tags:"API, Requests"},{icon:"/icons/log-in.svg",name:"MFA Login",description:"A Login page which requires a two-factor authentication with a TOTP code",localpage:"mfa_login",urls:{Example:"mfa_login","System Under Test":"https://seleniumbase.io/realworld/login"},usedLibrary:{"Browser Library":"https://github.com/MarketSquare/robotframework-browser","Custom TOPT Library":"/code-examples/browser/totp.py"},tags:"UI, Web, MFA, TOTP"}],sort:!0,search:{enabled:!0,ignoreHiddenColumns:!1}});return(0,a.useEffect)((()=>{r.render(e.current)})),(0,s.jsx)("div",{ref:e})};const l=function(){const e=(0,a.useRef)(null),r=new o.xA({columns:[{name:"Name",width:"70%",formatter:(e,r,t)=>(0,o.qy)(`
Check out the tests folder in the repository for examples.
+
Check out the tests folder in the repository for examples.
Example for a PostgreSQL database:
*** Settings *** Suite Setup Connect To Database psycopg2 ${DBName}${DBUser}${DBPass}${DBHost}${DBPort} Suite Teardown Disconnect From Database Library DatabaseLibrary Library OperatingSystem Library Collections *** Variables *** ${DBHost} localhost ${DBName} travis_ci_test ${DBPass} "" ${DBPort} 5432 ${DBUser} postgres *** Test Cases *** Create person table ${output} = Execute SQL String CREATE TABLE person (id integer unique,first_name varchar,last_name varchar); Log${output} Should Be Equal As Strings${output} None Execute SQL Script - Insert Data person table Comment${output} = Execute SQL Script ./${DBName}_insertData.sql ${output} = Execute SQL Script ./my_db_test_insertData.sql Log${output} Should Be Equal As Strings${output} None Execute SQL String - Create Table ${output} = Execute SQL String create table foobar (id integer primary key, firstname varchar unique) Log${output} Should Be Equal As Strings${output} None Check If Exists In DB - Franz Allan Check If Exists In Database SELECT id FROM person WHERE first_name = 'Franz Allan'; Check If Not Exists In DB - Joe Check If Not Exists In Database SELECT id FROM person WHERE first_name = 'Joe'; Table Must Exist - person Table Must Exist person Verify Row Count is 0 Row Count is 0 SELECT * FROM person WHERE first_name = 'NotHere'; Verify Row Count is Equal to X Row Count is Equal to X SELECT id FROM person; 2 Verify Row Count is Less Than X Row Count is Less Than X SELECT id FROM person; 3 Verify Row Count is Greater Than X Row Count is Greater Than X SELECT * FROM person; 1 Retrieve Row Count ${output} = Row Count SELECT id FROM person; Log${output} Should Be Equal As Strings${output} 2 Retrieve records from person table ${output} = Execute SQL String SELECT * FROM person; Log${output} Should Be Equal As Strings${output} None Verify person Description [Tags] db smoke Comment Query db for table column descriptions @{queryResults} = Description SELECT * FROM person LIMIT 1; Log Many@{queryResults} ${output} = Set Variable ${queryResults[0]} Should Be Equal As Strings${output} Column(name='id', type_code=23, display_size=None, internal_size=4, precision=None, scale=None, null_ok=None) ${output} = Set Variable ${queryResults[1]} Should Be Equal As Strings${output} Column(name='first_name', type_code=1043, display_size=None, internal_size=-1, precision=None, scale=None, null_ok=None) ${output} = Set Variable ${queryResults[2]} Should Be Equal As Strings${output} Column(name='last_name', type_code=1043, display_size=None, internal_size=-1, precision=None, scale=None, null_ok=None) ${NumColumns} = Get Length ${queryResults} Should Be Equal As Integers${NumColumns} 3 Verify foobar Description [Tags] db smoke Comment Query db for table column descriptions @{queryResults} = Description SELECT * FROM foobar LIMIT 1; Log Many@{queryResults} ${output} = Set Variable ${queryResults[0]} Should Be Equal As Strings${output} Column(name='id', type_code=23, display_size=None, internal_size=4, precision=None, scale=None, null_ok=None) ${output} = Set Variable ${queryResults[1]} Should Be Equal As Strings${output} Column(name='firstname', type_code=1043, display_size=None, internal_size=-1, precision=None, scale=None, null_ok=None) ${NumColumns} = Get Length ${queryResults} Should Be Equal As Integers${NumColumns} 2 Verify Query - Row Count person table ${output} = Query SELECT COUNT(*) FROM person; Log${output} ${val}= Get from list ${output} 0 ${val}= Convert to list ${val} ${val}= Get from list ${val} 0 Should be equal as Integers${val} 2 Verify Query - Row Count foobar table ${output} = Query SELECT COUNT(*) FROM foobar; Log${output} ${val}= Get from list ${output} 0 ${val}= Convert to list ${val} ${val}= Get from list ${val} 0 Should be equal as Integers${val} 0 Verify Query - Get results as a list of dictionaries [Tags] db smoke ${output} = Query SELECT * FROM person; \ True Log${output} Should Be Equal As Strings&{output[0]}[first_name] Franz Allan Should Be Equal As Strings&{output[1]}[first_name] Jerry Verify Execute SQL String - Row Count person table ${output} = Execute SQL String SELECT COUNT(*) FROM person; Log${output} Should Be Equal As Strings${output} None Verify Execute SQL String - Row Count foobar table ${output} = Execute SQL String SELECT COUNT(*) FROM foobar; Log${output} Should Be Equal As Strings${output} None Insert Data Into Table foobar ${output} = Execute SQL String INSERT INTO foobar VALUES(1,'Jerry'); Log${output} Should Be Equal As Strings${output} None Verify Query - Row Count foobar table 1 row ${output} = Query SELECT COUNT(*) FROM foobar; Log${output} ${val}= Get from list ${output} 0 ${val}= Convert to list ${val} ${val}= Get from list ${val} 0 Should be equal as Integers${val} 1 Verify Delete All Rows From Table - foobar Delete All Rows From Table foobar Comment Sleep 2s Verify Query - Row Count foobar table 0 row Row Count Is 0 SELECT * FROM foobar; Comment${output} = Query SELECT COUNT(*) FROM foobar; Comment Log ${output} Comment Should Be Equal As Strings ${output} [(0,)] Drop person and foobar tables ${output} = Execute SQL String DROP TABLE IF EXISTS person,foobar; Log${output} Should Be Equal As Strings${output} None