You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
2.9 KiB
114 lines
2.9 KiB
{ |
|
"cells": [ |
|
{ |
|
"cell_type": "markdown", |
|
"id": "db42eb08", |
|
"metadata": {}, |
|
"source": [ |
|
"# Robot Framework\n", |
|
"\n", |
|
"[docs](https://robocorp.com/docs)" |
|
] |
|
}, |
|
{ |
|
"cell_type": "code", |
|
"execution_count": null, |
|
"id": "d2f5ca23-5eed-4eb6-9c1b-2152b08009a5", |
|
"metadata": {}, |
|
"outputs": [ |
|
{ |
|
"ename": "", |
|
"evalue": "", |
|
"output_type": "error", |
|
"traceback": [ |
|
"\u001b[1;31mFailed to start the Kernel. \n", |
|
"Kernel Python 3.9.13 64-bit is not usable. Check the Jupyter output tab for more information. \n", |
|
"View Jupyter <a href='command:jupyter.viewOutput'>log</a> for further details." |
|
] |
|
} |
|
], |
|
"source": [ |
|
"*** Settings ***\n", |
|
"Documentation Simple example using SeleniumLibrary.\n", |
|
"Library SeleniumLibrary\n", |
|
"\n", |
|
"*** Variables ***\n", |
|
"${LOGIN URL} http://localhost:7272\n", |
|
"${BROWSER} Chrome\n", |
|
"\n", |
|
"*** Test Cases ***\n", |
|
"Valid Login\n", |
|
" Open Browser To Login Page\n", |
|
" Input Username demo\n", |
|
" Input Password mode\n", |
|
" Submit Credentials\n", |
|
" Welcome Page Should Be Open\n", |
|
" [Teardown] Close Browser\n", |
|
"\n", |
|
"*** Keywords ***\n", |
|
"Open Browser To Login Page\n", |
|
" Open Browser ${LOGIN URL} ${BROWSER}\n", |
|
" Title Should Be Login Page\n", |
|
"\n", |
|
"Input Username\n", |
|
" [Arguments] ${username}\n", |
|
" Input Text username_field ${username}\n", |
|
"\n", |
|
"Input Password\n", |
|
" [Arguments] ${password}\n", |
|
" Input Text password_field ${password}\n", |
|
"\n", |
|
"Submit Credentials\n", |
|
" Click Button login_button\n", |
|
"\n", |
|
"Welcome Page Should Be Open\n", |
|
" Title Should Be Welcome Page" |
|
] |
|
}, |
|
{ |
|
"cell_type": "code", |
|
"execution_count": null, |
|
"id": "78a7b507-e8f5-4dab-9d38-fb5396e92b42", |
|
"metadata": {}, |
|
"outputs": [ |
|
{ |
|
"ename": "", |
|
"evalue": "", |
|
"output_type": "error", |
|
"traceback": [ |
|
"\u001b[1;31mFailed to start the Kernel. \n", |
|
"Kernel Python 3.9.13 64-bit is not usable. Check the Jupyter output tab for more information. \n", |
|
"View Jupyter <a href='command:jupyter.viewOutput'>log</a> for further details." |
|
] |
|
} |
|
], |
|
"source": [] |
|
} |
|
], |
|
"metadata": { |
|
"kernelspec": { |
|
"display_name": "Python 3.9.13 64-bit", |
|
"language": "python", |
|
"name": "python3" |
|
}, |
|
"language_info": { |
|
"codemirror_mode": { |
|
"name": "ipython", |
|
"version": 3 |
|
}, |
|
"file_extension": ".py", |
|
"mimetype": "text/x-python", |
|
"name": "python", |
|
"nbconvert_exporter": "python", |
|
"pygments_lexer": "ipython3", |
|
"version": "3.9.13" |
|
}, |
|
"vscode": { |
|
"interpreter": { |
|
"hash": "b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e" |
|
} |
|
} |
|
}, |
|
"nbformat": 4, |
|
"nbformat_minor": 5 |
|
}
|
|
|