I decided to copy exactly the tutorial found here but somehow when i run it i keep getting the error
"[ ERROR ] Error in file 'C:\Users\path\to\tests': Importing test library 'ExampleLibrary' failed: ModuleNotFoundError: No module named 'ExampleLibrary' "
Now i tried both with the .py extension and without, just in case, but for some reason it doesn't work. Both files are in the same folder.
I have python 3 installed. I only copied the .tsv (renamed to a .robot) and .py files.
I don't understand why it doesn't work. If i work with only .robot files everything is fine.
Library MyLibrary.py
within the*** Settings ***
section of the.robot
file while the name of the class within the is ALSO exactly MyLibrary, i.e. - within theMyLibrary.py
file:class MyLibrary:....
- Guy Avraham