Not able to access the keywords in .robot file in one directory from other directory after creating python package. Although I am able to access methods of .py but not .robot file.
I have created Python package(which contains .robot test suite) so that I can reuse the keywords in that particular package in any other project by simply importing the Library anywhere I have successfully created and installed package(named as Resources which contains some .robot test suites and .py files). Now I want to use the keywords from 'Resources' package in some other Robot project. Here, problem is when I write below statement: Library Resources I am not able to use the keyword given in Resources package. But If I import that particular robot file, them I am able to access the keyword: e.g Resource ../../../../Documents/MyWorkspace/RobotFramework/Resources/PostLoginSearch.robot Here I do not want to import using above absolute path since it can be done without creating package also. So is it possible to use keywords by only importing Resources package. Also I have successfully created and installed "Resources" package and I could see the version also. I am able to call the python methods but unable to access the keyword in Resources .robot file after importing "Resources" package
And this "Resources" is in some other project
Aucun commentaire:
Enregistrer un commentaire