Top Banner
by Siam Chamnan Kit Co., Ltd. and Odd-e (Thailand) Co, Ltd. SPRINT3R Acceptance Test and Acceptance-Test Driven Development with Robot Framework 1
15

Robot Framework :: Demo login application

May 06, 2015

Download

Technology

Workshop Robot Framework session at Agile Thailand 2014
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Robot Framework :: Demo login application

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

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 3: Robot Framework :: Demo login application

DemoGo to http://localhost:7272/html username = demopassword = mode

Page 4: Robot Framework :: Demo login application

Workshop• Create test case with Robot Framework

• Valid test case

4

Page 5: Robot Framework :: Demo login application

Example of Valid login

Page 6: Robot Framework :: Demo login application

Duplication

Page 7: Robot Framework :: Demo login application

Remove Duplication to Constants

Page 8: Robot Framework :: Demo login application

More Technical Detail

Page 9: Robot Framework :: Demo login application

Try to use high level language

Keywords

Page 10: Robot Framework :: Demo login application

Create keywords

Page 11: Robot Framework :: Demo login application

Split to Resource file

Page 12: Robot Framework :: Demo login application

Test case look better !!!

Page 13: Robot Framework :: Demo login application

Workshop• Create test case with Robot Framework

• Invalid test case

13

Page 14: Robot Framework :: Demo login application

Good Test Case

Page 15: Robot Framework :: Demo login application

Question ?

15