From the course: Robot Framework Test Automation: Level 1 (Selenium)
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Apply skills: Part 2 - Selenium Tutorial
From the course: Robot Framework Test Automation: Level 1 (Selenium)
Apply skills: Part 2
So now I'll close up my terminal and jump back to my test case. And since we have all of these page object files, now's a good time to determine which of these steps are going to go into which of these page object files. And in addition to that, what kind of app keyword am I going to be calling from my script to invoke these various steps that are going to be encapsulated inside these page object files? So I will hit "Return" and tab, and use a comment to roughly type login. And again, tab, comment, ADD CUSTOMER. And then down here, tab, comment, LOG OUT. So we're going to go to the home page, we're going to log in. We're going to add a customer, which also includes this stuff. And of course, we're going to do our test verification right there, and then log out. And now it's occurring to me that knowing that we're heading in this direction of using all of these page object files so that we don't forget about it, we should go back into our App keyword file and Ctrl-C this, and paste it…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.