From the course: Robot Framework Test Automation: Level 1 (Selenium)

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Preview of the final solution

Preview of the final solution

So let's demo the final project. We'll have a look at the original versus the final. So as I mentioned, here's our original script. It's hard to understand the intent. And when you look at the test results, they are a direct representation of the steps, so they're equally hard to understand. One thing I would like to point out is that all of these steps are referencing the Selenium2Library directly. We'd like to move away from that approach. And something else I want to point out is that, the steps that we use to comprise this user must sign in to checkout test case, could be broken into subsets that represent multiple smaller test cases. So for instance, we could say, "User can search for products," and we would do the steps necessary for searching for a product. User can view a product. And notice in order to view a product, we've got to first search for a product. User can add product to cart. Again, we have to search view product, add it to our cart. So you can see all the…

Contents