I'm trying to run the python code from the robot framework.
But sometimes it works fine and creating a folder in the location and sometimes it opening the python code in notepad instead of running the python code.
robot framework
*** Settings ****
Library Process
Library OperatingSystem
*** Variables ***
*** Test Cases ***
Start logonpad
OperatingSystem.run foldercreate.py
python code
import os
import pandas
os.mkdir("G:/NewFolder")
I have tried to restart the machine and tried it again then also facing the same issue.
Note: I need to know why it's running sometimes and opening the code at other times.