I am planning to use the .py variable file to store my locators.
I would like to retrieve these locators dynamically by identifying a key mentioned in other .py file (config_variables) which is placed in the same root structure but in different folder.
Hence, I imported the config_variables.py in locators.py and was planning to leverage get_variables function to include the merge/filter logic based on the key from config_variables.
When I import this locators.py variable file as Variables in the Resource File, it throws an error stating the “Module Not Found” which was imported in the locators.py file.
I don’t see any error in locators.py but Robot throws the error. What’s the reason for this and how can we solve this issue?
Please help. Thanks!
Bheem