I want to call a keyword which should be executed prior to the start of any robot tests and that keyword should be run only once per entire project suite...
eg: Lets say there is a project suite called "ProjectSuite" which contains 4 test suite folders in it like below
testSuite1
TestSuite2
TestSuite3
And Now there is keyword to update an admin account ,I want to define that keyword in a file and make it as a global one .Also that keyword should be executed first before any of the testsuite folders(testSuite1,TestSuite2,etc) start execution.
If I pybot testSuite1 ,That keyword should be executed first
If I run TestSuite2, That keyword should be executed first and so on..
If I run ProjectSuite , Then that keyword should be executed only once and should not be run again and again for children testSuites..
For this scenario I have an idea like below
Will write up a keyword and place it in global resource folder
Then call that keyword in _init_
file under each TestSuites(TestSuite1,TestSuite2..etc)
But the Keyword runs for every suite which is not a good idea
So if any one have a better idea please let me know..