From the course: Robot Framework Test Automation: Level 2

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Call the data manager

Call the data manager

- [Instructor] So next, we're going to call the Data Manager from our script to get a list of rows. So we know it's called Get CSV Data. We'll put this away for now. Open up our script, and instead of all these three test cases, I'm just going to create one brand new test here. And we'll call it "Should see correct error messages with invalid logins." And right off the bat, when I type DataManager, you can see I get the red squiggly lines, so up here in settings, we need to make sure that we have a reference to our DataManager file the same way we have a reference common file and our App keyword file. So I'm just going to go ahead and copy and paste that line. And change this to DataManager. I can collapse that settings section for now. And I'll say hey DataManage. As I recall, it was Get CSV Data. Double check that, yep. Get CSV Data. And as you recall, it's expecting a file path. So I put in two spaces there and instead of typing in a path here, what I'd rather do is jump up here…

Contents