Learning Robot Framework with Python on a Linux machine - part 2

 Home / Programming / Test and Automation / Learning Robot Framework with Python on a Linux machine

Day 1

Part 1

Learning Robot Framework with Python on a Linux machine - part 2

 goals for today:

1. to add one more test

2. to improve the formatting of the existing test



Adding new test:

Will test the login form.  This is a fake form, so whatever email that has some format xyz@abc.de with some sort of password you get redirected to the test@user.com's profile.

I would like to create two sets of tests - one to test the email field and one the password. For each I need a "happy path" test ( one happy path test will cover happy path for both fields), edge case and special cases and negative testing.

Happy path  : test@user.com + pass

edge case( length) : a@b.c + 1  ; !@#.$ + *

Negative - doesn't log you - a@b + 1

Negative validation errors : a@b.c + empty pass , empty email + 1, 

special cases : super long text ( copy/paste some long page from a book)