I'm new to python and I'm trying to learn the python robot framework, I have updated all the required plugin's, packages but when I'm executing the testcase it is throwing error module Object not found
. I have tried all the suggestions in the online but still facing the same error. can some one please help me in this.
Packages Installed
1.robotframework
2.robotframework-seleniumlibrary
3.selenium
Plugin in Pycharm
1.intellibot (Latest version)
2.robot framework Support
robot file
*** Settings ***
Library SeleniumLibrary
*** Test Cases ***
LoginTest
create webdriver chrome executable_path="C:UsersDELLDownloadschromedriver_win32_newchromedriver.exe"
go to https://google.com
*** Keywords ***
Console
C:UsersDELLPycharmProjectsRobotF2>robot Test2.robot
==============================================================================
Test2
==============================================================================
LoginTest | FAIL |
TypeError: 'module' object is not callable
------------------------------------------------------------------------------
Test2 | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Output: C:UsersDELLPycharmProjectsRobotF2output.xml
Log: C:UsersDELLPycharmProjectsRobotF2log.html
Report: C:UsersDELLPycharmProjectsRobotF2
eport.html
And one more thing is, I have python installed in appdata/roaming/python/python 39 path and in Program Files folder.. In Pycharm, I have interpreter have choosen the python of Program Files..but env variable target to roaming/python folder and all the ibstalled packages are loaded inside of roaming/Python
/python39/Lib/site-package folder, so does I need to set the interpreter path in pycharm to roaming python folder??
question from:
https://stackoverflow.com/questions/65850139/robot-framework-setup-is-not-working-in-pycharn 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…