Robot Framework :: Demo login application
15
by Siam Chamnan Kit Co., Ltd. and Odd-e (Thailand) Co, Ltd. SPRINT3R Acceptance Test and Acceptance-Test Driven Development with Robot Framework 1
-
Upload
somkiat-puisungnoen -
Category
Technology
-
view
1.018 -
download
3
description
Workshop Robot Framework session at Agile Thailand 2014
Transcript of Robot Framework :: Demo login application
![Page 1: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/1.jpg)
by Siam Chamnan Kit Co., Ltd. and Odd-e (Thailand) Co, Ltd.SPRINT3R
Acceptance Test and
Acceptance-Test Driven Development
with Robot Framework
1
![Page 2: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/2.jpg)
Login Demo
Run server with python in folder demo app$python server.py start
2
Demo application starting on port 7272
https://github.com/rtomac/robotframework-selenium2library
![Page 4: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/4.jpg)
Workshop• Create test case with Robot Framework
• Valid test case
4
![Page 5: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/5.jpg)
Example of Valid login
![Page 6: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/6.jpg)
Duplication
![Page 7: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/7.jpg)
Remove Duplication to Constants
![Page 8: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/8.jpg)
More Technical Detail
![Page 9: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/9.jpg)
Try to use high level language
Keywords
![Page 10: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/10.jpg)
Create keywords
![Page 11: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/11.jpg)
Split to Resource file
![Page 12: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/12.jpg)
Test case look better !!!
![Page 13: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/13.jpg)
Workshop• Create test case with Robot Framework
• Invalid test case
13
![Page 14: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/14.jpg)
Good Test Case
![Page 15: Robot Framework :: Demo login application](https://reader031.fdocuments.net/reader031/viewer/2022020115/554a0d94b4c9058c5d8b475a/html5/thumbnails/15.jpg)
Question ?
15