I’ve been a while trying to build different scripts with RF and now i realice that maybe the file/folder structure or the way i grupping keyword, variables or web locators maybe could be improved but i don’t really now how to do it.
Let me explain my project structure:
|__Test_Case_folder (only .robot files with TestCases)
|__Results_folder (report.html, log, etc…)
|__Locators_folder (just a py file with web locators to be used to identify web elements)
|__Variables_folder (a .resource file with all the variables that i need… users, logins, pass, environment, browser…)
|__Keywords__folder (a .resorce file with all the keywords that could be reused between TestCases)
Then inside each TestCase (in Settings) i call:
And then inside Variables.resource file (in Settings) i call:
So finally in Keyword.resource (in Settings) i call:
The point is… is there a better way to call each file or library so i can improve performance or fullfill the best practices in RF?