3. And now it’s time to switch to GUI
●
C64 was old and games were hard
●
Arexx – script language
●
Amiga CLI
●
GNU with problems
4. 42
Answer to the Ultimate Question of Life,
the Universe, and Everything
5. What is a Robot Framework?
●
Open Source
●
Generic test automation framework
●
License
●
Editors
●
Python support
6. Why to use Robot
Framework?
●
High level keywords
●
Logging
●
Reports
●
Data driven test cases
●
Behavior-driven style test cases
●
Tagging
●
Easy to include in your continous integration system
●
Ubiquous language
8. Ubiquitous Language is the term Eric Evans
uses in Domain Driven Design for the practice of
building up a common, rigorous language
between developers and users. ... Evans makes
clear that using the ubiquitous language in
conversations with domain experts is an important
part of testing it, and hence the domain model.
9.
10. Who is an admin?
●
More Commands per sec
●
let’s make a robot – what could be wrong?
●
Reboot fix
●
Logs, logs everywhere …
●
Admins do nothing
14. Text, text, text ...
●
Linux as text processing system
●
Compilers, compilers and compilers compilers
●
Python - scripts
●
Robot Framework
●
Humanities – languages related science
●
Everymany knows computers
●
Natural language can be accurate
●
Natural Semantic Metalangue
●
We can copy all data to the cloud ...
18. *** Settings ***
library Impansible
library Collections
*** Test Cases ***
test 1
${x}= Setup localhost
log to console ${x}
${y}= get from dictionary ${x} ansible_facts
${h}= get from dictionary ${y} ansible_hostname
${z}= get from dictionary ${y} ansible_distribution
Should be Equal ${z} Ubuntu
Should Contain ${h} tester
test 2
${x}= apt localhost package=mtr state=present
${x}= get from dictionary ${x} invocation
${y}= get from dictionary ${x} module_args
${s}= get from dictionary ${y} state
Should be Equal ${s} present
test 3
${x}= apt localhost package=mtr state=absent
${x}= get from dictionary ${x} invocation
${y}= get from dictionary ${x} module_args
${s}= get from dictionary ${y} state
Should be Equal ${s} absent
test 4
${c}= get certificate localhost host=www.onet.pl port=443 proxy_host=10.1.1.1
${e}= get from dictionary ${c} expired
Should not be True ${e}
Impansible
20. *** Settings ***
Resource NSM.robot
Metadata Author Adam Przybyla
*** Test Cases ***
Test 1
Teraz jest tak: ja widzę webpage
Ja nie widzę słowa logged na webpage
Potem ja użyję słów credentials na webpage
Z tego powodu ja widzę słowa logged na webpage
Niedługo potem ja nie widzę webpage
Test 2
Teraz jest tak: ja widzę webpage
Ja nie widzę słowa logged na webpage
Potem ja użyję słów bad credentials na webpage
Z tego powodu ja nie widzę słowa logged na webpage
Niedługo potem ja nie widzę webpage
Test 3
Teraz jest tak: ja widzę webpage
Ja nie widzę słowa logged na webpage
Niedługo potem ja nie widzę webpage
21. *** Settings ***
Resource NSM.robot
Metadata Author Adam Przybyla <adam.przybyla@gmail.com>
*** Test Cases ***
Test 1
It is like this now: I see the webpage
I not see words logged on the webpage
then i use the words credentials on webpage
because of this: I see words logged on the webpage
after this i see the webpage no more
Test 2
It is like this now: I see the webpage
I not see words logged on the webpage
then i use the words bad credentials on webpage
because of this: I not see words logged on the webpage
after this i see the webpage no more
Test 3
It is like this now: I see the webpage
I not see words logged on the webpage
after this i see the webpage no more